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:

  1. file comment is present
  2. file comment has proper license text
  3. 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)