From e68976ea9da26e57ce74bf6ac4d638ded9151771 Mon Sep 17 00:00:00 2001 From: nuno maduro Date: Mon, 7 Sep 2026 12:01:12 +0100 Subject: [PATCH] release: 5.1.4 --- composer.json | 22 +++++++++---------- rector.php | 4 ++++ src/Pest.php | 2 +- ...isual_snapshot_of_help_command_output.snap | 2 +- ...isual_snapshot_of_help_command_output.snap | 2 +- 5 files changed, 18 insertions(+), 14 deletions(-) diff --git a/composer.json b/composer.json index 91278718..b346af40 100644 --- a/composer.json +++ b/composer.json @@ -25,13 +25,13 @@ "pestphp/pest-plugin-arch": "^5.0.0", "pestphp/pest-plugin-mutate": "^5.0.2", "pestphp/pest-plugin-profanity": "^5.0.0", - "phpunit/phpunit": "^13.3.1", - "symfony/process": "^8.1.5" + "phpunit/phpunit": "^13.3.2", + "symfony/process": "^8.1.6" }, "conflict": { "filp/whoops": "<2.18.3", "laravel/boost": "<2.6.0", - "phpunit/phpunit": ">13.3.1", + "phpunit/phpunit": ">13.3.2", "sebastian/exporter": "<7.0.0", "webmozart/assert": "<1.11.0" }, @@ -62,7 +62,7 @@ "require-dev": { "pestphp/pest-dev-tools": "^5.0.0", "pestphp/pest-plugin-browser": "^5.0.1", - "pestphp/pest-plugin-phpstan": "^5.2.0", + "pestphp/pest-plugin-phpstan": "^5.2.1", "pestphp/pest-plugin-rector": "^5.0.4", "pestphp/pest-plugin-type-coverage": "^5.0.2", "psy/psysh": "^0.12.24" @@ -89,15 +89,15 @@ "rector --dry-run", "pint --parallel --test" ], - "test:profanity": "php bin/pest --profanity --compact", + "test:profanity": "XDEBUG_MODE=off php bin/pest --profanity --compact", "test:type:check": "phpstan analyse --ansi --memory-limit=-1 --debug", - "test:type:coverage": "php -d memory_limit=-1 bin/pest --type-coverage --min=100", - "test:unit": "php bin/pest --exclude-group=integration --compact", - "test:inline": "php bin/pest --configuration=phpunit.inline.xml", - "test:parallel": "php bin/pest --exclude-group=integration --parallel --processes=3", - "test:integration": "php bin/pest --group=integration -v", + "test:type:coverage": "XDEBUG_MODE=off php -d memory_limit=-1 bin/pest --type-coverage --min=100", + "test:unit": "XDEBUG_MODE=off php bin/pest --exclude-group=integration --compact", + "test:inline": "XDEBUG_MODE=off php bin/pest --configuration=phpunit.inline.xml", + "test:parallel": "XDEBUG_MODE=off php bin/pest --exclude-group=integration --parallel --processes=3", + "test:integration": "XDEBUG_MODE=off php bin/pest --group=integration -v", "test:tia": "php bin/pest --group=tia -v", - "update:snapshots": "REBUILD_SNAPSHOTS=true php bin/pest --update-snapshots --exclude-group=tia", + "update:snapshots": "XDEBUG_MODE=off REBUILD_SNAPSHOTS=true php bin/pest --update-snapshots --exclude-group=tia", "test": [ "@test:lint", "@test:type:check", diff --git a/rector.php b/rector.php index d8031124..81016696 100644 --- a/rector.php +++ b/rector.php @@ -4,6 +4,7 @@ declare(strict_types=1); use Pest\Rector\Rules\UseToMatchArrayRector; use Pest\Rector\Set\PestSetList; +use Rector\CodeQuality\Rector\Isset_\IssetOnPropertyObjectToPropertyExistsRector; use Rector\CodingStyle\Rector\ArrowFunction\ArrowFunctionDelegatingCallToFirstClassCallableRector; use Rector\Config\RectorConfig; use Rector\DeadCode\Rector\ClassMethod\RemoveDuplicatedReturnSelfDocblockRector; @@ -51,6 +52,9 @@ return RectorConfig::configure() AddArrowFunctionReturnTypeRector::class => [ __DIR__.'/tests', ], + IssetOnPropertyObjectToPropertyExistsRector::class => [ + __DIR__.'/tests', + ], ]) ->withPreparedSets( deadCode: true, diff --git a/src/Pest.php b/src/Pest.php index 770dee3a..1fd47cae 100644 --- a/src/Pest.php +++ b/src/Pest.php @@ -6,7 +6,7 @@ namespace Pest; function version(): string { - return '5.1.3'; + return '5.1.4'; } function testDirectory(string $file = ''): string diff --git a/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap b/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap index 3328c10b..82befb7c 100644 --- a/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap +++ b/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap @@ -1,5 +1,5 @@ - Pest Testing Framework 5.1.3. + Pest Testing Framework 5.1.4. USAGE: pest [options] diff --git a/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap b/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap index c9fddd83..0549ac8b 100644 --- a/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap +++ b/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap @@ -1,3 +1,3 @@ - Pest Testing Framework 5.1.3. + Pest Testing Framework 5.1.4.