Skip to content

Commit e5e5273

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

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
@@ -692,12 +692,11 @@ public function testLazyLoadedService()
692692
{
693693
$loader = new ClosureLoader($container = new ContainerBuilder());
694694
$loader->load(function (ContainerBuilder $container) {
695-
$container->set('a', new \BazClass());
696-
$definition = new Definition('BazClass');
697-
$definition->setLazy(true);
698-
$container->setDefinition('a', $definition);
699-
}
700-
);
695+
$container->set('a', new \BazClass());
696+
$definition = new Definition('BazClass');
697+
$definition->setLazy(true);
698+
$container->setDefinition('a', $definition);
699+
});
701700

702701
$container->setResourceTracking(true);
703702

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)