Struct type #82
Annotations
1 error and 5 warnings
Infection coverage of changed lines
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Infection coverage of changed lines:
src/Parser/Tokenizer.php#L119
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
}
continue;
}
- if (self::isIdentifierChar($char, first: true)) {
+ if (self::isIdentifierChar($char, first: false)) {
$startCol = $column;
(yield new ParsedToken(self::identifier($chars, $line, $column), $line, $startCol));
continue;
|
Infection coverage of changed lines:
src/Parser/Tokenizer.php#L137
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
private static function identifier(Peekable $chars, int $line, int &$column) : string
{
$identifier = '';
- $first = true;
+ $first = false;
while (true) {
$char = $chars->peek();
if ($char === null) {
|
Infection coverage of changed lines:
src/Parser/Tokenizer.php#L259
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
}
return new Literal($string);
}
- private static function isIdentifierChar(string $char, bool $first = false) : bool
+ private static function isIdentifierChar(string $char, bool $first = true) : bool
{
$byte = ord($char);
$isChar = $byte >= self::LOWER_A && $byte <= self::LOWER_Z || $byte >= self::UPPER_A && $byte <= self::UPPER_Z;
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "coverage-8.1", "coverage-8.2", "coverage-8.3", "infection-log-8.1.txt", "infection-log-8.2.txt", "infection-log-8.3.txt".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Loading