Lines Matching refs:restrictions
496 * @param array $restrictions The sniff codes to restrict the
502 public function process($files, $standards, array $restrictions=array(), $local=false) argument
505 $this->initStandard($standards, $restrictions);
516 * @param array $restrictions The sniff codes to restrict the testing to.
521 public function initStandard($standards, array $restrictions=array(), array $exclusions=array()) argument
536 if (defined('PHP_CODESNIFFER_IN_TESTS') === true && empty($restrictions) === false) {
550 $sniffs = $this->_expandRulesetReference($restrictions[0], dirname($standard));
583 foreach ($restrictions as $sniffCode) {
1359 * @param array $restrictions The sniff class names to restrict the allowed
1367 public function registerSniffs($files, $restrictions, $exclusions) argument
1395 if (empty($restrictions) === false
1396 && in_array(strtolower($className), $restrictions) === false