Code Snippets and More

PSR-2 makes it clear

All PHP files MUST end with a single blank line.

To setup PHPStorm to insert a new blank line at the end of each file

Preferences ->
    [IDE Settings] ->
        Editor ->
            [Other] ->
                Ensure line feed at end file on save

Recent comments

© 2014 Copyright by Keyvan Akbary