Skip to content

Commit 295f5ee

Browse files
committed
minor symfony#17472 fixed CS (fabpot)
This PR was merged into the 2.8 branch. Discussion ---------- fixed CS | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 3aafa78 fixed CS
2 parents 9188f05 + 3aafa78 commit 295f5ee

File tree

16 files changed

+11
-17
lines changed

16 files changed

+11
-17
lines changed

src/Symfony/Bridge/PhpUnit/ClockMock.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,5 +109,4 @@ function usleep(\$us)
109109
);
110110
}
111111
}
112-
113112
}

src/Symfony/Bridge/ProxyManager/LazyProxy/PhpDumper/ProxyDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function getProxyFactoryCode(Definition $definition, $id)
7474
if (defined('Symfony\Component\DependencyInjection\ContainerInterface::SCOPE_CONTAINER') && ContainerInterface::SCOPE_CONTAINER !== $scope = $definition->getScope(false)) {
7575
$instantiation .= " \$this->scopedServices['$scope']['$id'] =";
7676
}
77-
}
77+
}
7878

7979
$methodName = 'get'.Container::camelize($id).'Service';
8080
$proxyClass = $this->getProxyClassName($definition);

src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/MarkdownDescriptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ protected function describeContainerDefinition(Definition $definition, array $op
199199
$output .= "\n".'- Autowired: '.($definition->isAutowired() ? 'yes' : 'no');
200200

201201
foreach ($definition->getAutowiringTypes() as $autowiringType) {
202-
$output .= "\n".'- Autowiring Type: `'.$autowiringType.'`';
202+
$output .= "\n".'- Autowiring Type: `'.$autowiringType.'`';
203203
}
204204
}
205205

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/PropertyInfoPassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function testReturningEmptyArrayWhenNoService()
5353
{
5454
$container = $this->getMock('Symfony\Component\DependencyInjection\ContainerBuilder', array('findTaggedServiceIds'));
5555

56-
$container->expects($this->any())
56+
$container->expects($this->any())
5757
->method('findTaggedServiceIds')
5858
->will($this->returnValue(array()));
5959

src/Symfony/Bundle/SecurityBundle/DataCollector/SecurityDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function collect(Request $request, Response $response, \Exception $except
8989
if (null !== $this->logoutUrlGenerator) {
9090
$logoutUrl = $this->logoutUrlGenerator->getLogoutPath();
9191
}
92-
} catch(\Exception $e) {
92+
} catch (\Exception $e) {
9393
// fail silently when the logout URL cannot be generated
9494
}
9595

src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/UserProvider/LdapFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function addConfiguration(NodeDefinition $node)
5252
->scalarNode('search_dn')->end()
5353
->scalarNode('search_password')->end()
5454
->arrayNode('default_roles')
55-
->beforeNormalization()->ifString()->then(function($v) { return preg_split('/\s*,\s*/', $v); })->end()
55+
->beforeNormalization()->ifString()->then(function ($v) { return preg_split('/\s*,\s*/', $v); })->end()
5656
->requiresAtLeastOneElement()
5757
->prototype('scalar')->end()
5858
->end()

src/Symfony/Component/Config/ResourceCheckerInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,4 @@ public function supports(ResourceInterface $metadata);
4545
* @return bool True if the resource has not changed since the given timestamp, false otherwise.
4646
*/
4747
public function isFresh(ResourceInterface $resource, $timestamp);
48-
4948
}

src/Symfony/Component/Console/Style/SymfonyStyle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public function text($message)
151151

152152
$messages = is_array($message) ? array_values($message) : array($message);
153153
foreach ($messages as $message) {
154-
$this->writeln(sprintf(' %s', $message));
154+
$this->writeln(sprintf(' %s', $message));
155155
}
156156
}
157157

@@ -164,7 +164,7 @@ public function comment($message)
164164

165165
$messages = is_array($message) ? array_values($message) : array($message);
166166
foreach ($messages as $message) {
167-
$this->writeln(sprintf(' // %s', $message));
167+
$this->writeln(sprintf(' // %s', $message));
168168
}
169169
}
170170

src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public function provideDeprecatedSuper()
205205

206206
public function testInterfaceExtendsDeprecatedInterface()
207207
{
208-
set_error_handler(function() { return false; });
208+
set_error_handler(function () { return false; });
209209
$e = error_reporting(0);
210210
trigger_error('', E_USER_NOTICE);
211211

src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,6 @@ private function addService($id, $definition)
622622
*
623623
* This service is autowired.
624624
EOF;
625-
626625
}
627626

628627
if ($definition->isLazy()) {

0 commit comments

Comments
 (0)