|
27 | 27 | } |
28 | 28 | ], |
29 | 29 | "require": { |
30 | | - "php": "^7.3", |
| 30 | + "php": "^7.3|^8.0", |
31 | 31 | "ext-json": "*", |
32 | 32 | "phlak/config": "^7.0", |
33 | | - "symfony/console": "^4.0|^5.0", |
34 | | - "thecodingmachine/safe": "^1.0" |
| 33 | + "symfony/console": "^4.0|^5.0" |
35 | 34 | }, |
36 | 35 | "require-dev": { |
37 | 36 | "friendsofphp/php-cs-fixer": "^2.16", |
38 | 37 | "infection/infection": "^0.18.2", |
39 | 38 | "overtrue/phplint": "^1.2", |
40 | | - "phan/phan": "^2.4", |
| 39 | + "phan/phan": "^4.0", |
41 | 40 | "phpstan/phpstan": "^0.12.7", |
42 | | - "phpunit/phpunit": "^8.0", |
43 | | - "rector/rector": "^0.6.13", |
| 41 | + "phpunit/phpunit": "^9.0", |
44 | 42 | "rregeer/phpunit-coverage-check": "^0.3.1", |
45 | 43 | "squizlabs/php_codesniffer": "^3.5", |
46 | | - "thecodingmachine/phpstan-safe-rule": "^1.0", |
47 | 44 | "vimeo/psalm": "^3.8" |
48 | 45 | }, |
49 | 46 | "bin": [ |
|
61 | 58 | }, |
62 | 59 | "scripts": { |
63 | 60 | "phpunit": "vendor/bin/phpunit", |
64 | | - "infection": "vendor/bin/infection", |
65 | | - "infection-ci": "XDEBUG_MODE=coverage vendor/bin/infection", |
| 61 | + "phpunit-ci": "vendor/bin/phpunit && vendor/bin/coverage-check build/coverage/clover.xml 100", |
| 62 | + "infection": [ |
| 63 | + "phpunit", |
| 64 | + "vendor/bin/infection --coverage=build/coverage" |
| 65 | + ], |
| 66 | + "infection-ci": [ |
| 67 | + "phpunit", |
| 68 | + "XDEBUG_MODE=coverage vendor/bin/infection --coverage=build/coverage --min-msi=100 --min-covered-msi=100" |
| 69 | + ], |
66 | 70 | "phpstan": "vendor/bin/phpstan analyse src --level max", |
67 | 71 | "psalm": "vendor/bin/psalm src", |
68 | 72 | "phplint": "vendor/bin/phplint src", |
|
71 | 75 | "php-cbf": "vendor/bin/phpcbf src --standard=PSR1,PSR2,PSR12", |
72 | 76 | "php-cs": "vendor/bin/phpcs src --standard=PSR1,PSR2,PSR12", |
73 | 77 | "phan": "vendor/bin/phan --allow-polyfill-parser src", |
74 | | - "rector-safe": "vendor/bin/rector process src/ --config vendor/thecodingmachine/safe/rector-migrate-0.6.yml", |
75 | 78 | "docker-build": "docker build -t converter ." |
76 | 79 | }, |
77 | 80 | "config": { |
|
0 commit comments