Skip to content

IBX-11939: Merged branch '4.6' into 5.0 - #174

Merged
Steveb-p merged 3 commits into
5.0from
merge/4.6-to-5.0
Nov 3, 2026
Merged

Steveb-p merged 3 commits into
5.0from
merge/4.6-to-5.0

Conversation

@Steveb-p

@Steveb-p Steveb-p commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Caution

This is a merge pull request

🎫 Issue IBX-11939

Related PRs:

Conflict resolutions:

  • composer.json keeps 5.0's constraints and takes doctrine/doctrine-migrations-bundle from 4.6.
  • Test kernel: both sides' imports.

Also UpdateUserCommandTest (5.0 only) now answers the password prompt instead of passing --password as true (the password "1"). Core's clean-install user content type, which the Doctrine Migrations path installs, enforces the password rules, so the old form failed there.

* 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
@Steveb-p Steveb-p added the Fast-forward merge PR should be merged in a fast-forward way label Oct 30, 2026
@Steveb-p
Steveb-p marked this pull request as ready for review October 30, 2026 16:00
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.
@sonarqubecloud

sonarqubecloud Bot commented Nov 3, 2026

Copy link
Copy Markdown

@Steveb-p
Steveb-p requested a review from a team November 3, 2026 11:39
@Steveb-p
Steveb-p merged commit 93bfe11 into 5.0 Nov 3, 2026
26 of 27 checks passed
@Steveb-p
Steveb-p deleted the merge/4.6-to-5.0 branch November 3, 2026 13:15
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 Ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants