➕ add compat for TYPO3 13 #227
Annotations
6 warnings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Classes/Utility/TimingUtility.php#L46
Escaped Mutant for Mutator "AssignCoalesce":
--- Original
+++ New
@@ @@
}
public static function getInstance() : TimingUtility
{
- return static::$instance ??= GeneralUtility::makeInstance(TimingUtility::class, new RegisterShutdownFunction(), new ConfigService());
+ return static::$instance = GeneralUtility::makeInstance(TimingUtility::class, new RegisterShutdownFunction(), new ConfigService());
}
/** @var StopWatch[] */
private array $order = [];
|
Classes/Utility/TimingUtility.php#L135
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
if (!$this->shouldTrack()) {
return $result->response;
}
- $this->alreadyShutdown = true;
+ $this->alreadyShutdown = false;
foreach (array_reverse($this->order) as $stopWatch) {
$stopWatch->stopIfNot();
}
|
Classes/Utility/TimingUtility.php#L172
Escaped Mutant for Mutator "Minus":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, self::MAX_SINGLE_HEADER_SIZE - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, self::MAX_SINGLE_HEADER_SIZE + strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
Classes/Utility/TimingUtility.php#L301
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
private function chunkStringArray(array $timings, int $maxLength) : array
{
$result = [];
- $length = 0;
+ $length = -1;
$index = 0;
foreach ($timings as $timing) {
$length += 1 + strlen($timing);
|
This job succeeded
Loading