Skip to content

Commit b89ef4f

Browse files
authored
feat: require PHP 8.4 and PHPUnit 13 (#148)
1 parent eae9d44 commit b89ef4f

9 files changed

Lines changed: 356 additions & 231 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
- "highest"
2525
- "locked"
2626
php-version:
27-
- "8.3"
2827
- "8.4"
2928
- "8.5"
3029

@@ -53,7 +52,7 @@ jobs:
5352
${{ runner.OS }}-${{ matrix.php-version }}-static-analysis-
5453
5554
- name: "Update Composer platform version"
56-
if: ${{ matrix.dependencies != 'locked' && matrix.php-version != '8.3' }}
55+
if: ${{ matrix.dependencies != 'locked' && matrix.php-version != '8.4' }}
5756
shell: bash
5857
run: "composer config platform.php ${{ matrix.php-version }}"
5958

@@ -72,7 +71,7 @@ jobs:
7271
run: "composer licenses:check"
7372

7473
- name: "Run coding style"
75-
if: ${{ matrix.dependencies == 'locked' && matrix.php-version == '8.3' }}
74+
if: ${{ matrix.dependencies == 'locked' && matrix.php-version == '8.4' }}
7675
run: "composer code-style:check"
7776

7877
- name: "Run PHPStan"

.php-cs-fixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
->setRules([
1010
'@PER-CS' => true,
1111
'@PER-CS:risky' => true,
12-
'@PHP8x3Migration' => true,
12+
'@PHP8x4Migration' => true,
1313
'@DoctrineAnnotation' => true,
1414
'align_multiline_comment' => true,
1515
'array_indentation' => true,

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^8.3",
14-
"phpunit/phpunit": "^12.5"
13+
"php": "^8.4",
14+
"phpunit/phpunit": "^13.0"
1515
},
1616
"require-dev": {
1717
"ergebnis/composer-normalize": "^2.45",
1818
"lendable/composer-license-checker": "^1.2.1",
1919
"php-cs-fixer/shim": "^3.92",
20-
"phpstan/phpstan": "^2.1",
20+
"phpstan/phpstan": "^2.1.39",
2121
"phpstan/phpstan-deprecation-rules": "^2.0",
22-
"phpstan/phpstan-phpunit": "^2.0",
22+
"phpstan/phpstan-phpunit": "^2.0.16",
2323
"phpstan/phpstan-strict-rules": "^2.0",
24-
"rector/rector": "2.3.0"
24+
"rector/rector": "^2.3.2"
2525
},
2626
"minimum-stability": "stable",
2727
"autoload": {
@@ -42,7 +42,7 @@
4242
"ergebnis/composer-normalize": true
4343
},
4444
"platform": {
45-
"php": "8.3.0"
45+
"php": "8.4.1"
4646
},
4747
"sort-packages": true
4848
},

0 commit comments

Comments
 (0)