release: v1.22.1

This commit is contained in:
Nuno Maduro
2022-08-29 11:42:13 +01:00
parent 78b328e970
commit af6240b4ee
3 changed files with 4 additions and 3 deletions

View File

@ -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",

View File

@ -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

View File

@ -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;
} }