|
38 | 38 | "jangregor/phpstan-prophecy": "^0.8.0", |
39 | 39 | "laminas/laminas-filter": "^2.9", |
40 | 40 | "phpspec/prophecy-phpunit": "^2.0", |
41 | | - "phpstan/phpstan": "^0.12.33", |
42 | | - "phpstan/phpstan-strict-rules": "^0.12.4", |
43 | | - "phpunit/phpunit": "^9.2.6", |
44 | | - "prooph/php-cs-fixer-config": "^0.3", |
| 41 | + "phpunit/phpunit": "^9.5.0", |
| 42 | + "prooph/php-cs-fixer-config": "^v0.4.0", |
| 43 | + "psalm/plugin-phpunit": "^0.15.0", |
45 | 44 | "roave/security-advisories": "dev-master", |
46 | | - "squizlabs/php_codesniffer": "^3.4" |
| 45 | + "vimeo/psalm": "^4.4" |
47 | 46 | }, |
48 | 47 | "suggest": { |
49 | 48 | "laminas/laminas-filter": "If you want to use the FilterFactory" |
|
54 | 53 | "check": [ |
55 | 54 | "@cs", |
56 | 55 | "@test", |
57 | | - "@analyse" |
| 56 | + "@static-analysis" |
58 | 57 | ], |
59 | | - "cs": "php-cs-fixer fix src -v --diff --dry-run", |
60 | | - "cs-fix": "php-cs-fixer fix src -v --diff", |
61 | | - "test": "vendor/bin/phpunit", |
62 | | - "analyse": "php vendor/bin/phpstan.phar analyse --no-interaction" |
| 58 | + "cs": "php-cs-fixer fix -v --diff --dry-run", |
| 59 | + "cs-fix": "php-cs-fixer fix -v --diff", |
| 60 | + "test": "phpunit --colors=always", |
| 61 | + "test-coverage": "phpunit --colors=always --coverage-clover clover.xml", |
| 62 | + "static-analysis": "psalm --shepherd --stats" |
63 | 63 | }, |
64 | 64 | "config": { |
65 | 65 | "sort-packages": true, |
|
0 commit comments