mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Fix typography
This commit is contained in:
committed by
GitHub
parent
e56e818659
commit
a5af4bc5ed
4
bin/pest
4
bin/pest
@ -27,7 +27,7 @@ use Symfony\Component\Console\Output\OutputInterface;
|
|||||||
|
|
||||||
(new Provider())->register();
|
(new Provider())->register();
|
||||||
|
|
||||||
// get $rootPath based on $autoloadPath
|
// Get $rootPath based on $autoloadPath
|
||||||
$rootPath = dirname($autoloadPath, 2);
|
$rootPath = dirname($autoloadPath, 2);
|
||||||
$argv = new ArgvInput();
|
$argv = new ArgvInput();
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ use Symfony\Component\Console\Output\OutputInterface;
|
|||||||
|
|
||||||
ValidatesEnvironment::in($testSuite);
|
ValidatesEnvironment::in($testSuite);
|
||||||
|
|
||||||
// lets remove any arguments that PHPUnit does not understand
|
// Let's remove any arguments that PHPUnit does not understand
|
||||||
if ($argv->hasParameterOption('--test-directory')) {
|
if ($argv->hasParameterOption('--test-directory')) {
|
||||||
foreach ($_SERVER['argv'] as $key => $value) {
|
foreach ($_SERVER['argv'] as $key => $value) {
|
||||||
if (strpos($value, '--test-directory') !== false) {
|
if (strpos($value, '--test-directory') !== false) {
|
||||||
|
|||||||
Reference in New Issue
Block a user