Remove usage of __CLASS__ outside of a class

This commit is contained in:
Robin Chalas 2016-08-03 21:26:43 +02:00
parent 1976b8bc5d
commit 9b0cbabf3e
No known key found for this signature in database
GPG Key ID: 89672113756EE03B
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
namespace Symfony\Bridge\Swiftmailer\DataCollector;
@trigger_error(__CLASS__.' class is deprecated since version 2.4 and will be removed in 3.0. Use the Symfony\Bundle\SwiftmailerBundle\DataCollector\MessageDataCollector class from SwiftmailerBundle instead. Require symfony/swiftmailer-bundle package to download SwiftmailerBundle with Composer.', E_USER_DEPRECATED);
@trigger_error('The '.__NAMESPACE__.'\MessageDataCollector class is deprecated since version 2.4 and will be removed in 3.0. Use the Symfony\Bundle\SwiftmailerBundle\DataCollector\MessageDataCollector class from SwiftmailerBundle instead. Require symfony/swiftmailer-bundle package to download SwiftmailerBundle with Composer.', E_USER_DEPRECATED);
use Symfony\Component\HttpKernel\DataCollector\DataCollector;
use Symfony\Component\HttpFoundation\Request;