Skip to content

chevere 4

chevere 4 #31

Triggered via push December 22, 2023 12:52
Status Success
Total duration 1m 11s
Artifacts

test.yml

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

Annotations

20 warnings
PHP 8.1 test on ubuntu-latest: src/Html.php#L171
Escaped Mutant for Mutator "Assignment": --- Original +++ New @@ @@ /** @var string $description */ $description = $variable['description'] ?? ''; $replace = [str_replace('%name%', "{{$name}}", $this->variableNameHtml), $this->description('Type', $type), $this->description('Regex', $this->code($regex)), $this->description('Description', $description)]; - $return .= str_replace($search, $replace, $this->variableHtml); + $return = str_replace($search, $replace, $this->variableHtml); } return $return === '' ? '' : str_replace('%variables%', $return, $this->variablesHtml); }
PHP 8.1 test on ubuntu-latest: src/Html.php#L214
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ private function request(array $request) : string { $search = ['%headers%', '%query%', '%body%']; - $headers = $this->headers($request['headers'] ?? []); + $headers = $this->headers([] ?? $request['headers']); $replace = [$this->description('Headers', $headers), '', '']; $query = $request['query'] ?? ''; if ($query !== '') {
PHP 8.1 test on ubuntu-latest: src/Html.php#L222
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ $replace = [$this->description('Headers', $headers), '', '']; $query = $request['query'] ?? ''; if ($query !== '') { - $query = Yaml::dump($query, 20, 2); + $query = Yaml::dump($query, 19, 2); } if ($query !== '') { $replace[2] .= $this->description('Query string', <<<HTML
PHP 8.1 test on ubuntu-latest: src/Html.php#L222
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ $replace = [$this->description('Headers', $headers), '', '']; $query = $request['query'] ?? ''; if ($query !== '') { - $query = Yaml::dump($query, 20, 2); + $query = Yaml::dump($query, 21, 2); } if ($query !== '') { $replace[2] .= $this->description('Query string', <<<HTML
PHP 8.1 test on ubuntu-latest: src/Html.php#L225
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ $query = Yaml::dump($query, 20, 2); } if ($query !== '') { - $replace[2] .= $this->description('Query string', <<<HTML + $replace[1] .= $this->description('Query string', <<<HTML <pre><code class="language-yaml">{$query}</code></pre> HTML );
PHP 8.1 test on ubuntu-latest: src/Html.php#L225
Escaped Mutant for Mutator "Assignment": --- Original +++ New @@ @@ $query = Yaml::dump($query, 20, 2); } if ($query !== '') { - $replace[2] .= $this->description('Query string', <<<HTML + $replace[2] = $this->description('Query string', <<<HTML <pre><code class="language-yaml">{$query}</code></pre> HTML );
PHP 8.1 test on ubuntu-latest: src/Html.php#L234
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } $body = $request['body'] ?? ''; if ($body !== '') { - $body = Yaml::dump($body, 20, 2); + $body = Yaml::dump($body, 19, 2); $replace[2] .= $this->description('Body', <<<HTML <pre><code class="language-yaml">{$body}</code></pre> HTML
PHP 8.1 test on ubuntu-latest: src/Html.php#L234
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ } $body = $request['body'] ?? ''; if ($body !== '') { - $body = Yaml::dump($body, 20, 2); + $body = Yaml::dump($body, 21, 2); $replace[2] .= $this->description('Body', <<<HTML <pre><code class="language-yaml">{$body}</code></pre> HTML
PHP 8.1 test on ubuntu-latest: src/Html.php#L235
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ $body = $request['body'] ?? ''; if ($body !== '') { $body = Yaml::dump($body, 20, 2); - $replace[2] .= $this->description('Body', <<<HTML + $replace[1] .= $this->description('Body', <<<HTML <pre><code class="language-yaml">{$body}</code></pre> HTML );
PHP 8.1 test on ubuntu-latest: src/Html.php#L235
Escaped Mutant for Mutator "Assignment": --- Original +++ New @@ @@ $body = $request['body'] ?? ''; if ($body !== '') { $body = Yaml::dump($body, 20, 2); - $replace[2] .= $this->description('Body', <<<HTML + $replace[2] = $this->description('Body', <<<HTML <pre><code class="language-yaml">{$body}</code></pre> HTML );
PHP 8.2 test on ubuntu-latest: src/Html.php#L171
Escaped Mutant for Mutator "Assignment": --- Original +++ New @@ @@ /** @var string $description */ $description = $variable['description'] ?? ''; $replace = [str_replace('%name%', "{{$name}}", $this->variableNameHtml), $this->description('Type', $type), $this->description('Regex', $this->code($regex)), $this->description('Description', $description)]; - $return .= str_replace($search, $replace, $this->variableHtml); + $return = str_replace($search, $replace, $this->variableHtml); } return $return === '' ? '' : str_replace('%variables%', $return, $this->variablesHtml); }
PHP 8.2 test on ubuntu-latest: src/Html.php#L214
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ private function request(array $request) : string { $search = ['%headers%', '%query%', '%body%']; - $headers = $this->headers($request['headers'] ?? []); + $headers = $this->headers([] ?? $request['headers']); $replace = [$this->description('Headers', $headers), '', '']; $query = $request['query'] ?? ''; if ($query !== '') {
PHP 8.2 test on ubuntu-latest: src/Html.php#L222
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ $replace = [$this->description('Headers', $headers), '', '']; $query = $request['query'] ?? ''; if ($query !== '') { - $query = Yaml::dump($query, 20, 2); + $query = Yaml::dump($query, 19, 2); } if ($query !== '') { $replace[2] .= $this->description('Query string', <<<HTML
PHP 8.2 test on ubuntu-latest: src/Html.php#L222
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ $replace = [$this->description('Headers', $headers), '', '']; $query = $request['query'] ?? ''; if ($query !== '') { - $query = Yaml::dump($query, 20, 2); + $query = Yaml::dump($query, 21, 2); } if ($query !== '') { $replace[2] .= $this->description('Query string', <<<HTML
PHP 8.2 test on ubuntu-latest: src/Html.php#L225
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ $query = Yaml::dump($query, 20, 2); } if ($query !== '') { - $replace[2] .= $this->description('Query string', <<<HTML + $replace[1] .= $this->description('Query string', <<<HTML <pre><code class="language-yaml">{$query}</code></pre> HTML );
PHP 8.2 test on ubuntu-latest: src/Html.php#L225
Escaped Mutant for Mutator "Assignment": --- Original +++ New @@ @@ $query = Yaml::dump($query, 20, 2); } if ($query !== '') { - $replace[2] .= $this->description('Query string', <<<HTML + $replace[2] = $this->description('Query string', <<<HTML <pre><code class="language-yaml">{$query}</code></pre> HTML );
PHP 8.2 test on ubuntu-latest: src/Html.php#L234
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } $body = $request['body'] ?? ''; if ($body !== '') { - $body = Yaml::dump($body, 20, 2); + $body = Yaml::dump($body, 19, 2); $replace[2] .= $this->description('Body', <<<HTML <pre><code class="language-yaml">{$body}</code></pre> HTML
PHP 8.2 test on ubuntu-latest: src/Html.php#L234
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ } $body = $request['body'] ?? ''; if ($body !== '') { - $body = Yaml::dump($body, 20, 2); + $body = Yaml::dump($body, 21, 2); $replace[2] .= $this->description('Body', <<<HTML <pre><code class="language-yaml">{$body}</code></pre> HTML
PHP 8.2 test on ubuntu-latest: src/Html.php#L235
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ $body = $request['body'] ?? ''; if ($body !== '') { $body = Yaml::dump($body, 20, 2); - $replace[2] .= $this->description('Body', <<<HTML + $replace[1] .= $this->description('Body', <<<HTML <pre><code class="language-yaml">{$body}</code></pre> HTML );
PHP 8.2 test on ubuntu-latest: src/Html.php#L235
Escaped Mutant for Mutator "Assignment": --- Original +++ New @@ @@ $body = $request['body'] ?? ''; if ($body !== '') { $body = Yaml::dump($body, 20, 2); - $replace[2] .= $this->description('Body', <<<HTML + $replace[2] = $this->description('Body', <<<HTML <pre><code class="language-yaml">{$body}</code></pre> HTML );