Skip to content

Commit

Permalink
chevere 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rodber committed Oct 3, 2023
1 parent 4075369 commit 75ce7a0
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
}
],
"require": {
"chevere/chevere": "^3.1",
"chevere/http": "^0.2",
"chevere/router": "^0.4",
"chevere/chevere": "^3.2",
"chevere/http": "^0.3",
"chevere/router": "^0.5",
"chevere/schwager": "^0.2.x-dev"
},
"require-dev": {
Expand Down Expand Up @@ -43,18 +43,29 @@
"composer phpstan",
"composer test",
"composer test-coverage",
"composer infection"
"composer infection -- --skip-initial-tests --coverage=build/logs"
],
"infection": "infection --only-covered -j10",
"infection": [
"Composer\\Config::disableProcessTimeout",
"infection --only-covered -j10"
],
"infection-filter": "sh -c 'sh -c \"composer infection -- --filter=$0 --test-framework-options=--filter=$0\"' $1",
"phpstan": "vendor/bin/phpstan analyze src/ --memory-limit 512M --level 9",
"test": "vendor/bin/phpunit -c phpunit.xml",
"test-coverage": "vendor/bin/phpunit -c phpunit-coverage.xml",
"test": [
"Composer\\Config::disableProcessTimeout",
"vendor/bin/phpunit -c phpunit.xml"
],
"test-coverage": [
"Composer\\Config::disableProcessTimeout",
"vendor/bin/phpunit -c phpunit-coverage.xml"
],
"cs-update": "mkdir -p .ecs && cd .ecs && curl -O https://raw.githubusercontent.com/chevere/code-style/main/.ecs/ecs-chevere.php",
"cs-fix": "vendor/bin/ecs --config='.ecs/ecs.php' check src --fix"
},
"scripts-descriptions": {
"all": "Runs all checks",
"infection": "Runs infection",
"infection-filter": "Runs infection (filtered)",
"phpstan": "Runs phpstan",
"test": "Run test suite",
"test-coverage": "Run test suite (coverage)",
Expand Down

0 comments on commit 75ce7a0

Please sign in to comment.