Compare commits

..

2 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
4 changed files with 5 additions and 6 deletions

View File

@ -6,7 +6,7 @@ namespace Pest;
function version(): string
{
return '2.32.1';
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.1.
Pest Testing Framework 2.32.2.
USAGE: pest <file> [options]

View File

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