Skip to content

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

Open
madkot wants to merge 1 commit intotheofidry:mainfrom
madkot:patch-1
Open

Use FixtureStore to get manager name instead of deprecated static::$m…#109
madkot wants to merge 1 commit intotheofidry:mainfrom
madkot:patch-1

Conversation

@madkot
Copy link

@madkot madkot commented Mar 3, 2026

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.

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.

1 participant