Skip to content

Commit a05d283

Browse files
committed
minor #125 do not validate generics in PhpStan (xabbuh)
This PR was squashed before being merged into the 0.2-dev branch. Discussion ---------- do not validate generics in PhpStan Commits ------- 358bf43 allow the Symfony Flex plugin 1e234d8 do not validate generics in PhpStan
2 parents 59ca656 + 358bf43 commit a05d283

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ jobs:
137137
COMPOSER_OPTIONS: '${{ matrix.composer-options }}'
138138
SYMFONY_REQUIRE: '${{ matrix.symfony-version }}'
139139
run: |
140+
composer global config --no-plugins allow-plugins.symfony/flex true
140141
composer global require --no-progress --no-scripts --no-plugins symfony/flex
141142
composer update --no-progress $COMPOSER_OPTIONS
142143

phpstan.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ includes:
22
- phar://vendor/phpstan/phpstan/phpstan.phar/conf/config.levelmax.neon
33

44
parameters:
5+
checkGenericClassInNonGenericObjectType: false
56
checkMissingIterableValueType: false
67
inferPrivatePropertyTypeFromConstructor: true
78
paths:

0 commit comments

Comments
 (0)