function Notifysend::getBasicCommand
Generate and return the basic notify-send command string to execute.
Return value
string Shell command with common parameters.
2 calls to Notifysend::getBasicCommand()
- Notifysend::notifyAllFine in vendor/
squizlabs/ php_codesniffer/ src/ Reports/ Notifysend.php - Tell the user that all is fine and no error/warning has been found.
- Notifysend::notifyErrors in vendor/
squizlabs/ php_codesniffer/ src/ Reports/ Notifysend.php - Tell the user that errors/warnings have been found.
File
-
vendor/
squizlabs/ php_codesniffer/ src/ Reports/ Notifysend.php, line 228
Class
Namespace
PHP_CodeSniffer\ReportsCode
protected function getBasicCommand() {
$cmd = $this->path;
$cmd .= ' --category dev.validate';
$cmd .= ' -h int:transient:1';
$cmd .= ' -t ' . (int) $this->timeout;
if (version_compare($this->version, '0.7.3', '>=') === true) {
$cmd .= ' -a phpcs';
}
return $cmd;
}