|
19 | 19 | "require": {
|
20 | 20 | "ext-curl": "*",
|
21 | 21 | "ext-json": "*",
|
22 |
| - "chevere/chevere": "^3.1", |
23 |
| - "chevere/http": "^0.2", |
24 |
| - "chevere/throwable-handler": "^0.10.x-dev", |
25 |
| - "chevere/trace": "^0.8", |
26 |
| - "chevere/var-dump": "^0.8", |
| 22 | + "chevere/chevere": "^3.2", |
| 23 | + "chevere/http": "^0.3", |
| 24 | + "chevere/throwable-handler": "^0.11", |
| 25 | + "chevere/trace": "^0.9", |
| 26 | + "chevere/var-dump": "^0.9", |
27 | 27 | "phpseclib/phpseclib": "~3.0"
|
28 | 28 | },
|
29 | 29 | "require-dev": {
|
|
54 | 54 | "composer phpstan",
|
55 | 55 | "composer test",
|
56 | 56 | "composer test-coverage",
|
57 |
| - "composer infection" |
| 57 | + "composer infection -- --skip-initial-tests --coverage=build/logs" |
58 | 58 | ],
|
59 |
| - "infection": "infection --only-covered -j10", |
| 59 | + "infection": [ |
| 60 | + "Composer\\Config::disableProcessTimeout", |
| 61 | + "infection --only-covered -j10" |
| 62 | + ], |
| 63 | + "infection-filter": "sh -c 'sh -c \"composer infection -- --filter=$0 --test-framework-options=--filter=$0\"' $1", |
60 | 64 | "phpstan": "vendor/bin/phpstan analyze src/ --memory-limit 512M --level 9",
|
61 |
| - "test": "vendor/bin/phpunit -c phpunit.xml", |
62 |
| - "test-coverage": "vendor/bin/phpunit -c phpunit-coverage.xml", |
| 65 | + "test": [ |
| 66 | + "Composer\\Config::disableProcessTimeout", |
| 67 | + "vendor/bin/phpunit -c phpunit.xml" |
| 68 | + ], |
| 69 | + "test-coverage": [ |
| 70 | + "Composer\\Config::disableProcessTimeout", |
| 71 | + "vendor/bin/phpunit -c phpunit-coverage.xml" |
| 72 | + ], |
63 | 73 | "cs-update": "mkdir -p .ecs && cd .ecs && curl -O https://raw.githubusercontent.com/chevere/code-style/main/.ecs/ecs-chevere.php",
|
64 | 74 | "cs-fix": "vendor/bin/ecs --config='.ecs/ecs.php' check src --fix"
|
65 | 75 | },
|
66 | 76 | "scripts-descriptions": {
|
67 | 77 | "all": "Runs all checks",
|
68 | 78 | "infection": "Runs infection",
|
| 79 | + "infection-filter": "Runs infection (filtered)", |
69 | 80 | "phpstan": "Runs phpstan",
|
70 | 81 | "test": "Run test suite",
|
71 | 82 | "test-coverage": "Run test suite (coverage)",
|
|
0 commit comments