Removed localization from logs (Because it doesn't work)

This commit is contained in:
Dmitry Khomutov 2017-02-07 19:05:44 +07:00
commit 6cff08f073
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9
32 changed files with 48 additions and 477 deletions

View file

@ -211,7 +211,7 @@ class PhpCodeSniffer extends Plugin implements ZeroConfigPluginInterface
if (!is_array($data)) {
$this->builder->log($output);
throw new \Exception(PHPCensor\Helper\Lang::get('could_not_process_report'));
throw new \Exception('Could not process the report generated by PHP Code Sniffer.');
}
$errors = $data['totals']['errors'];