Skip to content

Test Suite

Test Suite #1731

Triggered via schedule December 9, 2025 08:20
Status Success
Total duration 2m 52s
Artifacts

test-suite.yml

on: schedule
Static Analyze
25s
Static Analyze
Mutation Tests
2m 48s
Mutation Tests
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Mutation Tests: src/Lexer.php#L192
Escaped Mutant for Mutator "LogicalAnd": @@ @@ } protected function isTypePatternToken(string $value): bool { - return \substr($value, 0, 1) === '@' && \substr($value, \strlen($value) - 1, 1) === '@' && \strlen($value) > 1; + return (\substr($value, 0, 1) === '@' || \substr($value, \strlen($value) - 1, 1) === '@') && \strlen($value) > 1; } }
Mutation Tests: src/Lexer.php#L192
Escaped Mutant for Mutator "IncrementInteger": @@ @@ } protected function isTypePatternToken(string $value): bool { - return \substr($value, 0, 1) === '@' && \substr($value, \strlen($value) - 1, 1) === '@' && \strlen($value) > 1; + return \substr($value, 0, 1) === '@' && \substr($value, \strlen($value) - 1, 2) === '@' && \strlen($value) > 1; } }
Mutation Tests: src/Lexer.php#L192
Escaped Mutant for Mutator "DecrementInteger": @@ @@ } protected function isTypePatternToken(string $value): bool { - return \substr($value, 0, 1) === '@' && \substr($value, \strlen($value) - 1, 1) === '@' && \strlen($value) > 1; + return \substr($value, -1, 1) === '@' && \substr($value, \strlen($value) - 1, 1) === '@' && \strlen($value) > 1; } }
Mutation Tests: src/Lexer.php#L187
Escaped Mutant for Mutator "GreaterThan": @@ @@ } protected function isExpanderNameToken(string $value): bool { - return \substr($value, -1) === '(' && \strlen($value) > 1; + return \substr($value, -1) === '(' && \strlen($value) >= 1; } protected function isTypePatternToken(string $value): bool {
Mutation Tests: src/Lexer.php#L167
Escaped Mutant for Mutator "DecrementInteger": @@ @@ } protected function isStringToken(string $value): bool { - return \in_array(\substr($value, 0, 1), ['"', "'"], true); + return \in_array(\substr($value, -1, 1), ['"', "'"], true); } protected function isBooleanToken(string $value): bool {
Mutation Tests: src/Exception/UnknownTypeException.php#L14
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ public function __construct(string $type) { $this->type = '@' . $type . '@'; - parent::__construct(\sprintf('Type pattern "%s" is not supported.', $this->type), 0, null); + } public function getType(): string {
Mutation Tests: src/Exception/UnknownTypeException.php#L14
Escaped Mutant for Mutator "IncrementInteger": @@ @@ public function __construct(string $type) { $this->type = '@' . $type . '@'; - parent::__construct(\sprintf('Type pattern "%s" is not supported.', $this->type), 0, null); + parent::__construct(\sprintf('Type pattern "%s" is not supported.', $this->type), 1, null); } public function getType(): string {
Mutation Tests: src/Exception/UnknownTypeException.php#L14
Escaped Mutant for Mutator "DecrementInteger": @@ @@ public function __construct(string $type) { $this->type = '@' . $type . '@'; - parent::__construct(\sprintf('Type pattern "%s" is not supported.', $this->type), 0, null); + parent::__construct(\sprintf('Type pattern "%s" is not supported.', $this->type), -1, null); } public function getType(): string {
Mutation Tests: src/Exception/PatternException.php#L11
Escaped Mutant for Mutator "IncrementInteger": @@ @@ { public static function syntaxError(string $message, ?Exception $previous = null): self { - return new self('[Syntax Error] ' . $message, 0, $previous); + return new self('[Syntax Error] ' . $message, 1, $previous); } }
Mutation Tests: src/Exception/PatternException.php#L11
Escaped Mutant for Mutator "DecrementInteger": @@ @@ { public static function syntaxError(string $message, ?Exception $previous = null): self { - return new self('[Syntax Error] ' . $message, 0, $previous); + return new self('[Syntax Error] ' . $message, -1, $previous); } }