mirror of
https://github.com/pestphp/pest.git
synced 2026-03-12 02:37:22 +01:00
release: v1.22.1
This commit is contained in:
@ -59,8 +59,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",
|
"test:types": "phpstan analyse --ansi --memory-limit=-1",
|
||||||
"test:unit": "php bin/pest --colors=always --exclude-group=integration",
|
"test:unit": "php bin/pest --colors=always --exclude-group=integration",
|
||||||
"test:parallel": "php bin/pest -p --colors=always --exclude-group=integration",
|
"test:parallel": "php bin/pest -p --colors=always --exclude-group=integration",
|
||||||
|
|||||||
@ -6,7 +6,7 @@ namespace Pest;
|
|||||||
|
|
||||||
function version(): string
|
function version(): string
|
||||||
{
|
{
|
||||||
return '1.22.0';
|
return '1.22.1';
|
||||||
}
|
}
|
||||||
|
|
||||||
function testDirectory(string $file = ''): string
|
function testDirectory(string $file = ''): string
|
||||||
|
|||||||
@ -44,6 +44,7 @@ final class ExceptionTrace
|
|||||||
*/
|
*/
|
||||||
public static function removePestReferences(Throwable $t): void
|
public static function removePestReferences(Throwable $t): void
|
||||||
{
|
{
|
||||||
|
/* @phpstan-ignore-next-line */
|
||||||
if (!property_exists($t, 'serializableTrace')) {
|
if (!property_exists($t, 'serializableTrace')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user