Skip to content

release: prepare version 0.1.1 #49

release: prepare version 0.1.1

release: prepare version 0.1.1 #49

Triggered via push March 1, 2024 09:15
Status Success
Total duration 54s
Artifacts

ci.yml

on: push
Code Quality
43s
Code Quality
Matrix: Build PHP/TYPO3
Fit to window
Zoom out
Zoom in

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/.
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#L49
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); } } /**
Code Quality: src/Extension.php#L49
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); } } /**
Code Quality: src/Extension.php#L49
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); } } /**
Code Quality: src/Extension.php#L49
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]); } } /**
Code Quality: src/Extension.php#L140
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#L140
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;
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/.