Changed if statement to use brackets as discussed.
eof_ending [PSR-2] A file must always end with an empty line feed.
Merge pull request #786 from hyperunknown/static-text-extension-2

Changed if statement to use brackets as discussed.