Enable native lazy objects if possible to fix the CI when using symfony 8#45
Merged
TavoNiievez merged 2 commits intoCodeception:mainfrom Nov 12, 2025
Merged
Enable native lazy objects if possible to fix the CI when using symfony 8#45TavoNiievez merged 2 commits intoCodeception:mainfrom
TavoNiievez merged 2 commits intoCodeception:mainfrom
Conversation
The LazyGhostTrait will be removed from symfony/var-exporter:8.
W0rma
commented
Oct 28, 2025
| - tests/data/doctrine_fixtures/TestFixture1.php | ||
| - tests/data/doctrine_fixtures/TestFixture2.php | ||
| - tests/_support/UnitTester.php | ||
| checkMissingIterableValueType: false |
Contributor
Author
There was a problem hiding this comment.
I just noticed the following warning when running phpstan locally:
Note: Using configuration file /var/www/html/phpstan.neon.
⚠️ You're using a deprecated config option checkMissingIterableValueType ⚠️️
It's strongly recommended to remove it from your configuration file
and add the missing array typehints.
If you want to continue ignoring missing typehints from arrays,
add missingType.iterableValue error identifier to your ignoreErrors:
parameters:
ignoreErrors:
-
identifier: missingType.iterableValue
This was referenced Oct 28, 2025
TavoNiievez
approved these changes
Nov 12, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LazyGhostTraitis not available in symfony 8 anymore and thus the tests will fail if native lazy objects are not enabled in doctrine/orm.