Use error patterns in php-phpcs

Parsing XML is nicer in theory, but in practice PHP has notoriously
unstable output habits which tend to break XML parsing.

See #78 and #118.
[Fix #115] Remove Pyflakes

Flake8 is superior in all aspects