Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

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

0 comments on commit c5681f8

Please sign in to comment.
Something went wrong with that request. Please try again.