Compare commits

..

3 Commits

Author SHA1 Message Date
f75063c420 release: 2.32.2 2024-01-23 18:12:07 +00:00
1f8e6e4e9f fix: helper access 2024-01-23 17:40:37 +00:00
bb593846e5 release: 2.32.1 2024-01-23 17:04:48 +00:00
5 changed files with 7 additions and 8 deletions

View File

@ -23,10 +23,10 @@
"nunomaduro/termwind": "^1.15.1|^2.0.0",
"pestphp/pest-plugin": "^2.1.1",
"pestphp/pest-plugin-arch": "^2.6.1",
"phpunit/phpunit": "^10.5.7"
"phpunit/phpunit": "^10.5.9"
},
"conflict": {
"phpunit/phpunit": ">10.5.7",
"phpunit/phpunit": ">10.5.9",
"sebastian/exporter": "<5.1.0",
"webmozart/assert": "<1.11.0"
},

View File

@ -6,7 +6,7 @@ namespace Pest;
function version(): string
{
return '2.32.0';
return '2.32.2';
}
function testDirectory(string $file = ''): string

View File

@ -93,10 +93,9 @@ final class Help implements HandlesArguments
*/
private function getContent(): array
{
$helpReflection = new \ReflectionClass(PHPUnitHelp::class);
$helpReflection = new PHPUnitHelp();
/** @var array<string, array<int, array{arg: string, desc: string}>> $content */
$content = $helpReflection->getConstant('HELP_TEXT');
$content = (fn (): array => $this->elements())->call($helpReflection);
$content['Configuration'] = [...[[
'arg' => '--init',

View File

@ -1,5 +1,5 @@
Pest Testing Framework 2.32.0.
Pest Testing Framework 2.32.2.
USAGE: pest <file> [options]

View File

@ -1,3 +1,3 @@
Pest Testing Framework 2.32.0.
Pest Testing Framework 2.32.2.