Skip to content

IBX-11939: Merged branch '5.0' into 6.0 - #934

Merged
Steveb-p merged 6 commits into
6.0from
merge/5.0-to-6.0
Nov 6, 2026
Merged

Steveb-p merged 6 commits into
6.0from
merge/5.0-to-6.0

Conversation

@Steveb-p

@Steveb-p Steveb-p commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Caution

This is a merge pull request

🎫 Issue IBX-11939

Related PRs:

Conflict resolutions:

  • CI: 5.0's schema_builder_event matrix with the Doctrine Migrations include, on PHP 8.5. 6.0 has no flysystem dimension and uses postgres_version, so the includes use those; the MySQL one also sets server_version.
  • composer.json: 6.0's constraints, plus 5.0's doctrine/doctrine-migrations-bundle ^3.2 in require-dev.
  • phpunit-integration.xml: 6.0's format, plus the SchemaAlignmentTest entry.
  • Ibexa::VERSION stays 6.0.0.
  • SchemaAlignmentTest: #[CoversNothing] instead of @coversNothing, as 6.0 is on PHPUnit 11.

Steveb-p and others added 6 commits October 30, 2026 15:29
* 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
@Steveb-p Steveb-p added the Fast-forward merge PR should be merged in a fast-forward way label Nov 3, 2026
@sonarqubecloud

sonarqubecloud Bot commented Nov 5, 2026

Copy link
Copy Markdown

@Steveb-p
Steveb-p marked this pull request as ready for review November 6, 2026 12:22
@Steveb-p
Steveb-p merged commit 35297bc into 6.0 Nov 6, 2026
17 checks passed
@Steveb-p
Steveb-p deleted the merge/5.0-to-6.0 branch November 6, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fast-forward merge PR should be merged in a fast-forward way

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants