Skip to content

Commit

Permalink
Drop support for PHP 8.0 and run CI for PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-georgiev committed Jan 8, 2024
1 parent 58c1fab commit eb741a0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ jobs:
fail-fast: false
matrix:
include:
- php: '8.0'
continue-on-error: true
- php: '8.1'
- php: '8.2'
- php: '8.3'
ignore-php-version: true
calculate-code-coverage: true

Expand All @@ -31,7 +30,7 @@ jobs:
- name: Set up PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php || '8.2' }}
php-version: ${{ matrix.php || '8.3' }}
coverage: xdebug
extensions: ctype, json, mbstring
tools: composer
Expand Down
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
build:
environment:
php: 8.1
php: 8.2

coding_style:
php:
Expand Down
3 changes: 2 additions & 1 deletion ci/rector/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@
$rectorConfig->import(SetList::EARLY_RETURN);
$rectorConfig->import(SetList::NAMING);
$rectorConfig->import(SetList::PHP_80);
$rectorConfig->import(SetList::PHP_81);
$rectorConfig->import(SetList::TYPE_DECLARATION);

$rectorConfig->import(DoctrineSetList::DOCTRINE_25);
$rectorConfig->import(DoctrineSetList::DOCTRINE_CODE_QUALITY);

$rectorConfig->import(LevelSetList::UP_TO_PHP_80);
$rectorConfig->import(LevelSetList::UP_TO_PHP_81);
};
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},

"require": {
"php": "^8.0",
"php": "^8.1",
"ext-ctype": "*",
"ext-json": "*",
"ext-mbstring": "*",
Expand All @@ -56,7 +56,7 @@
"symfony/cache": "^5.0||^6.0"
},
"suggest": {
"php": "^8.2",
"php": "^8.3",
"doctrine/orm": "~2.5||~3.0"
},

Expand Down

0 comments on commit eb741a0

Please sign in to comment.