File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
namespace Codeception \Command ;
3
3
4
- if (!class_exists ('Stecman\Component\Symfony\Console\BashCompletion\Completion ' )) {
5
- echo "Please install `stecman/symfony-console-completion \n` to enable auto completion " ;
6
- return ;
7
- }
8
-
9
4
use Codeception \Configuration ;
10
5
use Stecman \Component \Symfony \Console \BashCompletion \Completion as ConsoleCompletion ;
11
6
use Stecman \Component \Symfony \Console \BashCompletion \CompletionCommand ;
15
10
use Symfony \Component \Console \Input \InputOption ;
16
11
use Symfony \Component \Console \Output \OutputInterface ;
17
12
13
+ // phpcs:ignoreFile PSR1.Files.SideEffects.FoundWithSymbols
14
+ if (!class_exists (ConsoleCompletion::class)) {
15
+ echo "Please install `stecman/symfony-console-completion \n` to enable auto completion " ;
16
+ return ;
17
+ }
18
+
18
19
class Completion extends CompletionCommand
19
20
{
20
21
protected function configureCompletion (CompletionHandler $ handler )
You can’t perform that action at this time.
0 commit comments