diff options
author | Remi Collet <remi@remirepo.net> | 2025-10-20 06:32:54 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-10-20 06:32:54 +0200 |
commit | 3eb6473ede26a434955af108f46940e7a26a1a15 (patch) | |
tree | 3c3ea43f6a0109498b8e15af09d21b3a71d9ecdb /composer.json | |
parent | 10f94a8454fa353b3f232fbbdc210f8d629a12ab (diff) |
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/composer.json b/composer.json index ec2783a..fce62f6 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,6 @@ "fidry/cpu-core-counter": "^1.3", "react/child-process": "^0.6.6", "react/event-loop": "^1.5", - "react/promise": "^3.3", "react/socket": "^1.16", "react/stream": "^1.4", "sebastian/diff": "^4.0.6 || ^5.1.1 || ^6.0.2 || ^7.0", @@ -96,9 +95,10 @@ "post-autoload-dump": [ "@install-tools" ], + "analyse-deps": "@php dev-tools/vendor/bin/composer-dependency-analyser", "auto-review": [ "Composer\\Config::disableProcessTimeout", - "paraunit run --testsuite auto-review" + "@php ./vendor/bin/paraunit run --testsuite auto-review" ], "cs:check": "@php php-cs-fixer check --verbose --diff", "cs:fix": "@php php-cs-fixer fix", @@ -108,7 +108,7 @@ ], "docs": "@php dev-tools/doc.php", "infection": "@test:mutation", - "install-tools": "@composer --working-dir=dev-tools install", + "install-tools": "./dev-tools/install.sh", "mess-detector": "@php dev-tools/vendor/bin/phpmd . ansi dev-tools/mess-detector/phpmd.xml --exclude vendor/*,dev-tools/vendor/*,dev-tools/phpstan/*,tests/Fixtures/*", "normalize": [ "@composer normalize --working-dir=dev-tools --dry-run ../composer.json", @@ -133,25 +133,26 @@ "@static-analysis", "@test" ], - "require-checker": "@php dev-tools/vendor/bin/composer-require-checker check composer.json --config-file .composer-require-checker.json", "sa": "@static-analysis", "self-check": [ "./dev-tools/check_file_permissions.sh", "./dev-tools/check_trailing_spaces.sh", + "./dev-tools/check_shell_scripts.sh", "@composer dump-autoload --dry-run --optimize --strict-psr", "@normalize", - "@unused-deps", - "@require-checker", + "@analyse-deps", "@auto-review" ], "static-analysis": [ "@cs:check", "@phpstan", + "@php-compatibility", "@mess-detector" ], "test": "@test:all", "test:all": [ "@test:unit", + "@test:short-open-tag", "@test:integration" ], "test:coverage": [ @@ -160,7 +161,7 @@ ], "test:integration": [ "Composer\\Config::disableProcessTimeout", - "paraunit run --testsuite integration" + "@php ./vendor/bin/paraunit run --testsuite integration" ], "test:mutation": [ "Composer\\Config::disableProcessTimeout", @@ -172,15 +173,15 @@ ], "test:smoke": [ "Composer\\Config::disableProcessTimeout", - "paraunit run --testsuite smoke" + "@php ./vendor/bin/paraunit run --testsuite smoke" ], "test:unit": [ "Composer\\Config::disableProcessTimeout", - "paraunit run --testsuite unit" - ], - "unused-deps": "@php dev-tools/vendor/bin/composer-unused --excludePackage=composer/xdebug-handler" + "@php ./vendor/bin/paraunit run --testsuite unit" + ] }, "scripts-descriptions": { + "analyse-deps": "Analyse Composer dependencies", "auto-review": "Execute Auto-review", "cs:check": "Check coding standards", "cs:fix": "Fix coding standards", @@ -197,7 +198,6 @@ "post-autoload-dump": "Run additional tasks after installing/updating main dependencies", "qa": "Alias for 'quality-assurance'", "quality-assurance": "Run QA suite", - "require-checker": "Verifies if codebase does not contain soft dependencies", "sa": "Alias for 'static-analysis'", "self-check": "Run set of self-checks ensuring repository's validity", "static-analysis": "Run static analysis", @@ -208,7 +208,6 @@ "test:mutation": "Run mutation tests", "test:short-open-tag": "Run tests with \"short_open_tag\" enabled", "test:smoke": "Run Smoke tests", - "test:unit": "Run Unit tests", - "unused-deps": "Verifies if app has dependencies that are not used" + "test:unit": "Run Unit tests" } } |