Skip to content

Use FixtureStore to get manager name instead of deprecated static::$m…#109

Merged
theofidry merged 1 commit into
theofidry:mainfrom
madkot:patch-1
Mar 21, 2026
Merged

Use FixtureStore to get manager name instead of deprecated static::$m…#109
theofidry merged 1 commit into
theofidry:mainfrom
madkot:patch-1

Conversation

@madkot

@madkot madkot commented Mar 3, 2026

Copy link
Copy Markdown

When there is a need to use other manager name than default one to build schema we will have an deprecation notice like:

1x: Since hautelook/alice-bundle 2.12.2: Setting up the database manager via the class static is deprecated. Use FixtureStore::setManagerName() instead.

To be consistent, once you set static::$manager as deprecated, you should get rid of its use.

Here is the deprecation:

if (null !== static::$manager) {

PS I haven't checked the compatibility of this change. I only see a lack of consistency.

@theofidry theofidry enabled auto-merge (squash) March 21, 2026 21:21
@theofidry theofidry disabled auto-merge March 21, 2026 21:21
@theofidry theofidry merged commit 3f3ec52 into theofidry:main Mar 21, 2026
14 checks passed
@theofidry

Copy link
Copy Markdown
Owner

Thank you @madkot!

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