public function UpgradeStatusCommands::checkstyle in Upgrade Status 8.2
Same name and namespace in other branches
- 8.3 src/Commands/UpgradeStatusCommands.php \Drupal\upgrade_status\Commands\UpgradeStatusCommands::checkstyle()
Analyze projects output as XML.
@command upgrade_status:checkstyle @option all Analyze all projects. @option skip-existing Return results from a previous scan of a project if available, otherwise start a new one. @option ignore-uninstalled Ignore uninstalled projects. @option ignore-contrib Ignore contributed projects. @option ignore-custom Ignore custom projects. @aliases us-cs
Parameters
array $projects: List of projects to analyze.
array $options: Additional options for the command.
Throws
\InvalidArgumentException Thrown when one of the passed arguments is invalid or no arguments were provided.
File
- src/
Commands/ UpgradeStatusCommands.php, line 95
Class
- UpgradeStatusCommands
- Upgrade Status Drush command
Namespace
Drupal\upgrade_status\CommandsCode
public function checkstyle(array $projects, array $options = [
'all' => FALSE,
'skip-existing' => FALSE,
'ignore-uninstalled' => FALSE,
'ignore-contrib' => FALSE,
'ignore-custom' => FALSE,
]) {
$this->mode = 'checkstyle';
$this
->analyze($projects, $options);
}