コード例 #1
0
ファイル: Command.php プロジェクト: nemphys/magento2
 /**
  * Constructor
  *
  * @param string $reportFile Destination file to write inspection report to
  * @param int|null $minLines Minimum number of identical lines
  * @param int|null $minTokens Minimum number of identical tokens
  */
 public function __construct($reportFile, $minLines = null, $minTokens = null)
 {
     parent::__construct($reportFile);
     $this->_minLines = $minLines;
     $this->_minTokens = $minTokens;
 }
コード例 #2
0
ファイル: Command.php プロジェクト: natxetee/magento2
 /**
  * Constructor
  *
  * @param string $rulesetDir Directory that locates the inspection rules
  * @param string $reportFile Destination file to write inspection report to
  */
 public function __construct($rulesetDir, $reportFile)
 {
     parent::__construct($reportFile);
     $this->_rulesetDir = $rulesetDir;
 }