Skip to content

Commit 5662106

Browse files
erge branch '3.1'
* 3.1: Remove trailing space 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 8b35f7f + e5e5273 commit 5662106

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
@@ -782,12 +782,11 @@ public function testLazyLoadedService()
782782
{
783783
$loader = new ClosureLoader($container = new ContainerBuilder());
784784
$loader->load(function (ContainerBuilder $container) {
785-
$container->set('a', new \BazClass());
786-
$definition = new Definition('BazClass');
787-
$definition->setLazy(true);
788-
$container->setDefinition('a', $definition);
789-
}
790-
);
785+
$container->set('a', new \BazClass());
786+
$definition = new Definition('BazClass');
787+
$definition->setLazy(true);
788+
$container->setDefinition('a', $definition);
789+
});
791790

792791
$container->setResourceTracking(true);
793792

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)