mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
style: apply fixes from PHPStan
This commit is contained in:
@ -36,7 +36,8 @@ final class PestDatasetCommand extends Command
|
|||||||
*/
|
*/
|
||||||
public function handle(): void
|
public function handle(): void
|
||||||
{
|
{
|
||||||
TestSuite::getInstance(base_path(), $this->option('test-directory', 'tests'));
|
/* @phpstan-ignore-next-line */
|
||||||
|
TestSuite::getInstance(base_path(), $this->option('test-directory'));
|
||||||
|
|
||||||
/** @var string $name */
|
/** @var string $name */
|
||||||
$name = $this->argument('name');
|
$name = $this->argument('name');
|
||||||
|
|||||||
@ -35,7 +35,8 @@ final class PestInstallCommand extends Command
|
|||||||
*/
|
*/
|
||||||
public function handle(): void
|
public function handle(): void
|
||||||
{
|
{
|
||||||
TestSuite::getInstance(base_path(), $this->option('test-directory', 'tests'));
|
/* @phpstan-ignore-next-line */
|
||||||
|
TestSuite::getInstance(base_path(), $this->option('test-directory'));
|
||||||
|
|
||||||
/* @phpstan-ignore-next-line */
|
/* @phpstan-ignore-next-line */
|
||||||
$pest = base_path(testDirectory('Pest.php'));
|
$pest = base_path(testDirectory('Pest.php'));
|
||||||
|
|||||||
@ -35,7 +35,8 @@ final class PestTestCommand extends Command
|
|||||||
*/
|
*/
|
||||||
public function handle(): void
|
public function handle(): void
|
||||||
{
|
{
|
||||||
TestSuite::getInstance(base_path(), $this->option('test-directory', 'tests'));
|
/* @phpstan-ignore-next-line */
|
||||||
|
TestSuite::getInstance(base_path(), $this->option('test-directory'));
|
||||||
|
|
||||||
/** @var string $name */
|
/** @var string $name */
|
||||||
$name = $this->argument('name');
|
$name = $this->argument('name');
|
||||||
|
|||||||
Reference in New Issue
Block a user