Skip to content

Commit 9e3bfc5

Browse files
authored
Merge pull request #24 from php-etl/feat/phpstan-level-8
feat: migration PHPStan niveau 8
2 parents d3bd8c4 + 7deafa6 commit 9e3bfc5

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/phpstan-5.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ jobs:
1919
uses: php-actions/phpstan@v3
2020
with:
2121
path: src/
22-
level: 5
22+
level: 8
2323
php_version: '8.2'

.github/workflows/phpstan-6.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
uses: php-actions/phpstan@v3
2121
with:
2222
path: src/
23-
level: 6
23+
level: 8

.github/workflows/phpstan-7.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
uses: php-actions/phpstan@v3
2121
with:
2222
path: src/
23-
level: 7
23+
level: 8

.github/workflows/quality.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
uses: php-actions/phpstan@v3
3434
with:
3535
path: src/
36-
level: 4
36+
level: 8

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
"minimum-stability": "dev",
1313
"prefer-stable": true,
1414
"require": {
15-
"php": "^8.2",
15+
"php": "^8.4",
1616
"ext-json": "*",
17-
"nikic/php-parser": "^4.10",
17+
"nikic/php-parser": "^5.6",
1818
"symfony/config": "^6.0",
1919
"php-etl/configurator-contracts": "0.8.*",
2020
"symfony/expression-language": "^6.0",
@@ -25,9 +25,9 @@
2525
"phpunit/phpunit": "^10.0",
2626
"php-etl/phpunit-extension": "*",
2727
"friendsofphp/php-cs-fixer": "^3.0",
28-
"phpstan/phpstan": "^1.10",
28+
"phpstan/phpstan": "^2.2",
2929
"infection/infection": "^0.26.18",
30-
"rector/rector": "^0.15",
30+
"rector/rector": "^2.0",
3131
"php-etl/csv-flow": "*",
3232
"mikey179/vfsstream": "^1.6"
3333
},

0 commit comments

Comments
 (0)