Skip to content

Commit 63d226d

Browse files
committed
minor #9897 fixed some PSR-0 class names (fabpot)
This PR was merged into the 2.3 branch. Discussion ---------- fixed some PSR-0 class names | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- a38e2c0 fixes PSR-0 issues in tests
2 parents b70503c + a38e2c0 commit 63d226d

File tree

42 files changed

+53
-52
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+53
-52
lines changed

src/Symfony/Bridge/Doctrine/Tests/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Bridge\Doctrine\Tests\DependencyInjection\Compiler;
12+
namespace Symfony\Bridge\Doctrine\Tests\DependencyInjection\CompilerPass;
1313

1414
use Symfony\Bridge\Doctrine\DependencyInjection\CompilerPass\RegisterEventListenersAndSubscribersPass;
1515
use Symfony\Component\DependencyInjection\ContainerBuilder;

src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/ContainerBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Bridge\ProxyManager\LazyProxy\Tests;
12+
namespace Symfony\Bridge\ProxyManager\Tests\LazyProxy;
1313

1414
require_once __DIR__ . '/Fixtures/includes/foo.php';
1515

src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/Dumper/PhpDumperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Bridge\ProxyManager\LazyProxy\Tests\Dumper;
12+
namespace Symfony\Bridge\ProxyManager\Tests\LazyProxy\Dumper;
1313

1414
use Symfony\Bridge\ProxyManager\LazyProxy\PhpDumper\ProxyDumper;
1515
use Symfony\Component\DependencyInjection\ContainerBuilder;

src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/Instantiator/RuntimeInstantiatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Bridge\ProxyManager\LazyProxy\Tests\Instantiator;
12+
namespace Symfony\Bridge\ProxyManager\Tests\LazyProxy\Instantiator;
1313

1414
use ProxyManager\Proxy\LazyLoadingInterface;
1515
use Symfony\Bridge\ProxyManager\LazyProxy\Instantiator\RuntimeInstantiator;

src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/PhpDumper/ProxyDumperTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Bridge\ProxyManager\LazyProxy\Tests\Instantiator;
12+
namespace Symfony\Bridge\ProxyManager\Tests\LazyProxy\PhpDumper;
1313

1414
use Symfony\Bridge\ProxyManager\LazyProxy\PhpDumper\ProxyDumper;
1515
use Symfony\Component\DependencyInjection\Definition;
@@ -56,8 +56,8 @@ public function testGetProxyCode()
5656
$code = $this->dumper->getProxyCode($definition);
5757

5858
$this->assertStringMatchesFormat(
59-
'%Aclass SymfonyBridgeProxyManagerLazyProxyTestsInstantiatorProxyDumperTest%aextends%w'
60-
. '\Symfony\Bridge\ProxyManager\LazyProxy\Tests\Instantiator%a',
59+
'%Aclass SymfonyBridgeProxyManagerTestsLazyProxyPhpDumperProxyDumperTest%aextends%w'
60+
. '\Symfony\Bridge\ProxyManager\Tests\LazyProxy\PhpDumper\ProxyDumperTest%a',
6161
$code
6262
);
6363
}
@@ -72,7 +72,7 @@ public function testGetProxyFactoryCode()
7272

7373
$this->assertStringMatchesFormat(
7474
'%wif ($lazyLoad) {%w$container = $this;%wreturn $this->services[\'foo\'] = new '
75-
. 'SymfonyBridgeProxyManagerLazyProxyTestsInstantiatorProxyDumperTest_%s(%wfunction '
75+
. 'SymfonyBridgeProxyManagerTestsLazyProxyPhpDumperProxyDumperTest_%s(%wfunction '
7676
. '(&$wrappedInstance, \ProxyManager\Proxy\LazyLoadingInterface $proxy) use ($container) {'
7777
. '%w$wrappedInstance = $container->getFooService(false);%w$proxy->setProxyInitializer(null);'
7878
. '%wreturn true;%w}%w);%w}%w',

src/Symfony/Bridge/Twig/Tests/TokenParser/FormThemeTokenParserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Bridge\Twig\Tests\Node;
12+
namespace Symfony\Bridge\Twig\Tests\TokenParser;
1313

1414
use Symfony\Bridge\Twig\Tests\TestCase;
1515
use Symfony\Bridge\Twig\TokenParser\FormThemeTokenParser;

src/Symfony/Bundle/FrameworkBundle/Tests/Routing/RouterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\Routing\Route;
1616
use Symfony\Component\Routing\RouteCollection;
1717

18-
class RoutingTest extends \PHPUnit_Framework_TestCase
18+
class RouterTest extends \PHPUnit_Framework_TestCase
1919
{
2020
public function testGenerateWithServiceParam()
2121
{

src/Symfony/Component/Config/Tests/ConfigCacheTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Symfony\Component\Config\ConfigCache;
1515
use Symfony\Component\Config\Resource\FileResource;
1616

17-
class ConfigTest extends \PHPUnit_Framework_TestCase
17+
class ConfigCacheTest extends \PHPUnit_Framework_TestCase
1818
{
1919
private $resourceFile = null;
2020

src/Symfony/Component/Config/Tests/Definition/NormalizationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Symfony\Component\Config\Definition\NodeInterface;
1515
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
1616

17-
class NormalizerTest extends \PHPUnit_Framework_TestCase
17+
class NormalizationTest extends \PHPUnit_Framework_TestCase
1818
{
1919
/**
2020
* @dataProvider getEncoderTests

0 commit comments

Comments
 (0)