mirror of
https://github.com/pestphp/pest.git
synced 2026-03-12 18:57:22 +01:00
chore: fixes tests
This commit is contained in:
@ -60,8 +60,8 @@
|
|||||||
"bin/pest"
|
"bin/pest"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "php-cs-fixer fix -v",
|
"lint": "PHP_CS_FIXER_IGNORE_ENV=true php-cs-fixer fix -v",
|
||||||
"test:lint": "php-cs-fixer fix -v --dry-run",
|
"test:lint": "PHP_CS_FIXER_IGNORE_ENV=true php-cs-fixer fix -v --dry-run",
|
||||||
"test:types": "phpstan analyse --ansi --memory-limit=-1 --debug",
|
"test:types": "phpstan analyse --ansi --memory-limit=-1 --debug",
|
||||||
"test:unit": "php bin/pest --colors=always --exclude-group=integration",
|
"test:unit": "php bin/pest --colors=always --exclude-group=integration",
|
||||||
"test:parallel": "exit 1",
|
"test:parallel": "exit 1",
|
||||||
|
|||||||
@ -131,6 +131,7 @@ final class HigherOrderExpectation
|
|||||||
*/
|
*/
|
||||||
private function getValue(): mixed
|
private function getValue(): mixed
|
||||||
{
|
{
|
||||||
|
// @phpstan-ignore-next-line
|
||||||
return $this->shouldReset ? $this->original->value : $this->expectation->value;
|
return $this->shouldReset ? $this->original->value : $this->expectation->value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user