schmittjoh / JMSTranslationBundle

Puts the Symfony2 Translation Component on steroids
http://jmsyst.com/bundles/JMSTranslationBundle
426 stars 292 forks source link

ClassLoader deprecation notice #511

Closed cloakedninjas closed 4 years ago

cloakedninjas commented 5 years ago
Q A
Bundle version 1.4.3
Symfony version 3.4.22
PHP version 7.2

Have noticed deprecated errors in my logs:

The Symfony\Component\ClassLoader\ClassLoader class is deprecated since Symfony 3.3 and will be removed in 4.0. Use Composer instead. Which is coming from: vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ClassLoader.php

Which further down the stack originates from vendor/jms/translation-bundle/JMS/TranslationBundle/DependencyInjection/JMSTranslationExtension.php

if (!class_exists('Symfony\Component\ClassLoader\ClassLoader')) {
    $loader->load('console.xml');
}

Just wanted to check if this indeed an issue with this bundle, or perhaps it's a configuration issue?

franmomu commented 4 years ago

This can be closed since https://github.com/schmittjoh/JMSTranslationBundle/pull/520 is merged

goetas commented 4 years ago

@franmomu :+1: