8000 Merge branch '5.3' into 5.4 · symfony/symfony@073501a · GitHub
[go: up one dir, main page]

Skip to content

Commit 073501a

Browse files
committed
Merge branch '5.3' into 5.4
* 5.3: Revert "bug #42831 [Mime] Update mime types (fabpot)" Clean about command description after Environment section was removed Fix implicit float to int cast [Mime] Update mime types [HttpKernel] Fix timeline in profiler
2 parents 1629b59 + 499af8d commit 073501a

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/AboutCommand.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ protected function configure()
4444
4545
The <info>PHP</info> section displays important configuration that could affect your application. The values might
4646
be different between web and CLI.
47-
48-
The <info>Environment</info> section displays the current environment variables managed by Symfony Dotenv. It will not
49-
be shown if no variables were found. The values might be different between web and CLI.
5047
EOT
5148
)
5249
;

src/Symfony/Component/Cache/Adapter/AbstractAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public static function createSystemCache(string $namespace, int $defaultLifetime
116116
return $opcache;
117117
}
118118

119-
$apcu = new ApcuAdapter($namespace, (int) $defaultLifetime / 5, $version);
119+
$apcu = new ApcuAdapter($namespace, intdiv($defaultLifetime, 5), $version);
120120
if (null !== $logger) {
121121
$apcu->setLogger($logger);
122122
}

src/Symfony/Component/HttpKernel/DataCollector/TimeDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function collect(Request $request, Response $response, \Throwable $except
4545
}
4646

4747
$this->data = [
48-
'token' => $response->headers->get('X-Debug-Token'),
48+
'token' => $request->attributes->get('_stopwatch_token'),
4949
'start_time' => $startTime * 1000,
5050
'events' => [],
5151
'stopwatch_installed' => class_exists(Stopwatch::class, false),

0 commit comments

Comments
 (0)
0