issues
search
aik099
/
CodingStandard
The PHP_CodeSniffer coding standard I'm using on all of my projects
BSD 3-Clause "New" or "Revised" License
5
stars
2
forks
source link
[In-Portal] File Header Validator
#57
Open
aik099
opened
9 years ago
aik099
commented
9 years ago
Validate that:
file comment is present
file comment has proper license text
the
defined('FULL_PATH') or die('restricted access!');
is present and has 1 line empty before/after it (only for files with class/interface/trait in them)
Validate that:
defined('FULL_PATH') or die('restricted access!');
is present and has 1 line empty before/after it (only for files with class/interface/trait in them)