Skip to content

IBX-12530: Dropped the dead getSchemaFiles() override - #37

Merged
Steveb-p merged 1 commit into
4.6from
feature/drop-dead-schema-files-override
Sep 10, 2026
Merged

IBX-12530: Dropped the dead getSchemaFiles() override#37
Steveb-p merged 1 commit into
4.6from
feature/drop-dead-schema-files-override

Conversation

@Steveb-p

@Steveb-p Steveb-p commented Sep 10, 2026

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-12530

Related PRs:

Description:

Cleanup found while auditing which packages still touch the schema-file API after
ibexa/test-core#43.

DatabaseSchemaHook now builds the schema from SchemaBuilderEvent instead of a file list, and
this package already contributes its schema.yaml to that event through its own BuildSchemaSubscriber — so the override had no remaining effect. It is removed.

The override also re-listed @IbexaCoreBundle's legacy schema.yaml, which parent::getSchemaFiles() already yields — so that entry was redundant even before #43. Nothing here calls self::loadSchema().

For QA:

composer test-integration against merged ibexa/test-core 4.6.x-dev, same checkout:

Result
with the override (baseline) 10 tests / 41 assertions
without it 10 tests / 41 assertions

PHPStan and code style clean.

Since ibexa/test-core#43, DatabaseSchemaHook builds the schema from SchemaBuilderEvent rather
than from a file list, and this package already contributes its schema.yaml to that event through
its own BuildSchemaSubscriber. The override also re-listed @IbexaCoreBundle's legacy schema.yaml,
which parent::getSchemaFiles() already yields. Nothing calls self::loadSchema() here.

Verified 10 tests / 41 assertions, unchanged. getSchemaFiles() is deprecated by ibexa/core#823
and ibexa/test-core#47.
@Steveb-p
Steveb-p merged commit 420028b into 4.6 Sep 10, 2026
18 checks passed
@Steveb-p
Steveb-p deleted the feature/drop-dead-schema-files-override branch September 10, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants