Added __unserialize method to all reflections with __serialize to fix… #79
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
continuous-integration.yml
on: push
Matrix: composer-normalize
Matrix: composer-validate
Matrix: infection
Matrix: php-cs-fixer
Matrix: psalm
Matrix: test
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#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#L26
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
if (str_starts_with($tagName, '@psalm')) {
return 1;
}
- return 0;
+ return -1;
}
}
|