Added support for int-mask, int-mask-of, non-falsy-string, truthy-string #80
continuous-integration.yml
on: push
Matrix: composer-normalize
Matrix: composer-validate
Matrix: infection
Matrix: php-cs-fixer
Matrix: psalm
Matrix: test
Annotations
16 errors and 3 warnings
psalm (8.1)
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- symfony/console is locked to version v7.0.2 and an update of this package was not requested.
- symfony/console v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 2
- symfony/event-dispatcher is locked to version v7.0.2 and an update of this package was not requested.
- symfony/event-dispatcher v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 3
- symfony/options-resolver is locked to version v7.0.0 and an update of this package was not requested.
- symfony/options-resolver v7.0.0 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 4
- symfony/process is locked to version v7.0.2 and an update of this package was not requested.
- symfony/process v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 5
- symfony/stopwatch is locked to version v7.0.0 and an update of this package was not requested.
- symfony/stopwatch v7.0.0 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 6
- symfony/string is locked to version v7.0.2 and an update of this package was not requested.
- symfony/string v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 7
- symfony/console v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
- vimeo/psalm 5.20.0 requires symfony/console ^4.1.6 || ^5.0 || ^6.0 || ^7.0 -> satisfiable by symfony/console[v7.0.2].
- vimeo/psalm is locked to version 5.20.0 and an update of this package was not requested.
|
psalm (8.1)
Process completed with exit code 2.
|
composer-normalize (8.1)
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- symfony/console is locked to version v7.0.2 and an update of this package was not requested.
- symfony/console v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 2
- symfony/event-dispatcher is locked to version v7.0.2 and an update of this package was not requested.
- symfony/event-dispatcher v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 3
- symfony/options-resolver is locked to version v7.0.0 and an update of this package was not requested.
- symfony/options-resolver v7.0.0 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 4
- symfony/process is locked to version v7.0.2 and an update of this package was not requested.
- symfony/process v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 5
- symfony/stopwatch is locked to version v7.0.0 and an update of this package was not requested.
- symfony/stopwatch v7.0.0 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 6
- symfony/string is locked to version v7.0.2 and an update of this package was not requested.
- symfony/string v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 7
- symfony/console v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
- vimeo/psalm 5.20.0 requires symfony/console ^4.1.6 || ^5.0 || ^6.0 || ^7.0 -> satisfiable by symfony/console[v7.0.2].
- vimeo/psalm is locked to version 5.20.0 and an update of this package was not requested.
|
composer-normalize (8.1)
Process completed with exit code 2.
|
php-cs-fixer (8.1)
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- symfony/console is locked to version v7.0.2 and an update of this package was not requested.
- symfony/console v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 2
- symfony/event-dispatcher is locked to version v7.0.2 and an update of this package was not requested.
- symfony/event-dispatcher v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 3
- symfony/options-resolver is locked to version v7.0.0 and an update of this package was not requested.
- symfony/options-resolver v7.0.0 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 4
- symfony/process is locked to version v7.0.2 and an update of this package was not requested.
- symfony/process v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 5
- symfony/stopwatch is locked to version v7.0.0 and an update of this package was not requested.
- symfony/stopwatch v7.0.0 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 6
- symfony/string is locked to version v7.0.2 and an update of this package was not requested.
- symfony/string v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 7
- symfony/console v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
- vimeo/psalm 5.20.0 requires symfony/console ^4.1.6 || ^5.0 || ^6.0 || ^7.0 -> satisfiable by symfony/console[v7.0.2].
- vimeo/psalm is locked to version 5.20.0 and an update of this package was not requested.
|
php-cs-fixer (8.1)
Process completed with exit code 2.
|
infection (8.1)
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- symfony/console is locked to version v7.0.2 and an update of this package was not requested.
- symfony/console v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 2
- symfony/event-dispatcher is locked to version v7.0.2 and an update of this package was not requested.
- symfony/event-dispatcher v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 3
- symfony/options-resolver is locked to version v7.0.0 and an update of this package was not requested.
- symfony/options-resolver v7.0.0 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 4
- symfony/process is locked to version v7.0.2 and an update of this package was not requested.
- symfony/process v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 5
- symfony/stopwatch is locked to version v7.0.0 and an update of this package was not requested.
- symfony/stopwatch v7.0.0 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 6
- symfony/string is locked to version v7.0.2 and an update of this package was not requested.
- symfony/string v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 7
- symfony/console v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
- vimeo/psalm 5.20.0 requires symfony/console ^4.1.6 || ^5.0 || ^6.0 || ^7.0 -> satisfiable by symfony/console[v7.0.2].
- vimeo/psalm is locked to version 5.20.0 and an update of this package was not requested.
|
infection (8.1)
Process completed with exit code 2.
|
test (8.1)
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- symfony/console is locked to version v7.0.2 and an update of this package was not requested.
- symfony/console v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 2
- symfony/event-dispatcher is locked to version v7.0.2 and an update of this package was not requested.
- symfony/event-dispatcher v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 3
- symfony/options-resolver is locked to version v7.0.0 and an update of this package was not requested.
- symfony/options-resolver v7.0.0 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 4
- symfony/process is locked to version v7.0.2 and an update of this package was not requested.
- symfony/process v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 5
- symfony/stopwatch is locked to version v7.0.0 and an update of this package was not requested.
- symfony/stopwatch v7.0.0 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 6
- symfony/string is locked to version v7.0.2 and an update of this package was not requested.
- symfony/string v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
Problem 7
- symfony/console v7.0.2 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement.
- vimeo/psalm 5.20.0 requires symfony/console ^4.1.6 || ^5.0 || ^6.0 || ^7.0 -> satisfiable by symfony/console[v7.0.2].
- vimeo/psalm is locked to version 5.20.0 and an update of this package was not requested.
|
test (8.1)
Process completed with exit code 2.
|
psalm (8.2)
The job was canceled because "_8_1" failed.
|
psalm (8.2)
The operation was canceled.
|
test (8.2)
The job was canceled because "_8_1" failed.
|
test (8.2)
The operation was canceled.
|
infection (8.2)
The job was canceled because "_8_1" failed.
|
infection (8.2)
The operation was canceled.
|
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;
}
}
|