release: 5.1.4

This commit is contained in:
nuno maduro
2026-09-07 12:01:12 +01:00
parent 17d709e32b
commit e68976ea9d
5 changed files with 18 additions and 14 deletions
+11 -11
View File
@@ -25,13 +25,13 @@
"pestphp/pest-plugin-arch": "^5.0.0", "pestphp/pest-plugin-arch": "^5.0.0",
"pestphp/pest-plugin-mutate": "^5.0.2", "pestphp/pest-plugin-mutate": "^5.0.2",
"pestphp/pest-plugin-profanity": "^5.0.0", "pestphp/pest-plugin-profanity": "^5.0.0",
"phpunit/phpunit": "^13.3.1", "phpunit/phpunit": "^13.3.2",
"symfony/process": "^8.1.5" "symfony/process": "^8.1.6"
}, },
"conflict": { "conflict": {
"filp/whoops": "<2.18.3", "filp/whoops": "<2.18.3",
"laravel/boost": "<2.6.0", "laravel/boost": "<2.6.0",
"phpunit/phpunit": ">13.3.1", "phpunit/phpunit": ">13.3.2",
"sebastian/exporter": "<7.0.0", "sebastian/exporter": "<7.0.0",
"webmozart/assert": "<1.11.0" "webmozart/assert": "<1.11.0"
}, },
@@ -62,7 +62,7 @@
"require-dev": { "require-dev": {
"pestphp/pest-dev-tools": "^5.0.0", "pestphp/pest-dev-tools": "^5.0.0",
"pestphp/pest-plugin-browser": "^5.0.1", "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-rector": "^5.0.4",
"pestphp/pest-plugin-type-coverage": "^5.0.2", "pestphp/pest-plugin-type-coverage": "^5.0.2",
"psy/psysh": "^0.12.24" "psy/psysh": "^0.12.24"
@@ -89,15 +89,15 @@
"rector --dry-run", "rector --dry-run",
"pint --parallel --test" "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:check": "phpstan analyse --ansi --memory-limit=-1 --debug",
"test:type:coverage": "php -d memory_limit=-1 bin/pest --type-coverage --min=100", "test:type:coverage": "XDEBUG_MODE=off php -d memory_limit=-1 bin/pest --type-coverage --min=100",
"test:unit": "php bin/pest --exclude-group=integration --compact", "test:unit": "XDEBUG_MODE=off php bin/pest --exclude-group=integration --compact",
"test:inline": "php bin/pest --configuration=phpunit.inline.xml", "test:inline": "XDEBUG_MODE=off php bin/pest --configuration=phpunit.inline.xml",
"test:parallel": "php bin/pest --exclude-group=integration --parallel --processes=3", "test:parallel": "XDEBUG_MODE=off php bin/pest --exclude-group=integration --parallel --processes=3",
"test:integration": "php bin/pest --group=integration -v", "test:integration": "XDEBUG_MODE=off php bin/pest --group=integration -v",
"test:tia": "php bin/pest --group=tia -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": [
"@test:lint", "@test:lint",
"@test:type:check", "@test:type:check",
+4
View File
@@ -4,6 +4,7 @@ declare(strict_types=1);
use Pest\Rector\Rules\UseToMatchArrayRector; use Pest\Rector\Rules\UseToMatchArrayRector;
use Pest\Rector\Set\PestSetList; use Pest\Rector\Set\PestSetList;
use Rector\CodeQuality\Rector\Isset_\IssetOnPropertyObjectToPropertyExistsRector;
use Rector\CodingStyle\Rector\ArrowFunction\ArrowFunctionDelegatingCallToFirstClassCallableRector; use Rector\CodingStyle\Rector\ArrowFunction\ArrowFunctionDelegatingCallToFirstClassCallableRector;
use Rector\Config\RectorConfig; use Rector\Config\RectorConfig;
use Rector\DeadCode\Rector\ClassMethod\RemoveDuplicatedReturnSelfDocblockRector; use Rector\DeadCode\Rector\ClassMethod\RemoveDuplicatedReturnSelfDocblockRector;
@@ -51,6 +52,9 @@ return RectorConfig::configure()
AddArrowFunctionReturnTypeRector::class => [ AddArrowFunctionReturnTypeRector::class => [
__DIR__.'/tests', __DIR__.'/tests',
], ],
IssetOnPropertyObjectToPropertyExistsRector::class => [
__DIR__.'/tests',
],
]) ])
->withPreparedSets( ->withPreparedSets(
deadCode: true, deadCode: true,
+1 -1
View File
@@ -6,7 +6,7 @@ namespace Pest;
function version(): string function version(): string
{ {
return '5.1.3'; return '5.1.4';
} }
function testDirectory(string $file = ''): string function testDirectory(string $file = ''): string
@@ -1,5 +1,5 @@
Pest Testing Framework 5.1.3. Pest Testing Framework 5.1.4.
USAGE: pest <file> [options] USAGE: pest <file> [options]
@@ -1,3 +1,3 @@
Pest Testing Framework 5.1.3. Pest Testing Framework 5.1.4.