function Notifysend::notifyErrors
Tell the user that errors/warnings have been found.
Parameters
string $msg Message to display.:
Return value
void
1 call to Notifysend::notifyErrors()
- Notifysend::generate in vendor/
squizlabs/ php_codesniffer/ src/ Reports/ Notifysend.php - Generates a summary of errors and warnings for each file processed.
File
-
vendor/
squizlabs/ php_codesniffer/ src/ Reports/ Notifysend.php, line 212
Class
Namespace
PHP_CodeSniffer\ReportsCode
protected function notifyErrors($msg) {
$cmd = $this->getBasicCommand();
$cmd .= ' -i error';
$cmd .= ' "PHP CodeSniffer: Error"';
$cmd .= ' ' . escapeshellarg(trim($msg));
exec($cmd);
}