|
20 | 20 | } |
21 | 21 | ], |
22 | 22 | "require": { |
23 | | - "php": ">=8.1", |
24 | | - "symfony/dependency-injection": "^5.0|^6.0|^7.0", |
| 23 | + "php": ">=8.2", |
| 24 | + "symfony/dependency-injection": "^7.0", |
25 | 25 | "squirrelphp/debug": "^2.0", |
26 | | - "squirrelphp/strings": "^1.0" |
| 26 | + "squirrelphp/strings": "^2.0" |
27 | 27 | }, |
28 | 28 | "require-dev": { |
29 | | - "bamarni/composer-bin-plugin": "^1.3", |
30 | | - "captainhook/plugin-composer": "^5.0", |
31 | | - "phpunit/phpunit": "^10.0", |
32 | | - "symfony/form": "^5.0|^6.0|^7.0", |
33 | | - "symfony/twig-bundle": "^5.0|^6.0|^7.0" |
| 29 | + "captainhook/captainhook-phar": "^5.0", |
| 30 | + "captainhook/hook-installer": "^1.0", |
| 31 | + "phpunit/phpunit": "^11.2", |
| 32 | + "symfony/finder": "^7.0", |
| 33 | + "symfony/form": "^7.0", |
| 34 | + "symfony/process": "^7.0", |
| 35 | + "symfony/twig-bundle": "^7.0" |
34 | 36 | }, |
35 | 37 | "suggest": { |
36 | 38 | "squirrelphp/strings-bundle": "Symfony integration of squirrelphp/strings" |
37 | 39 | }, |
38 | 40 | "config": { |
39 | 41 | "sort-packages": false, |
40 | 42 | "allow-plugins": { |
41 | | - "bamarni/composer-bin-plugin": true, |
42 | | - "captainhook/plugin-composer": true |
| 43 | + "captainhook/captainhook-phar": true, |
| 44 | + "captainhook/hook-installer": true |
| 45 | + } |
| 46 | + }, |
| 47 | + "extra": { |
| 48 | + "captainhook": { |
| 49 | + "config": "tools/captainhook.json" |
43 | 50 | } |
44 | 51 | }, |
45 | 52 | "autoload": { |
|
53 | 60 | } |
54 | 61 | }, |
55 | 62 | "scripts": { |
56 | | - "phpstan": "vendor/bin/phpstan analyse", |
57 | | - "phpstan_full": "vendor/bin/phpstan clear-result-cache && vendor/bin/phpstan analyse", |
58 | | - "phpstan_base": "vendor/bin/phpstan analyse --generate-baseline", |
59 | | - "psalm": "vendor/bin/psalm --show-info=false", |
60 | | - "psalm_full": "vendor/bin/psalm --clear-cache && vendor/bin/psalm --show-info=false", |
61 | | - "psalm_base": "vendor/bin/psalm --set-baseline=psalm-baseline.xml", |
62 | | - "phpunit": "vendor/bin/phpunit --colors=always", |
63 | | - "phpunit_clover": "vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml", |
64 | | - "coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html tests/_reports", |
65 | | - "phpcs": "vendor/bin/phpcs --standard=ruleset.xml --extensions=php --cache=.phpcs-cache --colors src tests", |
66 | | - "phpcsfix": "vendor/bin/phpcbf --standard=ruleset.xml --extensions=php --cache=.phpcs-cache src tests", |
67 | | - "binupdate": "@composer bin all update --ansi", |
68 | | - "bininstall": "@composer bin all install --ansi" |
| 63 | + "phpstan": "vendor-bin/phpstan/vendor/bin/phpstan analyse --configuration=tools/phpstan.neon", |
| 64 | + "phpstan_full": "rm -Rf tools/cache/phpstan && vendor-bin/phpstan/vendor/bin/phpstan analyse --configuration=tools/phpstan.neon", |
| 65 | + "phpstan_base": "vendor-bin/phpstan/vendor/bin/phpstan analyse --configuration=tools/phpstan.neon --generate-baseline=tools/phpstan-baseline.php", |
| 66 | + "psalm": "vendor-bin/psalm/vendor/bin/psalm --config=tools/psalm.xml --show-info=false", |
| 67 | + "psalm_full": "vendor-bin/psalm/vendor/bin/psalm --config=tools/psalm.xml --clear-cache && vendor-bin/psalm/vendor/bin/psalm --config=tools/psalm.xml --show-info=false", |
| 68 | + "psalm_base": "vendor-bin/psalm/vendor/bin/psalm --config=tools/psalm.xml --set-baseline=tools/psalm-baseline.xml", |
| 69 | + "phpunit": "vendor/bin/phpunit --configuration=tools/phpunit.xml.dist --colors=always", |
| 70 | + "phpunit_clover": "vendor/bin/phpunit --configuration=tools/phpunit.xml.dist --coverage-text --coverage-clover build/logs/clover.xml", |
| 71 | + "coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --configuration=tools/phpunit.xml.dist --coverage-html=tests/_reports", |
| 72 | + "phpcs": "vendor-bin/phpcs/vendor/bin/phpcs --standard=tools/ruleset.xml --extensions=php --cache=tools/cache/.phpcs-cache --colors src tests", |
| 73 | + "phpcs_diff": "vendor-bin/phpcs/vendor/bin/phpcs -s --standard=tools/ruleset.xml --extensions=php --cache=tools/cache/.phpcs-cache --colors src tests", |
| 74 | + "phpcs_fix": "vendor-bin/phpcs/vendor/bin/phpcbf --standard=tools/ruleset.xml --extensions=php --cache=tools/cache/.phpcs-cache --colors src tests", |
| 75 | + "binupdate": "bin/vendorbin update", |
| 76 | + "binoutdated": "bin/vendorbin outdated" |
69 | 77 | } |
70 | 78 | } |
0 commit comments