Skip to content

Commit 408f595

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Fix CS Fix CS
2 parents 749f14b + 8e094cb commit 408f595

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

Command/ConfigDebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
9898

9999
if (null === $path = $input->getArgument('path')) {
100100
$io->title(
101-
sprintf('Current configuration for %s', ($name === $extensionAlias ? sprintf('extension with alias "%s"', $extensionAlias) : sprintf('"%s"', $name)))
101+
sprintf('Current configuration for %s', $name === $extensionAlias ? sprintf('extension with alias "%s"', $extensionAlias) : sprintf('"%s"', $name))
102102
);
103103

104104
$io->writeln(Yaml::dump([$extensionAlias => $config], 10));

Console/Descriptor/TextDescriptor.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ protected function describeRoute(Route $route, array $options = [])
9393
['Route Name', $options['name'] ?? ''],
9494
['Path', $route->getPath()],
9595
['Path Regex', $route->compile()->getRegex()],
96-
['Host', ('' !== $route->getHost() ? $route->getHost() : 'ANY')],
97-
['Host Regex', ('' !== $route->getHost() ? $route->compile()->getHostRegex() : '')],
98-
['Scheme', ($route->getSchemes() ? implode('|', $route->getSchemes()) : 'ANY')],
99-
['Method', ($route->getMethods() ? implode('|', $route->getMethods()) : 'ANY')],
100-
['Requirements', ($route->getRequirements() ? $this->formatRouterConfig($route->getRequirements()) : 'NO CUSTOM')],
96+
['Host', '' !== $route->getHost() ? $route->getHost() : 'ANY'],
97+
['Host Regex', '' !== $route->getHost() ? $route->compile()->getHostRegex() : ''],
98+
['Scheme', $route->getSchemes() ? implode('|', $route->getSchemes()) : 'ANY'],
99+
['Method', $route->getMethods() ? implode('|', $route->getMethods()) : 'ANY'],
100+
['Requirements', $route->getRequirements() ? $this->formatRouterConfig($route->getRequirements()) : 'NO CUSTOM'],
101101
['Class', \get_class($route)],
102102
['Defaults', $this->formatRouterConfig($defaults)],
103103
['Options', $this->formatRouterConfig($route->getOptions())],

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1836,7 +1836,7 @@ private function addHttpClientRetrySection()
18361836
->integerNode('max_delay')->defaultValue(0)->min(0)->info('Max time in ms that a retry should ever be delayed (0 = infinite)')->end()
18371837
->floatNode('jitter')->defaultValue(0.1)->min(0)->max(1)->info('Randomness in percent (between 0 and 1) to apply to the delay')->end()
18381838
->end()
1839-
;
1839+
;
18401840
}
18411841

18421842
private function addMailerSection(ArrayNodeDefinition $rootNode, callable $enableIfStandalone)

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ private function registerWorkflowConfiguration(array $config, ContainerBuilder $
906906
if (isset($workflow['marking_store']['type'])) {
907907
$markingStoreDefinition = new ChildDefinition('workflow.marking_store.method');
908908
$markingStoreDefinition->setArguments([
909-
'state_machine' === $type, //single state
909+
'state_machine' === $type, // single state
910910
$workflow['marking_store']['property'],
911911
]);
912912
} elseif (isset($workflow['marking_store']['service'])) {

Resources/config/cache_debug.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@
3535
],
3636
])
3737
->tag('kernel.cache_warmer', ['priority' => 64])
38-
;
38+
;
3939
};

Resources/config/esi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121
->set('esi_listener', SurrogateListener::class)
2222
->args([service('esi')->ignoreOnInvalid()])
2323
->tag('kernel.event_subscriber')
24-
;
24+
;
2525
};

Resources/config/validator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,5 @@
102102
service('property_info'),
103103
])
104104
->tag('validator.auto_mapper')
105-
;
105+
;
106106
};

Tests/Functional/ContainerDebugCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function testDescribeEnvVars()
117117
* UNKNOWN
118118

119119
TXT
120-
, $tester->getDisplay(true));
120+
, $tester->getDisplay(true));
121121

122122
putenv('REAL');
123123
}

Tests/Translation/TranslatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function testInvalidOptions()
139139
$this->expectExceptionMessage('The Translator does not support the following options: \'foo\'');
140140
$container = $this->createMock(ContainerInterface::class);
141141

142-
(new Translator($container, new MessageFormatter(), 'en', [], ['foo' => 'bar']));
142+
new Translator($container, new MessageFormatter(), 'en', [], ['foo' => 'bar']);
143143
}
144144

145145
/** @dataProvider getDebugModeAndCacheDirCombinations */

0 commit comments

Comments
 (0)