|
25 | 25 | }, |
26 | 26 | "require-dev": { |
27 | 27 | "bamarni/composer-bin-plugin": "^1.3", |
28 | | - "captainhook/plugin-composer": "^4.0", |
| 28 | + "captainhook/plugin-composer": "^5.0", |
29 | 29 | "mockery/mockery": "^1.0" |
30 | 30 | }, |
31 | 31 | "config": { |
|
43 | 43 | } |
44 | 44 | }, |
45 | 45 | "scripts": { |
46 | | - "post-install-cmd": ["@composer bin all install --ansi"], |
47 | | - "post-update-cmd": ["@composer bin all update --ansi"], |
48 | 46 | "phpstan": "vendor/bin/phpstan analyse", |
49 | | - "phpstan_base": "vendor/bin/phpstan analyse --configuration phpstan_base.neon --error-format baselineNeon > phpstan-baseline.neon", |
50 | | - "psalm": "vendor/bin/psalm --show-info=false", |
| 47 | + "phpstan_base": "vendor/bin/phpstan analyse --generate-baseline", |
| 48 | + "phpstan_clear": "vendor/bin/phpstan clear-result-cache", |
| 49 | + "psalm": "vendor/bin/psalm --show-info=false --diff", |
| 50 | + "psalm_full": "vendor/bin/psalm --show-info=false", |
51 | 51 | "psalm_base": "vendor/bin/psalm --set-baseline=psalm-baseline.xml", |
52 | 52 | "phpunit": "vendor/bin/phpunit --colors=always", |
53 | 53 | "phpunit_clover": "vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml", |
54 | | - "phpcs": "vendor/bin/phpcs --standard=ruleset.xml --extensions=php --cache src tests", |
55 | | - "phpcsfix": "vendor/bin/phpcbf --standard=ruleset.xml --extensions=php --cache src tests", |
56 | 54 | "codecoverage": "vendor/bin/phpunit --coverage-html tests/_reports", |
| 55 | + "phpcs": "vendor/bin/phpcs --standard=ruleset.xml --extensions=php --cache=.phpcs-cache --colors src tests", |
| 56 | + "phpcsfix": "vendor/bin/phpcbf --standard=ruleset.xml --extensions=php --cache=.phpcs-cache src tests", |
57 | 57 | "binupdate": "@composer bin all update --ansi", |
58 | 58 | "bininstall": "@composer bin all install --ansi" |
59 | 59 | } |
|
0 commit comments