@@ -101,7 +101,7 @@ |
||
101 | 101 | { |
102 | 102 | $formatted = $this->formatter->format($message); |
103 | 103 | $escaped = htmlspecialchars($formatted, ENT_QUOTES, 'UTF-8'); |
104 | - $converted = preg_replace_callback(self::CLI_COLORS_PATTERN, function ($matches) { |
|
104 | + $converted = preg_replace_callback(self::CLI_COLORS_PATTERN, function($matches) { |
|
105 | 105 | return $this->replaceFormat($matches); |
106 | 106 | }, $escaped); |
107 | 107 | return $converted; |
@@ -28,7 +28,7 @@ |
||
28 | 28 | */ |
29 | 29 | public function doWrite($message, $newline) |
30 | 30 | { |
31 | - $this->buffer .= $message . (true === $newline ? PHP_EOL : ''); |
|
31 | + $this->buffer .= $message.(true === $newline ? PHP_EOL : ''); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | /** |
@@ -35,7 +35,7 @@ |
||
35 | 35 | { |
36 | 36 | $collection = new RouteCollection(); |
37 | 37 | $collection->addCollection( |
38 | - $this->yamlFileLoader->import(__DIR__ . '/../Resources/config/routing.yml') |
|
38 | + $this->yamlFileLoader->import(__DIR__.'/../Resources/config/routing.yml') |
|
39 | 39 | ); |
40 | 40 | return $collection; |
41 | 41 | } |
@@ -111,7 +111,7 @@ |
||
111 | 111 | $templatingMock = $this->prophesize(EngineInterface::class); |
112 | 112 | $that = $this; |
113 | 113 | $templatingMock->render(Argument::type('string'), Argument::type('array'))->will( |
114 | - function ($args) use ($that) { |
|
114 | + function($args) use ($that) { |
|
115 | 115 | $that->renderArguments = $args; |
116 | 116 | } |
117 | 117 | ); |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | */ |
34 | 34 | public function registerContainerConfiguration(LoaderInterface $loader) |
35 | 35 | { |
36 | - $loader->load(function (ContainerBuilder $containerBuilder) { |
|
36 | + $loader->load(function(ContainerBuilder $containerBuilder) { |
|
37 | 37 | $containerBuilder->setParameter('kernel.secret', 123); |
38 | 38 | }); |
39 | 39 | } |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | */ |
44 | 44 | public function getCacheDir() |
45 | 45 | { |
46 | - return sys_get_temp_dir() . '/_console_tests/temp'; |
|
46 | + return sys_get_temp_dir().'/_console_tests/temp'; |
|
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
@@ -51,6 +51,6 @@ discard block |
||
51 | 51 | */ |
52 | 52 | public function getLogDir() |
53 | 53 | { |
54 | - return sys_get_temp_dir() . '/_console_tests/log'; |
|
54 | + return sys_get_temp_dir().'/_console_tests/log'; |
|
55 | 55 | } |
56 | 56 | } |
@@ -31,9 +31,9 @@ |
||
31 | 31 | |
32 | 32 | public function testEscapingOutput() |
33 | 33 | { |
34 | - $this->decoratedFormatter->setStyle('error', new OutputFormatterStyle('white', 'red')); |
|
35 | - $this->decoratedFormatter->setStyle('info', new OutputFormatterStyle('green')); |
|
36 | - $this->decoratedFormatter->setStyle('comment', new OutputFormatterStyle('yellow')); |
|
34 | + $this->decoratedFormatter->setStyle('error', new OutputFormatterStyle('white', 'red')); |
|
35 | + $this->decoratedFormatter->setStyle('info', new OutputFormatterStyle('green')); |
|
36 | + $this->decoratedFormatter->setStyle('comment', new OutputFormatterStyle('yellow')); |
|
37 | 37 | $this->decoratedFormatter->setStyle('question', new OutputFormatterStyle('black', 'cyan')); |
38 | 38 | |
39 | 39 | $this->assertSame( |
@@ -26,6 +26,6 @@ |
||
26 | 26 | $this->assertSame($text, $output->getBuffer()); |
27 | 27 | |
28 | 28 | $output->write($text, true); |
29 | - $this->assertSame($text . $text . PHP_EOL, $output->getBuffer()); |
|
29 | + $this->assertSame($text.$text.PHP_EOL, $output->getBuffer()); |
|
30 | 30 | } |
31 | 31 | } |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | */ |
49 | 49 | public function getCacheDir() |
50 | 50 | { |
51 | - return sys_get_temp_dir() . '/_console_tests/temp'; |
|
51 | + return sys_get_temp_dir().'/_console_tests/temp'; |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
@@ -56,6 +56,6 @@ discard block |
||
56 | 56 | */ |
57 | 57 | public function getLogDir() |
58 | 58 | { |
59 | - return sys_get_temp_dir() . '/_console_tests/log'; |
|
59 | + return sys_get_temp_dir().'/_console_tests/log'; |
|
60 | 60 | } |
61 | 61 | } |