Skip to content

ci: use correct exclude path for linting #53

ci: use correct exclude path for linting

ci: use correct exclude path for linting #53

Triggered via push October 20, 2024 18:18
Status Failure
Total duration 2m 33s
Artifacts

ci.yml

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

Annotations

1 error and 10 warnings
Code Quality
Process completed with exit code 2.
Build PHP/TYPO3 (8.1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build PHP/TYPO3 (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Code Quality
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/