Skip to content

Add native property types in Exceptions #531

Add native property types in Exceptions

Add native property types in Exceptions #531

Triggered via pull request January 15, 2024 20:40
Status Failure
Total duration 40s
Artifacts

mutation-tests.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

1 error and 5 warnings
Mutation tests with PHP 8.1
Process completed with exit code 1.
Mutation tests with PHP 8.1: src/Exceptions/LexerException.php#L30
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ * @param int $pos the position of the character * @param int $code the code of this error */ - public function __construct(string $msg = '', string $ch = '', int $pos = 0, int $code = 0) + public function __construct(string $msg = '', string $ch = '', int $pos = 0, int $code = -1) { parent::__construct($msg, $code); $this->ch = $ch;
Mutation tests with PHP 8.1: src/Exceptions/LexerException.php#L30
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ * @param int $pos the position of the character * @param int $code the code of this error */ - public function __construct(string $msg = '', string $ch = '', int $pos = 0, int $code = 0) + public function __construct(string $msg = '', string $ch = '', int $pos = -1, int $code = 0) { parent::__construct($msg, $code); $this->ch = $ch;
Mutation tests with PHP 8.1: src/Exceptions/LexerException.php#L30
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ * @param int $pos the position of the character * @param int $code the code of this error */ - public function __construct(string $msg = '', string $ch = '', int $pos = 0, int $code = 0) + public function __construct(string $msg = '', string $ch = '', int $pos = 1, int $code = 0) { parent::__construct($msg, $code); $this->ch = $ch;
Mutation tests with PHP 8.1: src/Exceptions/LexerException.php#L30
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ * @param int $pos the position of the character * @param int $code the code of this error */ - public function __construct(string $msg = '', string $ch = '', int $pos = 0, int $code = 0) + public function __construct(string $msg = '', string $ch = '', int $pos = 0, int $code = 1) { parent::__construct($msg, $code); $this->ch = $ch;
Mutation tests with PHP 8.1
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/