Skip to content

Commit 50b7123

Browse files
committed
set name of LintCommand via function
1 parent b990ebb commit 50b7123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Classes/Command/LintCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
class LintCommand extends Command
2222
{
23-
protected static $defaultName = 'lint';
2423

2524
/**
2625
* Define severities which will lead to an exit status 0
@@ -36,6 +35,7 @@ class LintCommand extends Command
3635
protected function configure()
3736
{
3837
$this
38+
->setName('lint')
3939
->setDescription('Validates fluid components based on a specified ruleset')
4040
->addArgument(
4141
'paths',

0 commit comments

Comments
 (0)