summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json63
1 files changed, 37 insertions, 26 deletions
diff --git a/composer.json b/composer.json
index 19642a0..80beece 100644
--- a/composer.json
+++ b/composer.json
@@ -10,29 +10,28 @@
"issues": "https://github.com/llaville/php-compatinfo/issues"
},
"require": {
- "php": "^7.4 || ^8.0",
+ "php": "^8.1",
"ext-json": "*",
- "ext-libxml": "*",
"ext-pcre": "*",
"ext-spl": "*",
- "bartlett/php-compatinfo-db": "^4.8",
- "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",
- "nikic/php-parser": "^4.10",
- "psr/log": "^1.0",
- "ramsey/uuid": "^3.9 || ^4.0",
- "symfony/config": "^4.4 || ^5.0",
- "symfony/console": "^4.4 || ^5.0",
- "symfony/event-dispatcher": "^4.4 || ^5.0",
- "symfony/finder": "^4.4 || ^5.0",
- "symfony/dependency-injection": "^4.4 || ^5.0",
- "symfony/serializer": "^4.4 || ^5.0",
- "symfony/stopwatch": "^4.4 || ^5.0"
+ "doctrine/collections": "^2.1",
+ "nikic/php-parser": "^5.0",
+ "psr/log": "^3.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": {
- "bartlett/graph-uml": "^1.2",
- "symfony/framework-bundle": "^4.4 || ^5.0"
+ "symfony/framework-bundle": "^6.4 || ^7.0",
+ "bamarni/composer-bin-plugin": "^1.8"
},
"authors": [
{
@@ -52,30 +51,42 @@
"autoload": {
"psr-4": {
"Bartlett\\CompatInfo\\": "src/"
- },
- "files": ["src/Infrastructure/Framework/Symfony/Polyfill.php"]
+ }
},
"autoload-dev": {
"psr-4": {
"Bartlett\\CompatInfo\\Tests\\": "tests/"
}
},
- "minimum-stability": "dev",
"prefer-stable": true,
"config": {
- "platform": {
- "php": "7.4.0"
- },
"sort-packages": true,
"optimize-autoloader": true,
"allow-plugins": {
- "cweagans/composer-patches": true
+ "bamarni/composer-bin-plugin": true
}
},
"extra": {
- "enable-patching": true,
"branch-alias": {
- "dev-master": "6.5.x-dev"
+ "dev-master": "7.2.x-dev"
+ },
+ "bamarni-bin": {
+ "bin-links": true,
+ "target-directory": "vendor-bin",
+ "forward-command": true
}
+ },
+ "scripts": {
+ "bin": "echo 'bin not installed'",
+ "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"
}
}