Skip to content

Commit 19e3d13

Browse files
keradusnicolas-grekas
authored andcommitted
CS: apply rules
1 parent 74f40ce commit 19e3d13

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

Compiler/ExtensionCompilerPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Symfony\Component\DependencyInjection\ContainerBuilder;
1515

1616
/**
17-
* A pass to automatically process extensions if they implement
17+
* A pass to automatically process extensions if they implement
1818
* CompilerPassInterface.
1919
*
2020
* @author Wouter J <wouter@wouterj.nl>

Tests/ContainerBuilderTest.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -756,12 +756,11 @@ public function testLazyLoadedService()
756756
{
757757
$loader = new ClosureLoader($container = new ContainerBuilder());
758758
$loader->load(function (ContainerBuilder $container) {
759-
$container->set('a', new \BazClass());
760-
$definition = new Definition('BazClass');
761-
$definition->setLazy(true);
762-
$container->setDefinition('a', $definition);
763-
}
764-
);
759+
$container->set('a', new \BazClass());
760+
$definition = new Definition('BazClass');
761+
$definition->setLazy(true);
762+
$container->setDefinition('a', $definition);
763+
});
765764

766765
$container->setResourceTracking(true);
767766

Tests/Fixtures/includes/createphar.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
}
77

88
$phar = new Phar($file, 0, 'ProjectWithXsdExtensionInPhar.phar');
9-
$phar->addFromString('ProjectWithXsdExtensionInPhar.php', <<<EOT
9+
$phar->addFromString('ProjectWithXsdExtensionInPhar.php', <<<'EOT'
1010
<?php
1111
1212
class ProjectWithXsdExtensionInPhar extends ProjectExtension
@@ -28,7 +28,7 @@ public function getAlias()
2828
}
2929
EOT
3030
);
31-
$phar->addFromString('schema/project-1.0.xsd', <<<EOT
31+
$phar->addFromString('schema/project-1.0.xsd', <<<'EOT'
3232
<?xml version="1.0" encoding="UTF-8" ?>
3333
3434
<xsd:schema xmlns="http://www.example.com/schema/projectwithxsdinphar"

0 commit comments

Comments
 (0)