CLI-1731: ACLI documentation expose MEO commands that should be hidden #1970
Annotations
1 error and 9 warnings
|
Run Infection for added files only
Process completed with exit code 1.
|
|
Run Infection for added files only:
src/Command/Ide/Wizard/IdeWizardDeleteSshKeyCommand.php#L26
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
protected function configure(): void
{
$this->setHidden(!CommandBase::isAcquiaCloudIde());
- $this->appendHelp(CommandBase::getIdeHelperText());
+
}
protected function execute(InputInterface $input, OutputInterface $output): int
{
|
|
Run Infection for added files only:
src/Command/Ide/Wizard/IdeWizardCreateSshKeyCommand.php#L24
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
protected function configure(): void
{
$this->setHidden(!CommandBase::isAcquiaCloudIde());
- $this->appendHelp(CommandBase::getIdeHelperText());
+
}
protected function execute(InputInterface $input, OutputInterface $output): int
{
|
|
Run Infection for added files only:
src/Command/Ide/IdeXdebugToggleCommand.php#L24
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
protected function configure(): void
{
$this->setHidden(!AcquiaDrupalEnvironmentDetector::isAhIdeEnv());
- $this->appendHelp(CommandBase::getIdeHelperText());
+
}
protected function execute(InputInterface $input, OutputInterface $output): int
{
|
|
Run Infection for added files only:
src/Command/Ide/IdeShareCommand.php#L29
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
protected function configure(): void
{
$this->addOption('regenerate', '', InputOption::VALUE_NONE, 'regenerate the share code')->setHidden(!AcquiaDrupalEnvironmentDetector::isAhIdeEnv());
- $this->appendHelp(CommandBase::getIdeHelperText());
+
}
protected function execute(InputInterface $input, OutputInterface $output): int
{
|
|
Run Infection for added files only:
src/Command/Ide/IdeServiceStopCommand.php#L29
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
protected function configure(): void
{
$this->addArgument('service', InputArgument::REQUIRED, 'The name of the service to stop')->addUsage('php')->addUsage('apache')->addUsage('mysql')->setHidden(!AcquiaDrupalEnvironmentDetector::isAhIdeEnv());
- $this->appendHelp(CommandBase::getIdeHelperText());
+
}
protected function execute(InputInterface $input, OutputInterface $output): int
{
|
|
Run Infection for added files only:
src/Command/Ide/IdeServiceStartCommand.php#L29
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
protected function configure(): void
{
$this->addArgument('service', InputArgument::REQUIRED, 'The name of the service to start')->addUsage('php')->addUsage('apache')->addUsage('mysql')->setHidden(!AcquiaDrupalEnvironmentDetector::isAhIdeEnv());
- $this->appendHelp(CommandBase::getIdeHelperText());
+
}
protected function execute(InputInterface $input, OutputInterface $output): int
{
|
|
Run Infection for added files only:
src/Command/Ide/IdeServiceRestartCommand.php#L29
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
protected function configure(): void
{
$this->addArgument('service', InputArgument::REQUIRED, 'The name of the service to restart')->addUsage('php')->addUsage('apache')->addUsage('mysql')->setHidden(!AcquiaDrupalEnvironmentDetector::isAhIdeEnv());
- $this->appendHelp(CommandBase::getIdeHelperText());
+
}
protected function execute(InputInterface $input, OutputInterface $output): int
{
|
|
Run Infection for added files only:
src/Command/Ide/IdePhpVersionCommand.php#L26
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
protected function configure(): void
{
$this->addArgument('version', InputArgument::REQUIRED, 'The PHP version')->setHidden(!AcquiaDrupalEnvironmentDetector::isAhIdeEnv());
- $this->appendHelp(CommandBase::getIdeHelperText());
+
}
protected function execute(InputInterface $input, OutputInterface $output): int
{
|
|
Run Infection for added files only:
src/Command/CommandBase.php#L158
Escaped Mutant for Mutator "PublicVisibility":
@@ @@
/**
* Helper text for IDE-only commands.
*/
- public static function getIdeHelperText(): string
+ protected static function getIdeHelperText(): string
{
return 'This command will only work in an IDE terminal.';
}
|
Loading