➕ add compat for TYPO3 13 #224
tasks.yml
on: pull_request
Matrix: lint-php
TER release
0s
Annotations
16 errors and 92 warnings
php: 8.1 TYPO3: 12 sentry/sdk: true
Process completed with exit code 1.
|
php: 8.1 TYPO3: 12 sentry/sdk: false
Process completed with exit code 1.
|
php: 8.2 TYPO3: 13 sentry/sdk: false
Process completed with exit code 1.
|
php: 8.2 TYPO3: 13 sentry/sdk: true
Process completed with exit code 1.
|
php: 8.3 TYPO3: 12 sentry/sdk: false
Process completed with exit code 1.
|
php: 8.2 TYPO3: 12 sentry/sdk: true
Process completed with exit code 1.
|
php: 8.2 TYPO3: 12 sentry/sdk: false
Process completed with exit code 1.
|
php: 8.3 TYPO3: 12 sentry/sdk: true
Process completed with exit code 1.
|
php: 8.1 TYPO3: 11 sentry/sdk: false
Process completed with exit code 1.
|
php: 8.3 TYPO3: 13 sentry/sdk: true
Process completed with exit code 1.
|
php: 8.3 TYPO3: 13 sentry/sdk: false
Process completed with exit code 1.
|
php: 8.2 TYPO3: 11 sentry/sdk: false
Process completed with exit code 1.
|
php: 8.3 TYPO3: 11 sentry/sdk: false
Process completed with exit code 1.
|
php: 8.1 TYPO3: 11 sentry/sdk: true
Process completed with exit code 1.
|
php: 8.3 TYPO3: 11 sentry/sdk: true
Process completed with exit code 1.
|
php: 8.2 TYPO3: 11 sentry/sdk: true
Process completed with exit code 1.
|
php: 8.1 TYPO3: 12 sentry/sdk: true
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/
|
php: 8.1 TYPO3: 12 sentry/sdk: true
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
php: 8.1 TYPO3: 12 sentry/sdk: false
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/
|
php: 8.1 TYPO3: 12 sentry/sdk: false
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
php: 8.2 TYPO3: 13 sentry/sdk: false
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/
|
php: 8.2 TYPO3: 13 sentry/sdk: false
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
php: 8.2 TYPO3: 13 sentry/sdk: true
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/
|
php: 8.2 TYPO3: 13 sentry/sdk: true
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
php: 8.3 TYPO3: 12 sentry/sdk: false
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/
|
php: 8.3 TYPO3: 12 sentry/sdk: false
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
php: 8.2 TYPO3: 12 sentry/sdk: true
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/
|
php: 8.2 TYPO3: 12 sentry/sdk: true
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
php: 8.2 TYPO3: 12 sentry/sdk: false
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/
|
php: 8.2 TYPO3: 12 sentry/sdk: false
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
php: 8.3 TYPO3: 12 sentry/sdk: true
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/
|
php: 8.3 TYPO3: 12 sentry/sdk: true
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
php: 8.1 TYPO3: 11 sentry/sdk: false
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/
|
php: 8.1 TYPO3: 11 sentry/sdk: false
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
php: 8.1 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L44
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 = [];
|
php: 8.1 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L133
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();
}
|
php: 8.1 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 3 ** 12 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.1 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 11 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.1 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 13 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.1 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "Minus":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 12 + strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.1 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L299
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 += strlen(',' . $timing);
|
php: 8.1 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen($timing . ',');
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|
php: 8.1 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen($timing);
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|
php: 8.1 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen(',');
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|
php: 8.3 TYPO3: 13 sentry/sdk: true
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/
|
php: 8.3 TYPO3: 13 sentry/sdk: true
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
php: 8.3 TYPO3: 13 sentry/sdk: false
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/
|
php: 8.3 TYPO3: 13 sentry/sdk: false
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
php: 8.2 TYPO3: 11 sentry/sdk: false
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/
|
php: 8.2 TYPO3: 11 sentry/sdk: false
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
php: 8.2 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L44
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 = [];
|
php: 8.2 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L133
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();
}
|
php: 8.2 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 3 ** 12 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.2 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 11 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.2 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 13 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.2 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "Minus":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 12 + strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.2 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L299
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 += strlen(',' . $timing);
|
php: 8.2 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen($timing . ',');
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|
php: 8.2 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen($timing);
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|
php: 8.2 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen(',');
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|
php: 8.3 TYPO3: 11 sentry/sdk: false
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/
|
php: 8.3 TYPO3: 11 sentry/sdk: false
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
php: 8.3 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L44
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 = [];
|
php: 8.3 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L133
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();
}
|
php: 8.3 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 3 ** 12 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.3 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 11 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.3 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 13 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.3 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "Minus":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 12 + strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.3 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L299
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 += strlen(',' . $timing);
|
php: 8.3 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen($timing . ',');
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|
php: 8.3 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen($timing);
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|
php: 8.3 TYPO3: 11 sentry/sdk: false:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen(',');
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|
php: 8.1 TYPO3: 11 sentry/sdk: true
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/
|
php: 8.1 TYPO3: 11 sentry/sdk: true
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
php: 8.1 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L44
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 = [];
|
php: 8.1 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L133
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();
}
|
php: 8.1 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 3 ** 12 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.1 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 11 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.1 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 13 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.1 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "Minus":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 12 + strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.1 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L299
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 += strlen(',' . $timing);
|
php: 8.1 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen($timing . ',');
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|
php: 8.1 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen($timing);
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|
php: 8.1 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen(',');
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|
php: 8.3 TYPO3: 11 sentry/sdk: true
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/
|
php: 8.3 TYPO3: 11 sentry/sdk: true
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
php: 8.3 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L44
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 = [];
|
php: 8.3 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L133
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();
}
|
php: 8.3 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 3 ** 12 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.3 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 11 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.3 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 13 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.3 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "Minus":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 12 + strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.3 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L299
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 += strlen(',' . $timing);
|
php: 8.3 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen($timing . ',');
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|
php: 8.3 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen($timing);
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|
php: 8.3 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen(',');
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|
php: 8.2 TYPO3: 11 sentry/sdk: true
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/
|
php: 8.2 TYPO3: 11 sentry/sdk: true
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
php: 8.2 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L44
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 = [];
|
php: 8.2 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L133
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();
}
|
php: 8.2 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 3 ** 12 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.2 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 11 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.2 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 13 - strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.2 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L170
Escaped Mutant for Mutator "Minus":
--- Original
+++ New
@@ @@
if (!$timings) {
return $response;
}
- $chunks = $this->chunkStringArray($timings, 2 ** 12 - strlen('Server-Timing: '));
+ $chunks = $this->chunkStringArray($timings, 2 ** 12 + strlen('Server-Timing: '));
$memoryUsage = $this->humanReadableFileSize(memory_get_peak_usage());
if ($response) {
return $response->withAddedHeader('Server-Timing', $chunks)->withAddedHeader('X-Max-Memory-Usage', $memoryUsage);
|
php: 8.2 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L299
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 += strlen(',' . $timing);
|
php: 8.2 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen($timing . ',');
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|
php: 8.2 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen($timing);
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|
php: 8.2 TYPO3: 11 sentry/sdk: true:
Classes/Utility/TimingUtility.php#L302
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
$length = 0;
$index = 0;
foreach ($timings as $timing) {
- $length += strlen(',' . $timing);
+ $length += strlen(',');
if ($length > $maxLength) {
$index++;
$length = strlen($timing);
|