|
20 | 20 | } |
21 | 21 | ], |
22 | 22 | "require": { |
23 | | - "php": "^7.2", |
24 | | - "symfony/dependency-injection": "^4.0|^5.0", |
| 23 | + "php": "^7.4", |
| 24 | + "symfony/dependency-injection": "^5.0", |
25 | 25 | "squirrelphp/strings": "^0.8.2" |
26 | 26 | }, |
27 | 27 | "require-dev": { |
28 | 28 | "bamarni/composer-bin-plugin": "^1.3", |
29 | | - "captainhook/plugin-composer": "^4.0|^5.0", |
| 29 | + "captainhook/plugin-composer": "^5.0", |
30 | 30 | "doctrine/annotations": "^1.5", |
31 | | - "symfony/form": "^4.0|^5.0", |
32 | | - "symfony/twig-bundle": "^4.0|^5.0" |
| 31 | + "symfony/form": "^5.0", |
| 32 | + "symfony/twig-bundle": "^5.0" |
33 | 33 | }, |
34 | 34 | "suggest": { |
35 | 35 | "squirrelphp/strings-bundle": "Symfony integration of squirrelphp/strings" |
|
48 | 48 | } |
49 | 49 | }, |
50 | 50 | "scripts": { |
51 | | - "post-install-cmd": ["@composer bin all install --ansi"], |
52 | | - "post-update-cmd": ["@composer bin all update --ansi"], |
53 | 51 | "phpstan": "vendor/bin/phpstan analyse", |
54 | | - "phpstan_base": "vendor/bin/phpstan analyse --configuration phpstan_base.neon --error-format baselineNeon > phpstan-baseline.neon", |
55 | | - "psalm": "vendor/bin/psalm --show-info=false", |
| 52 | + "phpstan_base": "vendor/bin/phpstan analyse --generate-baseline", |
| 53 | + "phpstan_clear": "vendor/bin/phpstan clear-result-cache", |
| 54 | + "psalm": "vendor/bin/psalm --show-info=false --diff", |
| 55 | + "psalm_full": "vendor/bin/psalm --show-info=false", |
56 | 56 | "psalm_base": "vendor/bin/psalm --set-baseline=psalm-baseline.xml", |
57 | 57 | "phpunit": "vendor/bin/phpunit --colors=always", |
58 | 58 | "phpunit_clover": "vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml", |
59 | | - "phpcs": "vendor/bin/phpcs --standard=ruleset.xml --extensions=php --cache src tests", |
60 | | - "phpcsfix": "vendor/bin/phpcbf --standard=ruleset.xml --extensions=php --cache src tests", |
61 | 59 | "codecoverage": "vendor/bin/phpunit --coverage-html tests/_reports", |
| 60 | + "phpcs": "vendor/bin/phpcs --standard=ruleset.xml --extensions=php --cache=.phpcs-cache --colors src tests", |
| 61 | + "phpcsfix": "vendor/bin/phpcbf --standard=ruleset.xml --extensions=php --cache=.phpcs-cache src tests", |
62 | 62 | "binupdate": "@composer bin all update --ansi", |
63 | 63 | "bininstall": "@composer bin all install --ansi" |
64 | 64 | } |
|
0 commit comments