Fixed some minor typos and formatting issues

Oh, my bad, the regular expression allow "\s" between `<?php` and `<<<CONFIG`.
I'm sorry Javier my previous comment was wrong.