Comments (7)
When creating a reproducer, I found that the issue is caused by the -vvv
flag that I use when running the command. Without the flag, the log doesn't show up.
from foundry.
That's strange that you've been reported indirect deprecation notices 🤔
are you using Symfony's PHPUnit bridge?
from foundry.
those are internal to Foundry, and can be safely ignored
from foundry.
Yeah, I know. Those notices appear when running bin/console doctrine:fixture:load
, which will clutter your console, especially when you also use monolog bundle.
I can safely ignore the notices during testing, so it's not a problem.
from foundry.
I don't know if you cna say to monolog that it should only report "direct" deprecations 🤷
not sure how you can ignore them beside of removing deprecation
channel from the console handler (but that would mute all deprecations)
from foundry.
Without Monolog, you get the logs shown above. At least it doesn't flood the console.
Here’s what the log looks like when Monolog is enabled.
12:23:09 INFO [deprecation] User Deprecated: The "Zenstruck\Foundry\ObjectFactory::create()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentObjectFactory". [ "exception" => ErrorException { #message: "User Deprecated: The "Zenstruck\Foundry\ObjectFactory::create()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentObjectFactory"." #code: 0 #file: "/project/vendor/symfony/error-handler/DebugClassLoader.php" #line: 341 #severity: E_USER_DEPRECATED trace: { /project/vendor/symfony/error-handler/DebugClassLoader.php:341 { …} /project/vendor/doctrine/data-fixtures/src/Executor/AbstractExecutor.php:122 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:26 { …} /project/vendor/doctrine/orm/src/EntityManager.php:182 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:20 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/LoadDataFixturesDoctrineCommand.php:140 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/CommandCompatibility.php:18 { …} /project/vendor/symfony/console/Command/Command.php:279 { …} /project/vendor/symfony/console/Application.php:1047 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:123 { …} /project/vendor/symfony/console/Application.php:316 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:77 { …} /project/vendor/symfony/console/Application.php:167 { …} /project/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49 { …} /project/vendor/autoload_runtime.php:29 { …} /project/bin/console:11 { › › require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; › } } } ] 12:23:09 INFO [deprecation] User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::find()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory". [ "exception" => ErrorException { #message: "User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::find()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory"." #code: 0 #file: "/project/vendor/symfony/error-handler/DebugClassLoader.php" #line: 341 #severity: E_USER_DEPRECATED trace: { /project/vendor/symfony/error-handler/DebugClassLoader.php:341 { …} /project/vendor/doctrine/data-fixtures/src/Executor/AbstractExecutor.php:122 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:26 { …} /project/vendor/doctrine/orm/src/EntityManager.php:182 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:20 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/LoadDataFixturesDoctrineCommand.php:140 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/CommandCompatibility.php:18 { …} /project/vendor/symfony/console/Command/Command.php:279 { …} /project/vendor/symfony/console/Application.php:1047 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:123 { …} /project/vendor/symfony/console/Application.php:316 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:77 { …} /project/vendor/symfony/console/Application.php:167 { …} /project/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49 { …} /project/vendor/autoload_runtime.php:29 { …} /project/bin/console:11 { › › require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; › } } } ] 12:23:09 INFO [deprecation] User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::findOrCreate()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory". [ "exception" => ErrorException { #message: "User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::findOrCreate()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory"." #code: 0 #file: "/project/vendor/symfony/error-handler/DebugClassLoader.php" #line: 341 #severity: E_USER_DEPRECATED trace: { /project/vendor/symfony/error-handler/DebugClassLoader.php:341 { …} /project/vendor/doctrine/data-fixtures/src/Executor/AbstractExecutor.php:122 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:26 { …} /project/vendor/doctrine/orm/src/EntityManager.php:182 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:20 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/LoadDataFixturesDoctrineCommand.php:140 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/CommandCompatibility.php:18 { …} /project/vendor/symfony/console/Command/Command.php:279 { …} /project/vendor/symfony/console/Application.php:1047 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:123 { …} /project/vendor/symfony/console/Application.php:316 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:77 { …} /project/vendor/symfony/console/Application.php:167 { …} /project/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49 { …} /project/vendor/autoload_runtime.php:29 { …} /project/bin/console:11 { › › require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; › } } } ] 12:23:09 INFO [deprecation] User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::randomOrCreate()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory". [ "exception" => ErrorException { #message: "User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::randomOrCreate()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory"." #code: 0 #file: "/project/vendor/symfony/error-handler/DebugClassLoader.php" #line: 341 #severity: E_USER_DEPRECATED trace: { /project/vendor/symfony/error-handler/DebugClassLoader.php:341 { …} /project/vendor/doctrine/data-fixtures/src/Executor/AbstractExecutor.php:122 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:26 { …} /project/vendor/doctrine/orm/src/EntityManager.php:182 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:20 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/LoadDataFixturesDoctrineCommand.php:140 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/CommandCompatibility.php:18 { …} /project/vendor/symfony/console/Command/Command.php:279 { …} /project/vendor/symfony/console/Application.php:1047 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:123 { …} /project/vendor/symfony/console/Application.php:316 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:77 { …} /project/vendor/symfony/console/Application.php:167 { …} /project/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49 { …} /project/vendor/autoload_runtime.php:29 { …} /project/bin/console:11 { › › require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; › } } } ] 12:23:09 INFO [deprecation] User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::randomSet()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory". [ "exception" => ErrorException { #message: "User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::randomSet()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory"." #code: 0 #file: "/project/vendor/symfony/error-handler/DebugClassLoader.php" #line: 341 #severity: E_USER_DEPRECATED trace: { /project/vendor/symfony/error-handler/DebugClassLoader.php:341 { …} /project/vendor/doctrine/data-fixtures/src/Executor/AbstractExecutor.php:122 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:26 { …} /project/vendor/doctrine/orm/src/EntityManager.php:182 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:20 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/LoadDataFixturesDoctrineCommand.php:140 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/CommandCompatibility.php:18 { …} /project/vendor/symfony/console/Command/Command.php:279 { …} /project/vendor/symfony/console/Application.php:1047 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:123 { …} /project/vendor/symfony/console/Application.php:316 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:77 { …} /project/vendor/symfony/console/Application.php:167 { …} /project/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49 { …} /project/vendor/autoload_runtime.php:29 { …} /project/bin/console:11 { › › require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; › } } } ] 12:23:09 INFO [deprecation] User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::randomRange()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory". [ "exception" => ErrorException { #message: "User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::randomRange()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory"." #code: 0 #file: "/project/vendor/symfony/error-handler/DebugClassLoader.php" #line: 341 #severity: E_USER_DEPRECATED trace: { /project/vendor/symfony/error-handler/DebugClassLoader.php:341 { …} /project/vendor/doctrine/data-fixtures/src/Executor/AbstractExecutor.php:122 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:26 { …} /project/vendor/doctrine/orm/src/EntityManager.php:182 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:20 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/LoadDataFixturesDoctrineCommand.php:140 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/CommandCompatibility.php:18 { …} /project/vendor/symfony/console/Command/Command.php:279 { …} /project/vendor/symfony/console/Application.php:1047 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:123 { …} /project/vendor/symfony/console/Application.php:316 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:77 { …} /project/vendor/symfony/console/Application.php:167 { …} /project/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49 { …} /project/vendor/autoload_runtime.php:29 { …} /project/bin/console:11 { › › require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; › } } } ] 12:23:09 INFO [deprecation] User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::findBy()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory". [ "exception" => ErrorException { #message: "User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::findBy()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory"." #code: 0 #file: "/project/vendor/symfony/error-handler/DebugClassLoader.php" #line: 341 #severity: E_USER_DEPRECATED trace: { /project/vendor/symfony/error-handler/DebugClassLoader.php:341 { …} /project/vendor/doctrine/data-fixtures/src/Executor/AbstractExecutor.php:122 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:26 { …} /project/vendor/doctrine/orm/src/EntityManager.php:182 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:20 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/LoadDataFixturesDoctrineCommand.php:140 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/CommandCompatibility.php:18 { …} /project/vendor/symfony/console/Command/Command.php:279 { …} /project/vendor/symfony/console/Application.php:1047 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:123 { …} /project/vendor/symfony/console/Application.php:316 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:77 { …} /project/vendor/symfony/console/Application.php:167 { …} /project/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49 { …} /project/vendor/autoload_runtime.php:29 { …} /project/bin/console:11 { › › require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; › } } } ] 12:23:09 INFO [deprecation] User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::random()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory". [ "exception" => ErrorException { #message: "User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::random()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory"." #code: 0 #file: "/project/vendor/symfony/error-handler/DebugClassLoader.php" #line: 341 #severity: E_USER_DEPRECATED trace: { /project/vendor/symfony/error-handler/DebugClassLoader.php:341 { …} /project/vendor/doctrine/data-fixtures/src/Executor/AbstractExecutor.php:122 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:26 { …} /project/vendor/doctrine/orm/src/EntityManager.php:182 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:20 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/LoadDataFixturesDoctrineCommand.php:140 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/CommandCompatibility.php:18 { …} /project/vendor/symfony/console/Command/Command.php:279 { …} /project/vendor/symfony/console/Application.php:1047 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:123 { …} /project/vendor/symfony/console/Application.php:316 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:77 { …} /project/vendor/symfony/console/Application.php:167 { …} /project/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49 { …} /project/vendor/autoload_runtime.php:29 { …} /project/bin/console:11 { › › require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; › } } } ] 12:23:09 INFO [deprecation] User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::first()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory". [ "exception" => ErrorException { #message: "User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::first()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory"." #code: 0 #file: "/project/vendor/symfony/error-handler/DebugClassLoader.php" #line: 341 #severity: E_USER_DEPRECATED trace: { /project/vendor/symfony/error-handler/DebugClassLoader.php:341 { …} /project/vendor/doctrine/data-fixtures/src/Executor/AbstractExecutor.php:122 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:26 { …} /project/vendor/doctrine/orm/src/EntityManager.php:182 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:20 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/LoadDataFixturesDoctrineCommand.php:140 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/CommandCompatibility.php:18 { …} /project/vendor/symfony/console/Command/Command.php:279 { …} /project/vendor/symfony/console/Application.php:1047 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:123 { …} /project/vendor/symfony/console/Application.php:316 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:77 { …} /project/vendor/symfony/console/Application.php:167 { …} /project/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49 { …} /project/vendor/autoload_runtime.php:29 { …} /project/bin/console:11 { › › require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; › } } } ] 12:23:09 INFO [deprecation] User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::last()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory". [ "exception" => ErrorException { #message: "User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::last()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory"." #code: 0 #file: "/project/vendor/symfony/error-handler/DebugClassLoader.php" #line: 341 #severity: E_USER_DEPRECATED trace: { /project/vendor/symfony/error-handler/DebugClassLoader.php:341 { …} /project/vendor/doctrine/data-fixtures/src/Executor/AbstractExecutor.php:122 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:26 { …} /project/vendor/doctrine/orm/src/EntityManager.php:182 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:20 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/LoadDataFixturesDoctrineCommand.php:140 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/CommandCompatibility.php:18 { …} /project/vendor/symfony/console/Command/Command.php:279 { …} /project/vendor/symfony/console/Application.php:1047 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:123 { …} /project/vendor/symfony/console/Application.php:316 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:77 { …} /project/vendor/symfony/console/Application.php:167 { …} /project/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49 { …} /project/vendor/autoload_runtime.php:29 { …} /project/bin/console:11 { › › require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; › } } } ] 12:23:09 INFO [deprecation] User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::all()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory". [ "exception" => ErrorException { #message: "User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::all()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory"." #code: 0 #file: "/project/vendor/symfony/error-handler/DebugClassLoader.php" #line: 341 #severity: E_USER_DEPRECATED trace: { /project/vendor/symfony/error-handler/DebugClassLoader.php:341 { …} /project/vendor/doctrine/data-fixtures/src/Executor/AbstractExecutor.php:122 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:26 { …} /project/vendor/doctrine/orm/src/EntityManager.php:182 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:20 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/LoadDataFixturesDoctrineCommand.php:140 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/CommandCompatibility.php:18 { …} /project/vendor/symfony/console/Command/Command.php:279 { …} /project/vendor/symfony/console/Application.php:1047 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:123 { …} /project/vendor/symfony/console/Application.php:316 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:77 { …} /project/vendor/symfony/console/Application.php:167 { …} /project/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49 { …} /project/vendor/autoload_runtime.php:29 { …} /project/bin/console:11 { › › require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; › } } } ] 12:23:09 INFO [deprecation] User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::repository()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory". [ "exception" => ErrorException { #message: "User Deprecated: The "Zenstruck\Foundry\Persistence\PersistentObjectFactory::repository()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory"." #code: 0 #file: "/project/vendor/symfony/error-handler/DebugClassLoader.php" #line: 341 #severity: E_USER_DEPRECATED trace: { /project/vendor/symfony/error-handler/DebugClassLoader.php:341 { …} /project/vendor/doctrine/data-fixtures/src/Executor/AbstractExecutor.php:122 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:26 { …} /project/vendor/doctrine/orm/src/EntityManager.php:182 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:20 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/LoadDataFixturesDoctrineCommand.php:140 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/CommandCompatibility.php:18 { …} /project/vendor/symfony/console/Command/Command.php:279 { …} /project/vendor/symfony/console/Application.php:1047 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:123 { …} /project/vendor/symfony/console/Application.php:316 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:77 { …} /project/vendor/symfony/console/Application.php:167 { …} /project/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49 { …} /project/vendor/autoload_runtime.php:29 { …} /project/bin/console:11 { › › require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; › } } } ] 12:23:10 INFO [deprecation] User Deprecated: The "Zenstruck\Foundry\Persistence\RepositoryDecorator" class is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\ProxyRepositoryDecorator". [ "exception" => ErrorException { #message: "User Deprecated: The "Zenstruck\Foundry\Persistence\RepositoryDecorator" class is considered final. It may change without further notice as of its next major version. You should not extend it from "Zenstruck\Foundry\Persistence\ProxyRepositoryDecorator"." #code: 0 #file: "/project/vendor/symfony/error-handler/DebugClassLoader.php" #line: 341 #severity: E_USER_DEPRECATED trace: { /project/vendor/symfony/error-handler/DebugClassLoader.php:341 { …} /project/vendor/zenstruck/foundry/src/Persistence/PersistentObjectFactory.php:86 { …} /project/vendor/zenstruck/foundry/src/Persistence/PersistentProxyObjectFactory.php:65 { …} /project/vendor/zenstruck/foundry/src/Factory.php:156 { …} /project/vendor/zenstruck/foundry/src/ObjectFactory.php:47 { …} /project/vendor/zenstruck/foundry/src/Persistence/PersistentObjectFactory.php:209 { …} /project/vendor/zenstruck/foundry/src/FactoryCollection.php:73 { …} Zenstruck\Foundry\FactoryCollection::Zenstruck\Foundry\{closure}() {} /project/vendor/zenstruck/foundry/src/FactoryCollection.php:73 { …} /project/vendor/zenstruck/foundry/src/Factory.php:72 { …} /project/vendor/doctrine/data-fixtures/src/Executor/AbstractExecutor.php:122 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:26 { …} /project/vendor/doctrine/orm/src/EntityManager.php:182 { …} /project/vendor/doctrine/data-fixtures/src/Executor/ORMExecutor.php:20 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/LoadDataFixturesDoctrineCommand.php:140 { …} /project/vendor/doctrine/doctrine-fixtures-bundle/src/Command/CommandCompatibility.php:18 { …} /project/vendor/symfony/console/Command/Command.php:279 { …} /project/vendor/symfony/console/Application.php:1047 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:123 { …} /project/vendor/symfony/console/Application.php:316 { …} /project/vendor/symfony/framework-bundle/Console/Application.php:77 { …} /project/vendor/symfony/console/Application.php:167 { …} /project/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49 { …} /project/vendor/autoload_runtime.php:29 { …} /project/bin/console:11 { …} } } ]
So, I'm not sure. Either need to fix the deprecation or find a way to prevent the logs from showing in the console.
from foundry.
what I don't understand is why you got these notices. In my applications using foundry 2, they don't even show up 🤔
from foundry.
Related Issues (20)
- Performance Problem with random HOT 3
- Doctrine embeddables with v2 HOT 8
- [Tests] use 2 schemas in the same database
- Migration Guide to version 2 HOT 3
- V2 and phpstan HOT 5
- Upgrade from 1.37 to 1.38 introduce a memory leak HOT 16
- H
- [2.x] ArgumentCountError thrown when passing $attributes array to closure in event HOT 9
- Creation of dynamic property App\Entity\MyEntity::$_autoRefresh is deprecated HOT 6
- Issue with Proxy Entities in Version 2 HOT 14
- Zenstruck\Foundry\Factory::$class must not be accessed before initialization HOT 6
- Find functions do not refresh entity HOT 2
- Attribute wrapped in a Foundry Proxy is not compatible with `Symfony\Component\VarExporter\LazyProxyTrait` HOT 6
- Foundry should not remove symfony-s errorHandlers HOT 6
- Global state relationships and flush_after HOT 13
- [2.0] Problem with inversed `OneToOne` relationships HOT 4
- [2.0] No autocompletion for Proxy objects HOT 2
- [2.0] ResetDatabase with DamaDoctrineTestBundle and symfony/doctrine-messenger library HOT 1
- [2.0] Re-add `assertPersisted()` & `assertNotPersisted()` HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foundry.