Permalink
Browse files

[CS Fix] Consistent coding-style of concatenation operator usage

  • Loading branch information...
1 parent eb72e35 commit c5681f8544421f72a1a96f631c1adf3f690de8dd @canni canni committed Apr 2, 2013
View
2 Command/InitAclCommand.php
@@ -59,7 +59,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
try {
$schema->addToSchema($connection->getSchemaManager()->createSchema());
} catch (SchemaException $e) {
- $output->writeln("Aborting: " . $e->getMessage());
+ $output->writeln("Aborting: ".$e->getMessage());
return 1;
}
View
4 Templating/Helper/LogoutUrlHelper.php
@@ -101,10 +101,10 @@ private function generateLogoutUrl($key, $referenceType)
if ('/' === $logoutPath[0]) {
$request = $this->container->get('request');
- $url = UrlGeneratorInterface::ABSOLUTE_URL === $referenceType ? $request->getUriForPath($logoutPath) : $request->getBasePath() . $logoutPath;
+ $url = UrlGeneratorInterface::ABSOLUTE_URL === $referenceType ? $request->getUriForPath($logoutPath) : $request->getBasePath().$logoutPath;
if (!empty($parameters)) {
- $url .= '?' . http_build_query($parameters);
+ $url .= '?'.http_build_query($parameters);
}
} else {
$url = $this->router->generate($logoutPath, $parameters, $referenceType);
View
2 Tests/Functional/SwitchUserTest.php
@@ -23,7 +23,7 @@ public function testSwitchUser($originalUser, $targetUser, $expectedUser, $expec
{
$client = $this->createAuthenticatedClient($originalUser);
- $client->request('GET', '/profile?_switch_user=' . $targetUser);
+ $client->request('GET', '/profile?_switch_user='.$targetUser);
$this->assertEquals($expectedStatus, $client->getResponse()->getStatusCode());
$this->assertEquals($expectedUser, $client->getProfile()->getCollector('security')->getUser());
View
2 Tests/Functional/WebTestCase.php
@@ -60,7 +60,7 @@ protected static function createKernel(array $options = array())
return new $class(
$options['test_case'],
isset($options['root_config']) ? $options['root_config'] : 'config.yml',
- isset($options['environment']) ? $options['environment'] : 'securitybundletest' . strtolower($options['test_case']),
+ isset($options['environment']) ? $options['environment'] : 'securitybundletest'.strtolower($options['test_case']),
isset($options['debug']) ? $options['debug'] : true
);
}

0 comments on commit c5681f8

Please sign in to comment.