Repository navigation
IBX-11939: Merged branch '4.6' into 5.0 - #929
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
Steveb-p
marked this pull request as ready for review
October 30, 2026 16:00
# Conflicts: # .github/workflows/backend-ci.yaml # composer.json # phpunit-integration-legacy-solr.xml # phpunit-integration-legacy.xml # phpunit-integration.xml
Steveb-p
force-pushed
the
merge/4.6-to-5.0-schema-alignment
branch
2 times, most recently
from
November 3, 2026 11:22
87e4a0c to
27ec81f
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:
composer.jsonkeeps 5.0's constraints and takesdoctrine/doctrine-migrations-bundlefrom 4.6.schema_builder_eventmatrix and includes, without the PHP 7.4 exclude and thedoctrine-persistencedimension 5.0 doesn't have.phpunit-integration-legacy(-solr).xml: 5.0's format, plus theSchemaAlignmentTestexclude.phpunit-integration*.xml: 5.0'sUserServiceexclude from IBX-12847: Added find methods for users and user groups to UserService #872 and theSchemaAlignmentTestone, both kept.Rebuilt on 2026-11-03 on top of #872. The merge differs from the previous one by #872's changes only.