|
20 | 20 | "dvdoug/behat-code-coverage": "^5.3.2", |
21 | 21 | "ergebnis/composer-normalize": "^2.42.0", |
22 | 22 | "friendsofphp/php-cs-fixer": "^3.49.0", |
| 23 | + "phpstan/extension-installer": "^1.3.1", |
| 24 | + "phpstan/phpstan": "^1.10.59", |
| 25 | + "phpstan/phpstan-deprecation-rules": "^1.0", |
| 26 | + "phpstan/phpstan-phpunit": "^1.3.16", |
| 27 | + "phpstan/phpstan-strict-rules": "^1.5.2", |
23 | 28 | "phpunit/phpunit": "^10.5.10", |
24 | 29 | "rector/rector": "^1.0.1", |
| 30 | + "spaze/phpstan-disallowed-calls": "^3.1", |
25 | 31 | "squizlabs/php_codesniffer": "^3.9.0" |
26 | 32 | }, |
27 | 33 | "minimum-stability": "dev", |
|
39 | 45 | "config": { |
40 | 46 | "allow-plugins": { |
41 | 47 | "dealerdirect/phpcodesniffer-composer-installer": true, |
42 | | - "ergebnis/composer-normalize": true |
| 48 | + "ergebnis/composer-normalize": true, |
| 49 | + "phpstan/extension-installer": true |
43 | 50 | } |
44 | 51 | }, |
45 | 52 | "scripts": { |
46 | 53 | "ci:composer:normalize": "@composer normalize --no-check-lock --dry-run", |
47 | 54 | "ci:php:php-cs-fixer": "vendor/bin/php-cs-fixer fix -v --dry-run --diff", |
48 | | - "ci:tests:acceptance": "XDEBUG_MODE=coverage vendor/bin/behat --no-colors --no-snippets --format junit --out reports", |
49 | | - "ci:tests:unit": "vendor/bin/phpunit --colors=never", |
| 55 | + "ci:php:stan": "vendor/bin/phpstan analyse --no-progress", |
50 | 56 | "ci:rector": "vendor/bin/rector process --dry-run", |
| 57 | + "ci:tests:acceptance": "vendor/bin/behat --no-colors --no-snippets --format junit --out reports", |
| 58 | + "ci:tests:unit": "vendor/bin/phpunit --no-coverage --colors=never", |
51 | 59 | "fix:composer:normalize": "@composer normalize --no-check-lock", |
52 | 60 | "fix:php:php-cs-fixer": "vendor/bin/php-cs-fixer fix", |
53 | 61 | "fix:rector": "vendor/bin/rector process", |
54 | | - "local:clean": "rm -Rf reports", |
55 | | - "local:tests:acceptance": "XDEBUG_MODE=coverage vendor/bin/behat --colors --no-snippets", |
56 | | - "local:tests:unit": "vendor/bin/phpunit --colors=always" |
| 62 | + "local:clean": "rm -Rf build", |
| 63 | + "local:tests:acceptance": "vendor/bin/behat --colors --no-snippets", |
| 64 | + "local:tests:unit": "vendor/bin/phpunit --no-coverage", |
| 65 | + "local:tests:unit-coverage": "vendor/bin/phpunit --coverage", |
| 66 | + "phpstan:baseline": "vendor/bin/phpstan --generate-baseline --allow-empty-baseline" |
57 | 67 | } |
58 | 68 | } |
0 commit comments