Skip to content

Added __unserialize method to all reflections with __serialize to fix… #79

Added __unserialize method to all reflections with __serialize to fix…

Added __unserialize method to all reflections with __serialize to fix… #79

Triggered via push September 30, 2023 09:35
Status Success
Total duration 50s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Matrix: composer-normalize
Matrix: composer-validate
Matrix: infection
Matrix: php-cs-fixer
Matrix: psalm
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
infection (8.1): src/PhpDocParser/PhpDocParser.php#L26
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ */ final class PhpDocParser { - public function __construct(private readonly TagPrioritizer $tagPrioritizer = new PHPStanOverPsalmOverOthersTagPrioritizer(), private readonly PHPStanPhpDocParser $parser = new PHPStanPhpDocParser(typeParser: new TypeParser(new ConstExprParser()), constantExprParser: new ConstExprParser(), requireWhitespaceBeforeDescription: true), private readonly Lexer $lexer = new Lexer()) + public function __construct(private readonly TagPrioritizer $tagPrioritizer = new PHPStanOverPsalmOverOthersTagPrioritizer(), private readonly PHPStanPhpDocParser $parser = new PHPStanPhpDocParser(typeParser: new TypeParser(new ConstExprParser()), constantExprParser: new ConstExprParser(), requireWhitespaceBeforeDescription: false), private readonly Lexer $lexer = new Lexer()) { } public function parsePhpDoc(string $phpDoc) : PhpDoc
infection (8.1): src/TagPrioritizer/PHPStanOverPsalmOverOthersTagPrioritizer.php#L19
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ public function priorityFor(string $tagName) : int { if (str_starts_with($tagName, '@phpstan')) { - return 2; + return 3; } if (str_starts_with($tagName, '@psalm')) { return 1;
infection (8.1): src/TagPrioritizer/PHPStanOverPsalmOverOthersTagPrioritizer.php#L26
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ if (str_starts_with($tagName, '@psalm')) { return 1; } - return 0; + return -1; } }
infection (8.2): src/PhpDocParser/PhpDocParser.php#L26
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ */ final class PhpDocParser { - public function __construct(private readonly TagPrioritizer $tagPrioritizer = new PHPStanOverPsalmOverOthersTagPrioritizer(), private readonly PHPStanPhpDocParser $parser = new PHPStanPhpDocParser(typeParser: new TypeParser(new ConstExprParser()), constantExprParser: new ConstExprParser(), requireWhitespaceBeforeDescription: true), private readonly Lexer $lexer = new Lexer()) + public function __construct(private readonly TagPrioritizer $tagPrioritizer = new PHPStanOverPsalmOverOthersTagPrioritizer(), private readonly PHPStanPhpDocParser $parser = new PHPStanPhpDocParser(typeParser: new TypeParser(new ConstExprParser()), constantExprParser: new ConstExprParser(), requireWhitespaceBeforeDescription: false), private readonly Lexer $lexer = new Lexer()) { } public function parsePhpDoc(string $phpDoc) : PhpDoc
infection (8.2): src/TagPrioritizer/PHPStanOverPsalmOverOthersTagPrioritizer.php#L19
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ public function priorityFor(string $tagName) : int { if (str_starts_with($tagName, '@phpstan')) { - return 2; + return 3; } if (str_starts_with($tagName, '@psalm')) { return 1;
infection (8.2): src/TagPrioritizer/PHPStanOverPsalmOverOthersTagPrioritizer.php#L26
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ if (str_starts_with($tagName, '@psalm')) { return 1; } - return 0; + return -1; } }