Skip to content

Commit 53a2521

Browse files
committed
Revert phpstan update.
1 parent 804fc58 commit 53a2521

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
needs: setup-matrix
8080
strategy:
8181
matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix) }}
82-
uses: pimcore/workflows-collection-public/.github/workflows/reusable-static-analysis-centralized.yaml@named-phpstan-basline
82+
uses: pimcore/workflows-collection-public/.github/workflows/reusable-static-analysis-centralized.yaml@main
8383
with:
8484
APP_ENV: test
8585
PIMCORE_TEST: 1

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
"symfony/webpack-encore-bundle": "^1.17 || ^2.0"
2121
},
2222
"require-dev": {
23-
"codeception/codeception": "dev-main",
23+
"codeception/codeception": "^5.0.11",
2424
"codeception/module-asserts": "^2.0.1",
2525
"codeception/module-symfony": "^3.1.1",
2626
"codeception/phpunit-wrapper": "^9",
27-
"phpstan/phpstan": "^2.1.1",
28-
"phpstan/phpstan-symfony": "^2.0.1",
27+
"phpstan/phpstan": "1.10.30",
28+
"phpstan/phpstan-symfony": "^1.3.2",
2929
"phpunit/phpunit": "^9.3"
3030
},
3131
"autoload": {

phpstan.neon

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
parameters:
22
level: 6
3-
ignoreErrors:
4-
- identifier: missingType.iterableValue
5-
- identifier: missingType.generics
63
reportUnmatchedIgnoredErrors: false
7-
treatPhpDocTypesAsCertain: false
4+
checkMissingIterableValueType: false
5+
checkGenericClassInNonGenericObjectType: false
86
paths:
97
- src
108
bootstrapFiles:

0 commit comments

Comments
 (0)