Skip to content

Commit 03145b4

Browse files
committed
chevere 3.2
1 parent 5665178 commit 03145b4

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

composer.json

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
"require": {
2020
"ext-curl": "*",
2121
"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",
2727
"phpseclib/phpseclib": "~3.0"
2828
},
2929
"require-dev": {
@@ -54,18 +54,29 @@
5454
"composer phpstan",
5555
"composer test",
5656
"composer test-coverage",
57-
"composer infection"
57+
"composer infection -- --skip-initial-tests --coverage=build/logs"
5858
],
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",
6064
"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+
],
6373
"cs-update": "mkdir -p .ecs && cd .ecs && curl -O https://raw.githubusercontent.com/chevere/code-style/main/.ecs/ecs-chevere.php",
6474
"cs-fix": "vendor/bin/ecs --config='.ecs/ecs.php' check src --fix"
6575
},
6676
"scripts-descriptions": {
6777
"all": "Runs all checks",
6878
"infection": "Runs infection",
79+
"infection-filter": "Runs infection (filtered)",
6980
"phpstan": "Runs phpstan",
7081
"test": "Run test suite",
7182
"test-coverage": "Run test suite (coverage)",

0 commit comments

Comments
 (0)