Skip to content

IBX-12046: Configured property-info and Doctrine ORM explicitly in the test kernel - #58

Merged
ViniTou merged 3 commits into
6.0from
IBX-12046-symfony-deprecations
Sep 24, 2026
Merged

ViniTou merged 3 commits into
6.0from
IBX-12046-symfony-deprecations

Conversation

@ViniTou

@ViniTou ViniTou commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-12046

Related PRs:

Description:

Every integration kernel built on IbexaTestKernel loads 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_extractor not set explicitly (framework-bundle 7.3; default flips in 8.0). Set to false, 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: true instead 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 / defaults not set (ux-twig-component 2.13). Projects get both from the bundle's Flex recipe; IbexaTestKernel now sets the recipe's values when a kernel registers TwigComponentBundle.

test-core's own phpunit.baseline.xml is unchanged (its suite doesn't trigger these). Cross-checked in core-persistence with this branch installed: the property_info.with_constructor_extractor deprecation 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 onto 6.0): composer test exit 0 (57 tests), PHPStan clean.

Documentation:

N/A

Base automatically changed from phpunit-11-deprecation-gate to 6.0 September 23, 2026 09:34
@ViniTou
ViniTou force-pushed the IBX-12046-symfony-deprecations branch from c0b5685 to 6724216 Compare September 23, 2026 09:53
…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
ViniTou force-pushed the IBX-12046-symfony-deprecations branch from d8e42da to 843c6f0 Compare September 24, 2026 07:35
@ViniTou
ViniTou merged commit 0eb479d into 6.0 Sep 24, 2026
6 checks passed
@ViniTou
ViniTou deleted the IBX-12046-symfony-deprecations branch September 24, 2026 07:52
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants