コード例 #1
0
ファイル: ClassCommentSniff.php プロジェクト: asgrim/joind.in
 /**
  * Processes this test, when one of its tokens is encountered. Overrides to relax some
  * requirements.
  *
  * @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
  * @param int                  $stackPtr  The position of the current token
  *                                        in the stack passed in $tokens.
  *
  * @return void
  */
 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
 {
     // Relaxations for joind.in
     $this->tags['author']['required'] = false;
     $this->tags['link']['required'] = false;
     $this->tags['version']['required'] = false;
     return parent::process($phpcsFile, $stackPtr);
 }