diff options
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 47 |
1 files changed, 27 insertions, 20 deletions
diff --git a/composer.json b/composer.json index f22bc96..e27641f 100644 --- a/composer.json +++ b/composer.json @@ -10,27 +10,27 @@ "issues": "https://github.com/llaville/php-compatinfo/issues" }, "require": { - "php": "~8.0 || ~8.1 || ~8.2 || ~8.3", + "php": "^8.1", "ext-json": "*", "ext-pcre": "*", "ext-spl": "*", - "bartlett/php-compatinfo-db": "^5.12 || ^6.4.2", - "bartlett/sarif-php-sdk": "^1.0", + "bartlett/php-compatinfo-db": "^6.4.2", + "bartlett/sarif-php-sdk": "^2.1", "composer-runtime-api": "^2.1", - "doctrine/collections": "^1.4", + "doctrine/collections": "^2.1", "nikic/php-parser": "^5.0", "psr/log": "^3.0", - "ramsey/uuid": "^3.9 || ^4.0", - "symfony/config": "^5.4 || ^6.0 || ^7.0", - "symfony/console": "^5.4 || ^6.0 || ^7.0", - "symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0", - "symfony/finder": "^5.4 || ^6.0 || ^7.0", - "symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0", - "symfony/serializer": "^5.4 || ^6.0 || ^7.0", - "symfony/stopwatch": "^5.4 || ^6.0 || ^7.0" + "ramsey/uuid": "^4.0", + "symfony/config": "^6.4 || ^7.0", + "symfony/console": "^6.4 || ^7.0", + "symfony/event-dispatcher": "^6.4 || ^7.0", + "symfony/finder": "^6.4 || ^7.0", + "symfony/dependency-injection": "^6.4 || ^7.0", + "symfony/serializer": "^6.4 || ^7.0", + "symfony/stopwatch": "^6.4 || ^7.0" }, "require-dev": { - "symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0", + "symfony/framework-bundle": "^6.4 || ^7.0", "bamarni/composer-bin-plugin": "^1.8" }, "authors": [ @@ -64,11 +64,14 @@ "optimize-autoloader": true, "allow-plugins": { "bamarni/composer-bin-plugin": true + }, + "platform": { + "php": "8.1.99" } }, "extra": { "branch-alias": { - "dev-master": "7.1.x-dev" + "dev-master": "7.2.x-dev" }, "bamarni-bin": { "bin-links": true, @@ -78,11 +81,15 @@ }, "scripts": { "bin": "echo 'bin not installed'", - "post-update-cmd": [ - "@composer bin all update --ansi" - ], - "post-install-cmd": [ - "@composer bin all install --ansi" - ] + "code:check": "vendor/bin/phpstan analyse --configuration .github/linters/phpstan.neon.dist --ansi --verbose", + "code:lint": "vendor/bin/phplint --configuration .github/linters/.phplint.yml --verbose --progress=indicator --ansi", + "style:check": "vendor/bin/phpcs --standard=.github/linters/.phpcs.xml.dist --warning-severity=0 --colors", + "tests:unit": "vendor/bin/phpunit --configuration phpunit.xml.dist" + }, + "scripts-descriptions" : { + "code:check": "Run PHPStan code analysis on project source code", + "code:lint": "Run PHPLint on project source code", + "style:check": "Run PHP CodeSniffer on project source code", + "tests:unit": "Run unit tests" } } |