mirror of
https://github.com/rectorphp/rector.git
synced 2025-03-14 12:29:43 +01:00
fix left-over in docs
This commit is contained in:
parent
997808b75e
commit
520a00fe28
@ -1,6 +1,3 @@
|
||||
Rector dev-types-known@d74c0d2
|
||||
Config file: /var/www/rector/rector.yml
|
||||
|
||||
# All Rectors Overview
|
||||
|
||||
- [Projects](#projects)
|
||||
@ -1510,7 +1507,7 @@ Null is no more allowed in get_class()
|
||||
|
||||
- class: `Rector\Php\Rector\FuncCall\TrailingCommaArgumentsRector`
|
||||
|
||||
Adds trailing commas to function and methods calls
|
||||
Adds trailing commas to function and methods calls
|
||||
|
||||
```diff
|
||||
calling(
|
||||
|
@ -3,6 +3,7 @@
|
||||
namespace Rector\Console;
|
||||
|
||||
use Jean85\PrettyVersions;
|
||||
use Rector\ContributorTools\Command\GenerateDocsCommand;
|
||||
use Rector\ContributorTools\Exception\Command\ContributorCommandInterface;
|
||||
use Symfony\Component\Console\Application as SymfonyApplication;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
@ -11,6 +12,7 @@ use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||
use Symplify\PackageBuilder\Console\Command\CommandNaming;
|
||||
use function Safe\getcwd;
|
||||
use function Safe\realpath;
|
||||
|
||||
@ -45,7 +47,7 @@ final class Application extends SymfonyApplication
|
||||
$shouldFollowByNewline = false;
|
||||
|
||||
// skip in this case, since generate content must be clear from meta-info
|
||||
if (is_a($input->getFirstArgument(), ContributorCommandInterface::class, true)) {
|
||||
if ($input->getFirstArgument() === CommandNaming::classToName(GenerateDocsCommand::class)) {
|
||||
return parent::doRun($input, $output);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user