SCA: applied code style as per guidelines

This commit is contained in:
vladimir.reznichenko 2018-10-26 15:43:57 +02:00
parent 8dbd927a33
commit 42e96ff7a2
2 changed files with 4 additions and 4 deletions

View File

@ -635,8 +635,8 @@ class XmlFileLoaderTest extends TestCase
$resources = $container->getResources();
$fixturesDir = \dirname(__DIR__).\DIRECTORY_SEPARATOR.'Fixtures'.\DIRECTORY_SEPARATOR;
$this->assertContains(new FileResource($fixturesDir . 'xml' . \DIRECTORY_SEPARATOR . 'services_prototype.xml'), $resources);
$this->assertContains(new GlobResource($fixturesDir . 'Prototype', '/*', true), $resources);
$this->assertContains(new FileResource($fixturesDir.'xml'.\DIRECTORY_SEPARATOR.'services_prototype.xml'), $resources);
$this->assertContains(new GlobResource($fixturesDir.'Prototype', '/*', true), $resources);
$resources = array_map('strval', $resources);
$this->assertContains('reflection.Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\Foo', $resources);
$this->assertContains('reflection.Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\Sub\Bar', $resources);

View File

@ -394,8 +394,8 @@ class YamlFileLoaderTest extends TestCase
$resources = $container->getResources();
$fixturesDir = \dirname(__DIR__).\DIRECTORY_SEPARATOR.'Fixtures'.\DIRECTORY_SEPARATOR;
$this->assertContains(new FileResource($fixturesDir . 'yaml' . \DIRECTORY_SEPARATOR . 'services_prototype.yml'), $resources);
$this->assertContains(new GlobResource($fixturesDir . 'Prototype', '', true), $resources);
$this->assertContains(new FileResource($fixturesDir.'yaml'.\DIRECTORY_SEPARATOR.'services_prototype.yml'), $resources);
$this->assertContains(new GlobResource($fixturesDir.'Prototype', '', true), $resources);
$resources = array_map('strval', $resources);
$this->assertContains('reflection.Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\Foo', $resources);
$this->assertContains('reflection.Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\Sub\Bar', $resources);