From 4e7e0be397a2835603734f3c2d550548ca264eca Mon Sep 17 00:00:00 2001 From: Bastian Schwarz Date: Sun, 7 Jan 2024 15:07:11 +0100 Subject: [PATCH] Set minimal version to php8.2 --- .github/workflows/ci.yml | 2 +- .idea/php.xml | 2 +- composer.json | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c67849..63e8533 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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"]' diff --git a/.idea/php.xml b/.idea/php.xml index f200da0..220ff3a 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -146,7 +146,7 @@ - + diff --git a/composer.json b/composer.json index 36a287e..3705795 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "php": "^8.0", + "php": "^8.2", "twig/twig": "^3.0", "symfony/filesystem": "^6.0" }, @@ -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",