diff --git a/src/Symfony/Bundle/DoctrineBundle/Tests/Command/InfoDoctrineCommandTest.php b/src/Symfony/Bundle/DoctrineBundle/Tests/Command/InfoDoctrineCommandTest.php
index 865de2f72c..b264751949 100644
--- a/src/Symfony/Bundle/DoctrineBundle/Tests/Command/InfoDoctrineCommandTest.php
+++ b/src/Symfony/Bundle/DoctrineBundle/Tests/Command/InfoDoctrineCommandTest.php
@@ -22,14 +22,14 @@ class InfoDoctrineCommandTest extends TestCase
{
public function testAnnotationsBundle()
{
- $input = new StringInput("doctrine:mapping:info");
+ $input = new StringInput('doctrine:mapping:info');
$output = $this->getMock('Symfony\Component\Console\Output\OutputInterface');
$output->expects($this->at(0))
->method('writeln')
- ->with($this->equalTo("Found 1 entities mapped in entity manager default:"));
+ ->with($this->equalTo('Found 1 entities mapped in entity manager default:'));
$output->expects($this->at(1))
->method('writeln')
- ->with($this->equalTo("[OK] Fixtures\Bundles\YamlBundle\Entity\Test"));
+ ->with($this->equalTo('[OK] Fixtures\Bundles\YamlBundle\Entity\Test'));
$testContainer = $this->createYamlBundleTestContainer();
$kernel = $this->getMock('Symfony\Component\HttpKernel\Kernel', array(), array(), '', false);
diff --git a/src/Symfony/Bundle/DoctrineBundle/Tests/DependencyInjection/AbstractDoctrineExtensionTest.php b/src/Symfony/Bundle/DoctrineBundle/Tests/DependencyInjection/AbstractDoctrineExtensionTest.php
index 593f62b147..a01d99a880 100755
--- a/src/Symfony/Bundle/DoctrineBundle/Tests/DependencyInjection/AbstractDoctrineExtensionTest.php
+++ b/src/Symfony/Bundle/DoctrineBundle/Tests/DependencyInjection/AbstractDoctrineExtensionTest.php
@@ -689,7 +689,7 @@ abstract class AbstractDoctrineExtensionTest extends TestCase
'kernel.debug' => false,
'kernel.bundles' => $map,
'kernel.cache_dir' => sys_get_temp_dir(),
- 'kernel.root_dir' => __DIR__ . "/../../../../../" // src dir
+ 'kernel.root_dir' => __DIR__ . '/../../../../../' // src dir
)));
}
@@ -701,7 +701,7 @@ abstract class AbstractDoctrineExtensionTest extends TestCase
*/
protected function assertDICDefinitionClass($definition, $expectedClass)
{
- $this->assertEquals($expectedClass, $definition->getClass(), "Expected Class of the DIC Container Service Definition is wrong.");
+ $this->assertEquals($expectedClass, $definition->getClass(), 'Expected Class of the DIC Container Service Definition is wrong.');
}
protected function assertDICConstructorArguments($definition, $args)
diff --git a/src/Symfony/Bundle/DoctrineBundle/Tests/TestCase.php b/src/Symfony/Bundle/DoctrineBundle/Tests/TestCase.php
index 9776577d0b..969fa05024 100644
--- a/src/Symfony/Bundle/DoctrineBundle/Tests/TestCase.php
+++ b/src/Symfony/Bundle/DoctrineBundle/Tests/TestCase.php
@@ -35,7 +35,7 @@ class TestCase extends \PHPUnit_Framework_TestCase
'kernel.debug' => false,
'kernel.bundles' => array('YamlBundle' => 'Fixtures\Bundles\YamlBundle\YamlBundle'),
'kernel.cache_dir' => sys_get_temp_dir(),
- 'kernel.root_dir' => __DIR__ . "/../../../../" // src dir
+ 'kernel.root_dir' => __DIR__ . '/../../../../' // src dir
)));
$container->set('annotation_reader', new AnnotationReader());
$loader = new DoctrineExtension();
@@ -59,7 +59,7 @@ class TestCase extends \PHPUnit_Framework_TestCase
'default' => array(
'mappings' => array('YamlBundle' => array(
'type' => 'yml',
- 'dir' => __DIR__ . "/DependencyInjection/Fixtures/Bundles/YamlBundle/Resources/config/doctrine",
+ 'dir' => __DIR__ . '/DependencyInjection/Fixtures/Bundles/YamlBundle/Resources/config/doctrine',
'prefix' => 'Fixtures\Bundles\YamlBundle\Entity',
)
)