IBX-12046: Configured the legacy integration test kernel for property-info and Doctrine native lazy objects - #840
Merged
Conversation
…erty-info and Doctrine native lazy objects
|
konradoboza
approved these changes
Sep 23, 2026
Steveb-p
approved these changes
Sep 23, 2026
alongosz
approved these changes
Sep 23, 2026
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:
ibexa/test-core. Independent; either can merge first.Description:
Core's own
Ibexa\Contracts\Core\Test\IbexaTestKernel(used byphpunit-integration-legacy.xmland the four kernels extending it) loadstests/bundle/Core/Resources/config/{doctrine.php,framework.yaml}, not test-core's config, so it needs the same fixes as test-core#58:framework.property_info.with_constructor_extractor: false— framework-bundle 7.3 deprecates leaving it implicit because the default flips in 8.0;falsekeeps today's behaviour.dbal.use_savepointsremoved — DBAL 4 always uses savepoints and DoctrineBundle deprecates the key.orm.controller_resolver.auto_mapping: falseand, on PHP ≥ 8.4 only,orm.enable_native_lazy_objects: true, replacing var-exporter lazy ghosts. The ORM section is always active becauseIbexaCoreExtensionprepends theibexa_*entity managers.phpunit-integration.xmlusesIbexa\Tests\Integration\Core\TestKernel, which extends test-core's kernel and inherits its config, so it is covered by test-core#58; its baseline is left as is.phpunit.baseline.xmlis unchanged (no kernel boots in unit tests).Regenerated
phpunit-integration-legacy.baseline.xml(PHP 8.4 + 8.3 union):property_info.with_constructor_extractor(×8) and the lazy-ghostLazyGhostTrait/ProxyHelper::generateLazyGhost()entries (×3) are gone, nothing added. The regeneration also dropped the "XML configuration format is deprecated" (×8) andlibxml_disable_entity_loader()entries: they no longer trigger with a freshcomposer updateeven without this change (current vendor versions), so they are no longer needed in the baseline.For QA:
No functional change. Verified locally with a fresh
composer updateon PHP 8.4 (the CI matrix) and 8.3:phpunit.xml,phpunit-integration.xmlandphpunit-integration-legacy.xmlexit 0, PHPStan no errors; deptrac and php-cs-fixer clean on 8.4. The Solr legacy suite needs a live Solr and was not run locally.Documentation:
N/A