Skip to content

Commit

Permalink
Merge pull request #20 from codenamephp/update/php
Browse files Browse the repository at this point in the history
Minimal PHP Version is now 8.2
  • Loading branch information
bastianschwarz authored Jan 7, 2024
2 parents 94ead95 + 4e7e0be commit 86c547d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
ci:
uses: codenamephp/workflows.php/.github/workflows/ci.yml@1
with:
php-versions: '["8.0", "8.1", "8.2", "8.3"]'
php-versions: '["8.2", "8.3"]'
2 changes: 1 addition & 1 deletion .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"php": "^8.0",
"php": "^8.2",
"twig/twig": "^3.0",
"symfony/filesystem": "^6.0"
},
Expand Down Expand Up @@ -41,8 +41,8 @@
"phpunit": "XDEBUG_MODE=coverage tools/phpunit.phar -c test/phpunit.dist.xml test/",
"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": "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'",
"composer-require-checker": "XDEBUG_MODE=off tools/composer-require-checker --no-interaction",
"infection": "XDEBUG_MODE=coverage tools/infection --min-msi=100 --min-covered-msi=100 --threads=4 --no-progress --show-mutations",
"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 86c547d

Please sign in to comment.