Skip to content

Commit 5a8289e

Browse files
committed
[CS Fix] Consistent coding-style of concatenation operator usage
1 parent 00f9e3c commit 5a8289e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Command/RouterDebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private function formatConfigs(array $array)
184184
$string = '';
185185
ksort($array);
186186
foreach ($array as $name => $value) {
187-
$string .= ($string ? "\n" . str_repeat(' ', 13) : '') . $name . ': ' . $this->formatValue($value);
187+
$string .= ($string ? "\n".str_repeat(' ', 13) : '').$name.': '.$this->formatValue($value);
188188
}
189189

190190
return $string;

Resources/config/router.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
* @author: Albert Jessurum <ajessu@gmail.com>
2222
*/
2323

24-
if (is_file($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $_SERVER['SCRIPT_NAME'])) {
24+
if (is_file($_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.$_SERVER['SCRIPT_NAME'])) {
2525
return false;
2626
}
2727

28-
$_SERVER['SCRIPT_FILENAME'] = $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'app_dev.php';
28+
$_SERVER['SCRIPT_FILENAME'] = $_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.'app_dev.php';
2929

3030
require 'app_dev.php';

Tests/Templating/Helper/FormHelperDivLayoutTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected function getExtensions()
4747
// should be moved to the Form component once absolute file paths are supported
4848
// by the default name parser in the Templating component
4949
$reflClass = new \ReflectionClass('Symfony\Bundle\FrameworkBundle\FrameworkBundle');
50-
$root = realpath(dirname($reflClass->getFileName()) . '/Resources/views');
50+
$root = realpath(dirname($reflClass->getFileName()).'/Resources/views');
5151
$rootTheme = realpath(__DIR__.'/Resources');
5252
$templateNameParser = new StubTemplateNameParser($root, $rootTheme);
5353
$loader = new FilesystemLoader(array());

Tests/Templating/Helper/FormHelperTableLayoutTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected function getExtensions()
4747
// should be moved to the Form component once absolute file paths are supported
4848
// by the default name parser in the Templating component
4949
$reflClass = new \ReflectionClass('Symfony\Bundle\FrameworkBundle\FrameworkBundle');
50-
$root = realpath(dirname($reflClass->getFileName()) . '/Resources/views');
50+
$root = realpath(dirname($reflClass->getFileName()).'/Resources/views');
5151
$rootTheme = realpath(__DIR__.'/Resources');
5252
$templateNameParser = new StubTemplateNameParser($root, $rootTheme);
5353
$loader = new FilesystemLoader(array());

0 commit comments

Comments
 (0)