Repository navigation
IBX-11939: Merged branch '5.0' into 6.0 - #934
Merged
Merged
Conversation
* IBX-11939: Added the schema alignment test The kernel-based integration suite now also runs on the Doctrine Migrations install path, in one extra CI run per database on the newest PHP and the oldest server version, and SchemaAlignmentTest checks there that the migrations create the schema SchemaBuilderEvent declares. The bootstrap switches between the two paths with IBEXA_TEST_SCHEMA_BUILDER_EVENT_ENABLED, and the test kernel registers the two Doctrine Migrations bundles that path needs. Those runs skip PHPStan, the unit tests and the legacy integration suite, which installs its own schema whatever the path. The legacy suites' configs exclude the test, like the kernel-based suite's other tests. * IBX-11939: Ran every CI step on the Doctrine Migrations leg too The schema_builder_event=false legs skipped PHPStan, the unit tests and the legacy integration suite, and ran phpunit-integration.xml in a step of their own. They now run the same steps as the other legs, and IBEXA_TEST_SCHEMA_BUILDER_EVENT_ENABLED (1 or 0) picks the install path. The legacy suite doesn't read it, so it runs the same on every leg. * IBX-11939: Used SchemaInstallPath to select the schema install path in the bootstrap ibexa/test-core#73 returns the DatabaseSchemaHook and DoctrineMigrationsSchemaHook options for either path, so the bootstrap only reads IBEXA_TEST_SCHEMA_BUILDER_EVENT_ENABLED itself. * IBX-11939: Wrote the empty SchemaAlignmentTest body on one line The single_line_empty_body rule of PHP CS Fixer 3.95 wants it, and CI resolves that version here now. * IBX-11939: Passed SchemaInstallPath whether the Doctrine Migrations path is enabled
# Conflicts: # .github/workflows/backend-ci.yaml # composer.json # phpunit-integration-legacy-solr.xml # phpunit-integration-legacy.xml # phpunit-integration.xml
konradoboza
approved these changes
Nov 5, 2026
Steveb-p
force-pushed
the
merge/5.0-to-6.0
branch
from
November 5, 2026 13:20
a99c663 to
35297bc
Compare
|
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.



Caution
This is a merge pull request
Related PRs:
Conflict resolutions:
schema_builder_eventmatrix with the Doctrine Migrationsinclude, on PHP 8.5. 6.0 has noflysystemdimension and usespostgres_version, so the includes use those; the MySQL one also setsserver_version.composer.json: 6.0's constraints, plus 5.0'sdoctrine/doctrine-migrations-bundle ^3.2inrequire-dev.phpunit-integration.xml: 6.0's format, plus theSchemaAlignmentTestentry.Ibexa::VERSIONstays6.0.0.SchemaAlignmentTest:#[CoversNothing]instead of@coversNothing, as 6.0 is on PHPUnit 11.