Skip to content

Set github action for checkout to the version #561

Set github action for checkout to the version

Set github action for checkout to the version #561

Triggered via push September 5, 2023 22:05
Status Failure
Total duration 3m 16s
Artifacts

main.yml

on: push
Matrix: CI
Fit to window
Zoom out
Zoom in

Annotations

1 error and 7 warnings
CI (8.2, normal)
qodana scan failed with exit code 1
CI (8.2, normal): src/Parser/MarkdownParser.php#L45
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ { $sampleCode = []; $chunks = preg_split(self::PATTERN, $file->getContents(), -1, PREG_SPLIT_DELIM_CAPTURE); - $startPosition = 0; + $startPosition = -1; $endPosition = 0; foreach ($chunks as $documentChunk) { $lines = explode("\n", $documentChunk);
CI (8.2, normal): src/Parser/MarkdownParser.php#L52
Escaped Mutant for Mutator "PregMatchRemoveCaret": --- Original +++ New @@ @@ foreach ($chunks as $documentChunk) { $lines = explode("\n", $documentChunk); $endPosition += count($lines); - preg_match('/^```/', $lines[0] ?? '', $matches); + preg_match('/```/', $lines[0] ?? '', $matches); if ($matches === []) { $startPosition = $endPosition; continue;
CI (8.2, normal): src/Validator/PhpValidator.php#L24
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ private PhpParser $phpParser; public function __construct(PhpParser|null $phpParser = null) { - $this->phpParser = $phpParser ?? (new ParserFactory())->create(ParserFactory::PREFER_PHP7); + $this->phpParser = (new ParserFactory())->create(ParserFactory::PREFER_PHP7) ?? $phpParser; } public function supports(SampleCode $sampleCode) : bool {
CI (8.2, normal): src/Validator/PhpValidator.php#L64
Escaped Mutant for Mutator "PregMatchRemoveFlags": --- Original +++ New @@ @@ } private function ensureCodePrefix(string $code) : string { - if (!preg_match('/<\\?(=|php)/i', $code)) { + if (!preg_match('/<\\?(=|php)/', $code)) { return '<?php ' . PHP_EOL . $code; } return $code; } }
CI (8.2, normal): src/Validator/PhpValidator.php#L65
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ private function ensureCodePrefix(string $code) : string { if (!preg_match('/<\\?(=|php)/i', $code)) { - return '<?php ' . PHP_EOL . $code; + return PHP_EOL . '<?php ' . $code; } return $code; } }
CI (8.2, normal): src/Validator/PhpValidator.php#L65
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ private function ensureCodePrefix(string $code) : string { if (!preg_match('/<\\?(=|php)/i', $code)) { - return '<?php ' . PHP_EOL . $code; + return '<?php ' . $code; } return $code; } }
CI (8.2, normal): src/Validator/PhpValidator.php#L65
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ private function ensureCodePrefix(string $code) : string { if (!preg_match('/<\\?(=|php)/i', $code)) { - return '<?php ' . PHP_EOL . $code; + return '<?php ' . $code . PHP_EOL; } return $code; } }