Skip to content

Commit 83f6f7b

Browse files
geegaNaktibalda
authored andcommitted
Fixed false negative message about stecman/symfony-console-completion packege
1 parent 0ce6194 commit 83f6f7b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/Codeception/Command/Completion.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
<?php
22
namespace Codeception\Command;
33

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-
94
use Codeception\Configuration;
105
use Stecman\Component\Symfony\Console\BashCompletion\Completion as ConsoleCompletion;
116
use Stecman\Component\Symfony\Console\BashCompletion\CompletionCommand;
@@ -15,6 +10,12 @@
1510
use Symfony\Component\Console\Input\InputOption;
1611
use Symfony\Component\Console\Output\OutputInterface;
1712

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+
1819
class Completion extends CompletionCommand
1920
{
2021
protected function configureCompletion(CompletionHandler $handler)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy