Skip to content

Commit 991d6f0

Browse files
Merge branch '6.4' into 7.2
* 6.4: - CS fixes
2 parents a48b5a3 + 291b51e commit 991d6f0

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Command/AboutCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int
8484
['Architecture', (\PHP_INT_SIZE * 8).' bits'],
8585
['Intl locale', class_exists(\Locale::class, false) && \Locale::getDefault() ? \Locale::getDefault() : 'n/a'],
8686
['Timezone', date_default_timezone_get().' (<comment>'.(new \DateTimeImmutable())->format(\DateTimeInterface::W3C).'</>)'],
87-
['OPcache', \extension_loaded('Zend OPcache') ? (filter_var(\ini_get('opcache.enable'), FILTER_VALIDATE_BOOLEAN) ? 'Enabled' : 'Not enabled') : 'Not installed'],
88-
['APCu', \extension_loaded('apcu') ? (filter_var(\ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? 'Enabled' : 'Not enabled') : 'Not installed'],
89-
['Xdebug', \extension_loaded('xdebug') ? ($xdebugMode && 'off' !== $xdebugMode ? 'Enabled (' . $xdebugMode . ')' : 'Not enabled') : 'Not installed'],
87+
['OPcache', \extension_loaded('Zend OPcache') ? (filter_var(\ini_get('opcache.enable'), \FILTER_VALIDATE_BOOLEAN) ? 'Enabled' : 'Not enabled') : 'Not installed'],
88+
['APCu', \extension_loaded('apcu') ? (filter_var(\ini_get('apc.enabled'), \FILTER_VALIDATE_BOOLEAN) ? 'Enabled' : 'Not enabled') : 'Not installed'],
89+
['Xdebug', \extension_loaded('xdebug') ? ($xdebugMode && 'off' !== $xdebugMode ? 'Enabled ('.$xdebugMode.')' : 'Not enabled') : 'Not installed'],
9090
];
9191

9292
$io->table([], $rows);

Command/TranslationUpdateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function __construct(
6464
parent::__construct();
6565

6666
if (!method_exists($writer, 'getFormats')) {
67-
throw new \InvalidArgumentException(sprintf('The writer class "%s" does not implement the "getFormats()" method.', $writer::class));
67+
throw new \InvalidArgumentException(\sprintf('The writer class "%s" does not implement the "getFormats()" method.', $writer::class));
6868
}
6969
}
7070

Tests/DependencyInjection/PhpFrameworkExtensionTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,10 +276,10 @@ public function testValidatorEmailValidationMode(string $mode)
276276

277277
$this->createContainerFromClosure(function (ContainerBuilder $container) use ($mode) {
278278
$container->loadFromExtension('framework', [
279-
'annotations' => false,
280-
'http_method_override' => false,
281-
'handle_all_throwables' => true,
282-
'php_errors' => ['log' => true],
279+
'annotations' => false,
280+
'http_method_override' => false,
281+
'handle_all_throwables' => true,
282+
'php_errors' => ['log' => true],
283283
'validation' => [
284284
'email_validation_mode' => $mode,
285285
],

0 commit comments

Comments
 (0)