mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
release: v2.5.3
This commit is contained in:
@ -19,15 +19,15 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": "^8.1.0",
|
"php": "^8.1.0",
|
||||||
"brianium/paratest": "^7.1.3",
|
"brianium/paratest": "^7.1.3",
|
||||||
"nunomaduro/collision": "^7.5.0",
|
"nunomaduro/collision": "^7.5.2",
|
||||||
"nunomaduro/termwind": "^1.15.1",
|
"nunomaduro/termwind": "^1.15.1",
|
||||||
"pestphp/pest-plugin": "^2.0.1",
|
"pestphp/pest-plugin": "^2.0.1",
|
||||||
"pestphp/pest-plugin-arch": "^2.1.2",
|
"pestphp/pest-plugin-arch": "^2.1.2",
|
||||||
"phpunit/phpunit": "^10.1.1"
|
"phpunit/phpunit": "^10.1.2"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"webmozart/assert": "<1.11.0",
|
"webmozart/assert": "<1.11.0",
|
||||||
"phpunit/phpunit": ">10.1.1"
|
"phpunit/phpunit": ">10.1.2"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@ namespace Pest;
|
|||||||
|
|
||||||
function version(): string
|
function version(): string
|
||||||
{
|
{
|
||||||
return '2.5.2';
|
return '2.5.3';
|
||||||
}
|
}
|
||||||
|
|
||||||
function testDirectory(string $file = ''): string
|
function testDirectory(string $file = ''): string
|
||||||
|
|||||||
@ -109,20 +109,16 @@ final class Help implements HandlesArguments
|
|||||||
],
|
],
|
||||||
], ...$content['Execution']];
|
], ...$content['Execution']];
|
||||||
|
|
||||||
$content['Selection'] = array_merge([
|
$content['Selection'] = [[
|
||||||
[
|
'arg' => '--bail',
|
||||||
'arg' => '--bail',
|
'desc' => 'Stop execution upon first not-passed test',
|
||||||
'desc' => 'Stop execution upon first not-passed test',
|
], [
|
||||||
],
|
'arg' => '--todos',
|
||||||
[
|
'desc' => 'Output to standard output the list of todos',
|
||||||
'arg' => '--todos',
|
], [
|
||||||
'desc' => 'Output to standard output the list of todos',
|
'arg' => '--retry',
|
||||||
],
|
'desc' => 'Run non-passing tests first and stop execution upon first error or failure',
|
||||||
[
|
], ...$content['Selection']];
|
||||||
'arg' => '--retry',
|
|
||||||
'desc' => 'Run non-passing tests first and stop execution upon first error or failure',
|
|
||||||
],
|
|
||||||
], $content['Selection']);
|
|
||||||
|
|
||||||
$content['Reporting'] = [...$content['Reporting'], ...[
|
$content['Reporting'] = [...$content['Reporting'], ...[
|
||||||
[
|
[
|
||||||
@ -131,16 +127,13 @@ final class Help implements HandlesArguments
|
|||||||
],
|
],
|
||||||
]];
|
]];
|
||||||
|
|
||||||
$content['Code Coverage'] = array_merge([
|
$content['Code Coverage'] = [[
|
||||||
[
|
'arg' => '--coverage ',
|
||||||
'arg' => '--coverage ',
|
'desc' => 'Generate code coverage report and output to standard output',
|
||||||
'desc' => 'Generate code coverage report and output to standard output',
|
], [
|
||||||
],
|
'arg' => '--coverage --min',
|
||||||
[
|
'desc' => 'Set the minimum required coverage percentage, and fail if not met',
|
||||||
'arg' => '--coverage --min',
|
], ...$content['Code Coverage']];
|
||||||
'desc' => 'Set the minimum required coverage percentage, and fail if not met',
|
|
||||||
],
|
|
||||||
], $content['Code Coverage']);
|
|
||||||
|
|
||||||
$content['Profiling'] = [
|
$content['Profiling'] = [
|
||||||
[
|
[
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Pest Testing Framework 2.5.2.
|
Pest Testing Framework 2.5.3.
|
||||||
|
|
||||||
USAGE: pest <file> [options]
|
USAGE: pest <file> [options]
|
||||||
|
|
||||||
|
|||||||
@ -152,7 +152,7 @@
|
|||||||
✓ it uses correct parent class
|
✓ it uses correct parent class
|
||||||
|
|
||||||
DEPR Tests\Features\Deprecated
|
DEPR Tests\Features\Deprecated
|
||||||
! deprecated → str_contains(): Passing null to parameter #2 ($needle) of type string is deprecated // tests/Features/Deprecated.php:6
|
! deprecated → str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated // tests/Features/Deprecated.php:6
|
||||||
✓ user deprecated
|
✓ user deprecated
|
||||||
|
|
||||||
PASS Tests\Features\Exceptions
|
PASS Tests\Features\Exceptions
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
Pest Testing Framework 2.5.2.
|
Pest Testing Framework 2.5.3.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user