Skip to content

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

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

Steveb-p merged 4 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's PHP version and DSN parameters kept.
  • SchemaAlignmentTest: #[CoversNothing] instead of @coversNothing, as 6.0 is on PHPUnit 11.

* IBX-11939: Added the schema alignment test

The integration suite now also runs on the Doctrine Migrations install path, in one extra CI job
per database on the newest PHP, 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.

The extra run skips PHPStan, which the other runs already do.

* IBX-11939: Ran every CI step on the Doctrine Migrations leg too

The schema_builder_event=false leg skipped PHPStan. It now runs the same steps as the other
legs, and IBEXA_TEST_SCHEMA_BUILDER_EVENT_ENABLED (1 or 0) picks the install path.

* 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: Passed SchemaInstallPath whether the Doctrine Migrations path is enabled

* IBX-11939: Wrote the empty SchemaAlignmentTest body on one line

The single_line_empty_body rule of PHP CS Fixer 3.95 wants it, now that 4.6 requires
ibexa/code-style ~2.3.1.
# Conflicts:
#	composer.json
#	tests/integration/IbexaTestKernel.php
The test passed `--password` as `true`, which skips the prompt and sets the password to "1".
That only passed because test_data.yaml's user content type doesn't enforce the password
rules; on the Doctrine Migrations path core's clean-install content type does. Passing the
option without a value and answering the prompt tests the documented interactive form.
@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:24
@Steveb-p
Steveb-p merged commit 458fe83 into 6.0 Nov 6, 2026
12 checks passed
@Steveb-p
Steveb-p deleted the merge/5.0-to-6.0 branch November 6, 2026 12:24
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.

2 participants