IBX-12046: Configured property-info and Doctrine ORM explicitly in the test kernel - #58
Merged
Merged
Conversation
ViniTou
force-pushed
the
phpunit-11-deprecation-gate
branch
from
September 23, 2026 08:56
af6ead4 to
d6cc226
Compare
ViniTou
force-pushed
the
IBX-12046-symfony-deprecations
branch
from
September 23, 2026 08:56
7422eeb to
c0b5685
Compare
Steveb-p
approved these changes
Sep 23, 2026
…licitly in the test kernel config
ViniTou
force-pushed
the
IBX-12046-symfony-deprecations
branch
from
September 23, 2026 09:53
c0b5685 to
6724216
Compare
konradoboza
approved these changes
Sep 23, 2026
This was referenced Sep 23, 2026
Merged
alongosz
approved these changes
Sep 23, 2026
…onentBundle is registered Projects get anonymous_template_directory and defaults from the symfony/ux-twig-component Flex recipe; test kernels don't, so the bundle deprecates the missing options in every consumer that registers it.
ViniTou
force-pushed
the
IBX-12046-symfony-deprecations
branch
from
September 24, 2026 07:35
d8e42da to
843c6f0
Compare
This was referenced Sep 24, 2026
ViniTou
added a commit
to ibexa/core-persistence
that referenced
this pull request
Sep 24, 2026
deprecation fixes - property_info.with_constructor_extractor default (ibexa/test-core#58)
ViniTou
added a commit
to ibexa/rest
that referenced
this pull request
Sep 24, 2026
…recation fixes - property_info.with_constructor_extractor (ibexa/test-core#58)
ViniTou
added a commit
to ibexa/core-persistence
that referenced
this pull request
Sep 24, 2026
…recation fixes (#50) IBX-12046: Regenerated the deprecation baseline after the Symfony deprecation fixes - property_info.with_constructor_extractor default (ibexa/test-core#58)
ViniTou
added a commit
to ibexa/rest
that referenced
this pull request
Sep 24, 2026
…recation fixes (#243) - property_info.with_constructor_extractor (ibexa/test-core#58)
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.
Related PRs:
6.0.dbal.use_savepoints, which un-silences Doctrine deprecations, so it merges after the Doctrine caller fixes.twig_componentbaseline entries; this PR's test-kerneltwig_componentconfig makes them unused.Description:
Every integration kernel built on
IbexaTestKernelloads test-core's framework and Doctrine config, so the Symfony/Doctrine deprecations it triggers land in the integration baselines of every consumer repository:framework.property_info.with_constructor_extractornot set explicitly (framework-bundle 7.3; default flips in 8.0). Set tofalse, i.e. today's behaviour.orm.controller_resolver.auto_mapping: false(the documented future default; tests don't use entity route mapping) and, on PHP ≥ 8.4 only,orm.enable_native_lazy_objects: trueinstead of var-exporter lazy ghosts. The ORM section is always active because core prepends its entity managers in every kernel.twig_component.anonymous_template_directory/defaultsnot set (ux-twig-component 2.13). Projects get both from the bundle's Flex recipe;IbexaTestKernelnow sets the recipe's values when a kernel registersTwigComponentBundle.test-core's own
phpunit.baseline.xmlis unchanged (its suite doesn't trigger these). Cross-checked in core-persistence with this branch installed: theproperty_info.with_constructor_extractordeprecation disappears from its integration run, nothing added. The consumer baselines get regenerated separately.For QA:
No functional change. Verified locally on PHP 8.3 and 8.4 with a fresh
composer update(after #55 was rebased onto6.0):composer testexit 0 (57 tests), PHPStan clean.Documentation:
N/A