Assert fixing quality by comparing fixed files, not their produced diffs

Improved version of same code was taken from `phpcs-fixer` branch
Merge branch 'master' into in-portal

* master:
  Assert fixing quality by comparing fixed files, not their produced diffs