Skip to content

Commit 3ab83d2

Browse files
committed
Fix CS
1 parent a031f69 commit 3ab83d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DataCollector/ConfigDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function collect(Request $request, Response $response, \Exception $except
6464
'env' => isset($this->kernel) ? $this->kernel->getEnvironment() : 'n/a',
6565
'debug' => isset($this->kernel) ? $this->kernel->isDebug() : 'n/a',
6666
'php_version' => PHP_VERSION,
67-
'php_architecture' => PHP_INT_SIZE * 8,
67+
'php_architecture' => \PHP_INT_SIZE * 8,
6868
'php_intl_locale' => class_exists('Locale', false) && \Locale::getDefault() ? \Locale::getDefault() : 'n/a',
6969
'php_timezone' => date_default_timezone_get(),
7070
'xdebug_enabled' => \extension_loaded('xdebug'),

Tests/DataCollector/ConfigDataCollectorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function testCollect()
3333
$this->assertSame('testkernel', $c->getAppName());
3434
$this->assertMatchesRegularExpression('~^'.preg_quote($c->getPhpVersion(), '~').'~', PHP_VERSION);
3535
$this->assertMatchesRegularExpression('~'.preg_quote((string) $c->getPhpVersionExtra(), '~').'$~', PHP_VERSION);
36-
$this->assertSame(PHP_INT_SIZE * 8, $c->getPhpArchitecture());
36+
$this->assertSame(\PHP_INT_SIZE * 8, $c->getPhpArchitecture());
3737
$this->assertSame(class_exists('Locale', false) && \Locale::getDefault() ? \Locale::getDefault() : 'n/a', $c->getPhpIntlLocale());
3838
$this->assertSame(date_default_timezone_get(), $c->getPhpTimezone());
3939
$this->assertSame(Kernel::VERSION, $c->getSymfonyVersion());

0 commit comments

Comments
 (0)