Skip to content

Commit

Permalink
Added php version check for infection
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastian Schwarz committed Jan 6, 2024
1 parent b482cad commit acb1cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"psalm": "XDEBUG_MODE=off tools/psalm --threads=10 --long-progress",
"composer-unused": "XDEBUG_MODE=off tools/composer-unused --no-progress --no-interaction",
"composer-require-checker": "php -r 'exit((int) !(PHP_VERSION_ID >= 80400));' && XDEBUG_MODE=off tools/composer-require-checker --no-interaction || echo 'Skipping composer-require-checker because it needs PHP8.2 or higher'",
"infection": "XDEBUG_MODE=coverage tools/infection --min-msi=100 --min-covered-msi=100 --threads=4 --no-progress --show-mutations",
"infection": "php -r 'exit((int) !(PHP_VERSION_ID >= 80100));' && XDEBUG_MODE=coverage tools/infection --min-msi=100 --min-covered-msi=100 --threads=4 --no-progress --show-mutations || echo 'Skipping infection because it needs PHP8.1 or higher'",
"phive:update": "XDEBUG_MODE=off phive update && git add tools/* phive.xml && git commit tools/* -m 'Updated phive dependencies'",
"ci-all": [
"composer validate",
Expand Down

0 comments on commit acb1cce

Please sign in to comment.