summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-12-08 08:12:01 +0100
committerRemi Collet <remi@php.net>2023-12-08 08:12:01 +0100
commitb56feeac3ccfd780b2e444730350d3dabec9d05b (patch)
treef43069292c4def2c1b6ce3564ac93327a49fbde9 /composer.json
parent4d7b60e3b9e53dca81e69b3db26f4f88f3bb3e8f (diff)
update to 1.18.0
run test suite with phpunit8, phpunit9 and phpunit10
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json20
1 files changed, 15 insertions, 5 deletions
diff --git a/composer.json b/composer.json
index 5a27095..1f4bff1 100644
--- a/composer.json
+++ b/composer.json
@@ -1,7 +1,7 @@
{
"name": "phpspec/prophecy",
"description": "Highly opinionated mocking framework for PHP 5.3+",
- "keywords": ["Mock", "Stub", "Dummy", "Double", "Fake", "Spy"],
+ "keywords": ["Mock", "Stub", "Dummy", "Double", "Fake", "Spy", "dev"],
"homepage": "https://github.com/phpspec/prophecy",
"type": "library",
"license": "MIT",
@@ -18,17 +18,17 @@
],
"require": {
- "php": "^7.2 || 8.0.* || 8.1.* || 8.2.*",
+ "php": "^7.2 || 8.0.* || 8.1.* || 8.2.* || 8.3.*",
"phpdocumentor/reflection-docblock": "^5.2",
- "sebastian/comparator": "^3.0 || ^4.0",
+ "sebastian/comparator": "^3.0 || ^4.0 || ^5.0",
"doctrine/instantiator": "^1.2 || ^2.0",
- "sebastian/recursion-context": "^3.0 || ^4.0"
+ "sebastian/recursion-context": "^3.0 || ^4.0 || ^5.0"
},
"require-dev": {
"phpspec/phpspec": "^6.0 || ^7.0",
"phpstan/phpstan": "^1.9",
- "phpunit/phpunit": "^8.0 || ^9.0"
+ "phpunit/phpunit": "^8.0 || ^9.0 || ^10.0"
},
"autoload": {
@@ -44,6 +44,16 @@
}
},
+ "scripts": {
+ "phpstan": "phpstan analyse",
+ "phpstan:baseline": "phpstan analyse --generate-baseline"
+ },
+
+ "scripts-descriptions": {
+ "phpstan": "Run PHPStan analysis",
+ "phpstan:baseline": "Dump PHPStan baseline file - use only for updating, do not add new errors when possible"
+ },
+
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"