Skip to content

Commit 447a3c2

Browse files
Merge branch '2.7' into 2.8
* 2.7: CS fixes Remove trailing space CS: apply rules [Yaml] Clean some messages + add test case [Form] Fix UrlType transforms valid protocols [SecurityBundle] Changed encoder configuration example to bcrypt
2 parents 3d61c76 + d89eece commit 447a3c2

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 <[email protected]>

Tests/ContainerBuilderTest.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -794,12 +794,11 @@ public function testLazyLoadedService()
794794
{
795795
$loader = new ClosureLoader($container = new ContainerBuilder());
796796
$loader->load(function (ContainerBuilder $container) {
797-
$container->set('a', new \BazClass());
798-
$definition = new Definition('BazClass');
799-
$definition->setLazy(true);
800-
$container->setDefinition('a', $definition);
801-
}
802-
);
797+
$container->set('a', new \BazClass());
798+
$definition = new Definition('BazClass');
799+
$definition->setLazy(true);
800+
$container->setDefinition('a', $definition);
801+
});
803802

804803
$container->setResourceTracking(true);
805804

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)