I am using Checkstyle to go through my project's code to comply with PSR-2. PHPStorm's Reformat feature does a very good job of formatting PHP files so that they comply with the new standard but one thing it does not appear to do is insert a blank line at the end of a pure PHP file. You can find this requirement defined in PSR-2 Section 2.2 "All PHP files MUST end with a single blank line".
I have found this feature: File | Settings | IDE Settings | Editor | Ensure blank line before end of file on Save. I have not yet tried it (though will begin trying it immediately) but from what I can tell it does not solve the problem of going through all my existing code and inserting a blank line at the end of all pure PHP files.
Does anyone know of a way to implemet this?
Thank you in advance.