Skip to content

Commit c0d8593

Browse files
authored
chore: update workflow to use PHP 8.2-8.4 (#73)
1 parent b4a440c commit c0d8593

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

.github/workflows/phpcpd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup PHP
2828
uses: shivammathur/setup-php@v2
2929
with:
30-
php-version: '8.1'
30+
php-version: '8.2'
3131
tools: phpcpd
3232
extensions: dom, mbstring
3333
coverage: none

.github/workflows/phpcsfixer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up PHP
2828
uses: shivammathur/setup-php@v2
2929
with:
30-
php-version: '8.1'
30+
php-version: '8.2'
3131
extensions: json, tokenizer
3232
coverage: none
3333
env:

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
php-versions: ['8.1', '8.2']
29+
php-versions: ['8.2', '8.4']
3030

3131
steps:
3232
- name: Checkout

.github/workflows/phpunit.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ jobs:
3838
if: "!contains(github.event.head_commit.message, '[ci skip]')"
3939
strategy:
4040
matrix:
41-
php-versions: ['8.1', '8.2', '8.3']
41+
php-versions: ['8.2', '8.3', '8.4']
4242
db-platforms: ['MySQLi', 'SQLite3']
4343
include:
4444
# Postgre
45-
- php-versions: '8.1'
45+
- php-versions: '8.2'
4646
db-platforms: Postgre
4747
# SQLSRV
48-
- php-versions: '8.1'
48+
- php-versions: '8.2'
4949
db-platforms: SQLSRV
5050
# OCI8
51-
- php-versions: '8.1'
51+
- php-versions: '8.2'
5252
db-platforms: OCI8
5353

5454
services:

.github/workflows/psalm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup PHP
3232
uses: shivammathur/setup-php@v2
3333
with:
34-
php-version: '8.1'
34+
php-version: '8.2'
3535
tools: phpstan, phpunit
3636
extensions: intl, json, mbstring, xml
3737
coverage: none

.github/workflows/rector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
php-versions: ['8.1', '8.3']
36+
php-versions: ['8.2', '8.4']
3737

3838
steps:
3939
- name: Checkout

rector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
return static function (RectorConfig $rectorConfig): void {
4747
$rectorConfig->sets([
4848
SetList::DEAD_CODE,
49-
LevelSetList::UP_TO_PHP_81,
49+
LevelSetList::UP_TO_PHP_82,
5050
PHPUnitSetList::PHPUNIT_CODE_QUALITY,
5151
PHPUnitSetList::PHPUNIT_100,
5252
]);
@@ -75,7 +75,7 @@
7575
]);
7676

7777
// Set the target version for refactoring
78-
$rectorConfig->phpVersion(PhpVersion::PHP_81);
78+
$rectorConfig->phpVersion(PhpVersion::PHP_82);
7979

8080
// Auto-import fully qualified class names
8181
$rectorConfig->importNames();

0 commit comments

Comments
 (0)