minor #14464 [Debug] Fix deprecated use of DebugClassLoader (nicolas-grekas)
This PR was merged into the 2.6 branch.
Discussion
----------
[Debug] Fix deprecated use of DebugClassLoader
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Commits
-------
4a6100a
[Debug] Fix deprecated use of DebugClassLoader
This commit is contained in:
commit
dc86ff71e2
@ -15,7 +15,7 @@ use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
|
|||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registers the file link format for the {@link \Symfony\Component\HttpKernel\DataCollector\DumpDataCollector\DumpDataCollector}.
|
* Registers the file link format for the {@link \Symfony\Component\HttpKernel\DataCollector\DumpDataCollector}.
|
||||||
*
|
*
|
||||||
* @author Christian Flothmann <christian.flothmann@xabbuh.de>
|
* @author Christian Flothmann <christian.flothmann@xabbuh.de>
|
||||||
*/
|
*/
|
||||||
|
@ -98,7 +98,7 @@ class ClassNotFoundFatalErrorHandlerTest extends \PHPUnit_Framework_TestCase
|
|||||||
$symfonyAutoloader = new SymfonyClassLoader();
|
$symfonyAutoloader = new SymfonyClassLoader();
|
||||||
$symfonyAutoloader->addPrefixes($prefixes);
|
$symfonyAutoloader->addPrefixes($prefixes);
|
||||||
|
|
||||||
$debugClassLoader = new DebugClassLoader($symfonyAutoloader);
|
$debugClassLoader = new DebugClassLoader(array($symfonyAutoloader, 'loadClass'));
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
array(
|
array(
|
||||||
|
Reference in New Issue
Block a user