Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#12 Warning about unclosed php files

open
nobody
None
5
2014-08-13
2011-04-06
Ariel Shkedi
No

SLOCCount warns about unclosed php files:

Warning! Unclosed PHP file /foo.php, mode=1

But unclosed php files are not just legal, they are recommended (so that no trailing whitespace gets emitted).

See: http://framework.zend.com/manual/en/coding-standard.php-file-formatting.html

The warning is harmless, but it should be suppressed since it clutters the output with noise.

Discussion