today we had an outage caused by whitespace before the leading <?php in a file in wmf-config
there have been different suggestions on how to prevent that in the future:
< ori> we should just check for this very specific thing in scap
< ori> if filename.endswith('.php') and not file.startswith('<?php')
< Krenair> Let's make phpcs voting
< twentyafterfour> at deviantart we had a very strict commit hook that wouldn't accept any file with whitespace before the <?