minor #1348 Linter - Prefer error output when throwing a linting exception (GrahamCampbell)
minor #1348 Linter - Prefer error output when throwing a linting exception (GrahamCampbell)

This PR was squashed before being merged into the 2.0-dev branch (closes #1348).

Discussion
----------

Linter - Prefer error output when throwing a linting exception

The error output provides information that's actually useful to debug the error.

Commits
-------

2559458 Linter - Prefer error output when throwing a linting exception

GrahamCampbell/PHP-CS-Fixer,Soullivaneuh/PHP-CS-Fixer,SpacePossum/PHP-CS-Fixer,FriendsOfPHP/PHP-CS-Fixer,junichi11/PHP-CS-Fixer,Slamdunk/PHP-CS-Fixer,lucasmichot/PHP-CS-Fixer,Soullivaneuh/PHP-CS-Fixer,gharlan/PHP-CS-Fixer,Slamdunk/PHP-CS-Fixer,lucasmichot/PHP-CS-Fixer,keradus/PHP-CS-Fixer,kubawerlos/PHP-CS-Fixer,felixgomez/PHP-CS-Fixer,SpacePossum/PHP-CS-Fixer,gharlan/PHP-CS-Fixer,junichi11/PHP-CS-Fixer,FriendsOfPHP/PHP-CS-Fixer,GrahamCampbell/PHP-CS-Fixer,keradus/PHP-CS-Fixer,kubawerlos/PHP-CS-Fixer,felixgomez/PHP-CS-Fixer