chore: update rector to 0.19.5 #39
ci.yml
on: push
Code Quality
1m 13s
Matrix: Build PHP/TYPO3
Annotations
10 warnings
Build PHP/TYPO3 (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build PHP/TYPO3 (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build PHP/TYPO3 (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Code Quality
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Code Quality:
src/Extension.php#L48
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
$this->highlighter = new Highlighter();
$this->lineNumbersParser = new LineNumbersParser();
foreach ($additionalLanguages as $language) {
- $this->highlighter::registerLanguage($language[0], $language[1], $language[2] ?? false);
+ $this->highlighter::registerLanguage($language[0], $language[1], $language[1] ?? false);
}
}
public function getFilters() : array
|
Code Quality:
src/Extension.php#L48
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
$this->highlighter = new Highlighter();
$this->lineNumbersParser = new LineNumbersParser();
foreach ($additionalLanguages as $language) {
- $this->highlighter::registerLanguage($language[0], $language[1], $language[2] ?? false);
+ $this->highlighter::registerLanguage($language[0], $language[1], $language[3] ?? false);
}
}
public function getFilters() : array
|
Code Quality:
src/Extension.php#L48
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$this->highlighter = new Highlighter();
$this->lineNumbersParser = new LineNumbersParser();
foreach ($additionalLanguages as $language) {
- $this->highlighter::registerLanguage($language[0], $language[1], $language[2] ?? false);
+ $this->highlighter::registerLanguage($language[0], $language[1], $language[2] ?? true);
}
}
public function getFilters() : array
|
Code Quality:
src/Extension.php#L48
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
$this->highlighter = new Highlighter();
$this->lineNumbersParser = new LineNumbersParser();
foreach ($additionalLanguages as $language) {
- $this->highlighter::registerLanguage($language[0], $language[1], $language[2] ?? false);
+ $this->highlighter::registerLanguage($language[0], $language[1], false ?? $language[2]);
}
}
public function getFilters() : array
|
Code Quality:
src/Extension.php#L123
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
}
return \sprintf('<pre%s><code%s>%s</code></pre>', $this->classes !== '' ? ' class="' . \htmlentities($this->classes) . '"' : '', $codeClasses !== '' ? ' class="' . $codeClasses . '"' : '', $code);
}
- private function addLineNumbers(string $code, int $start = 1) : string
+ private function addLineNumbers(string $code, int $start = 0) : string
{
$lines = \explode("\n", $code);
$lineCounter = $start;
|
Code Quality:
src/Extension.php#L123
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
}
return \sprintf('<pre%s><code%s>%s</code></pre>', $this->classes !== '' ? ' class="' . \htmlentities($this->classes) . '"' : '', $codeClasses !== '' ? ' class="' . $codeClasses . '"' : '', $code);
}
- private function addLineNumbers(string $code, int $start = 1) : string
+ private function addLineNumbers(string $code, int $start = 2) : string
{
$lines = \explode("\n", $code);
$lineCounter = $start;
|