Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GeneratorBundle] Deprecations #3426

Open
dannyvw opened this issue Jul 11, 2024 · 1 comment
Open

[GeneratorBundle] Deprecations #3426

dannyvw opened this issue Jul 11, 2024 · 1 comment

Comments

@dannyvw
Copy link
Contributor

dannyvw commented Jul 11, 2024

Merge is deprecated and will be removed in ORM 3 https://github.com/Kunstmaan/KunstmaanBundlesCMS/blob/7.x/src/Kunstmaan/GeneratorBundle/DataFixtures/ORM/UserFixtures.php#L42


https://github.com/Kunstmaan/KunstmaanBundlesCMS/blob/7.x/src/Kunstmaan/GeneratorBundle/DataFixtures/ORM/GroupFixtures.php
Argument $class of Doctrine\Common\DataFixtures\AbstractFixture::getReference() will be mandatory in 2.0


https://github.com/Kunstmaan/KunstmaanBundlesCMS/blob/7.x/src/Kunstmaan/GeneratorBundle/Helper/GeneratorUtils.php#L24
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated


Deprecations is triggered by this class https://github.com/Kunstmaan/KunstmaanBundlesCMS/blob/7.x/src/Kunstmaan/MediaBundle/DataFixtures/ORM/FolderFixtures.php
Nesting transactions without enabling savepoints is deprecated.
Call Doctrine\DBAL\Connection::setNestTransactionsWithSavepoints(true) to enable savepoints.

@dannyvw dannyvw changed the title [GeneratorBundle] Doctrine deprecation [GeneratorBundle] Doctrine deprecations Jul 11, 2024
@dannyvw dannyvw changed the title [GeneratorBundle] Doctrine deprecations [GeneratorBundle] Deprecations Jul 11, 2024
@dannyvw
Copy link
Contributor Author

dannyvw commented Nov 8, 2024

The "Kunstmaan\GeneratorBundle\DataFixtures\ORM\UserFixtures" class implements "Symfony\Component\DependencyInjection\ContainerAwareInterface" that is deprecated since Symfony 6.4, use dependency injection instead.

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

No branches or pull requests

2 participants