Skip to content

IBX-11939: Moved the Doctrine Migrations service definitions to PHP - #880

Merged
Steveb-p merged 1 commit into
6.0from
feature/schema-migration-php-config-6.0
Oct 12, 2026
Merged

Steveb-p merged 1 commit into
6.0from
feature/schema-migration-php-config-6.0

Conversation

@Steveb-p

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

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-11939

Related PRs:

Description:

The 5.0 → 6.0 merge-up #877 added src/bundle/Core/Resources/config/doctrine_migrations.yml and src/bundle/RepositoryInstaller/Resources/config/bootstrapper.yaml as new files. New service definition files on 6.0 are written in PHP, so this moves the definitions to src/bundle/Core/Resources/config/doctrine_migrations.php and src/bundle/RepositoryInstaller/Resources/config/bootstrapper.php, loaded by a PhpFileLoader in IbexaCoreExtension and IbexaRepositoryInstallerExtension, the way translations-management loads its own doctrine_migrations.php.

The services don't change: loading the old YAML and the new PHP into a container gives the same definitions (class, autowiring, visibility, arguments and tags) for all 12 of them.

…880)

* IBX-11939: Moved the Doctrine Migrations service definitions to PHP

The 5.0 -> 6.0 merge-up added `doctrine_migrations.yml` and `bootstrapper.yaml` as new files.
New service definition files are PHP on 6.0, so the definitions now live in the PHP files of the
same name, loaded by a PhpFileLoader in IbexaCoreExtension and IbexaRepositoryInstallerExtension,
as in translations-management. The services are defined the same way as before.
@Steveb-p
Steveb-p force-pushed the feature/schema-migration-php-config-6.0 branch from 1be3c21 to 81f470c Compare October 12, 2026 12:44
@Steveb-p
Steveb-p merged commit 81f470c into 6.0 Oct 12, 2026
7 checks passed
@Steveb-p
Steveb-p deleted the feature/schema-migration-php-config-6.0 branch October 12, 2026 12:45
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants