Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
release: v2.5.3
  • Loading branch information
nunomaduro committed Apr 22, 2023
1 parent d39e4f1 commit 9842e10
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 31 deletions.
6 changes: 3 additions & 3 deletions composer.json
Expand Up @@ -19,15 +19,15 @@
"require": {
"php": "^8.1.0",
"brianium/paratest": "^7.1.3",
"nunomaduro/collision": "^7.5.0",
"nunomaduro/collision": "^7.5.2",
"nunomaduro/termwind": "^1.15.1",
"pestphp/pest-plugin": "^2.0.1",
"pestphp/pest-plugin-arch": "^2.1.2",
"phpunit/phpunit": "^10.1.1"
"phpunit/phpunit": "^10.1.2"
},
"conflict": {
"webmozart/assert": "<1.11.0",
"phpunit/phpunit": ">10.1.1"
"phpunit/phpunit": ">10.1.2"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/Pest.php
Expand Up @@ -6,7 +6,7 @@

function version(): string
{
return '2.5.2';
return '2.5.3';
}

function testDirectory(string $file = ''): string
Expand Down
41 changes: 17 additions & 24 deletions src/Plugins/Help.php
Expand Up @@ -109,20 +109,16 @@ private function getContent(): array
],
], ...$content['Execution']];

$content['Selection'] = array_merge([
[
'arg' => '--bail',
'desc' => 'Stop execution upon first not-passed test',
],
[
'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']);
$content['Selection'] = [[
'arg' => '--bail',
'desc' => 'Stop execution upon first not-passed test',
], [
'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']];

$content['Reporting'] = [...$content['Reporting'], ...[
[
Expand All @@ -131,16 +127,13 @@ private function getContent(): array
],
]];

$content['Code Coverage'] = array_merge([
[
'arg' => '--coverage ',
'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',
],
], $content['Code Coverage']);
$content['Code Coverage'] = [[
'arg' => '--coverage ',
'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',
], ...$content['Code Coverage']];

$content['Profiling'] = [
[
Expand Down
2 changes: 1 addition & 1 deletion tests/.snapshots/help-command.txt
@@ -1,5 +1,5 @@

Pest Testing Framework 2.5.2.
Pest Testing Framework 2.5.3.

USAGE: pest <file> [options]

Expand Down
2 changes: 1 addition & 1 deletion tests/.snapshots/success.txt
Expand Up @@ -152,7 +152,7 @@
✓ it uses correct parent class

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

PASS Tests\Features\Exceptions
Expand Down
2 changes: 1 addition & 1 deletion tests/.snapshots/version-command.txt
@@ -1,3 +1,3 @@

Pest Testing Framework 2.5.2.
Pest Testing Framework 2.5.3.

0 comments on commit 9842e10

Please sign in to comment.