Merge pull request #3490 from vlakoff/file_endings

[ci skip] Remove closing blocks at end of PHP files