You are here

public function Check::runCli in Security Review 8

Same as run(), but used in CLI context such as Drush.

Return value

\Drupal\security_review\CheckResult The result of running the check.

2 methods override Check::runCli()
ExecutablePhp::runCli in src/Checks/ExecutablePhp.php
Same as run(), but used in CLI context such as Drush.
FilePermissions::runCli in src/Checks/FilePermissions.php
Same as run(), but used in CLI context such as Drush.

File

src/Check.php, line 180

Class

Check
Defines a security check.

Namespace

Drupal\security_review

Code

public function runCli() {
  return $this
    ->run();
}