Lines Matching refs:pattern
897 foreach ($ruleset->{'exclude-pattern'} as $pattern) {
898 if ($this->_shouldProcessElement($pattern) === false) {
902 if (isset($pattern['type']) === false) {
903 $pattern['type'] = 'absolute';
906 $this->ignorePatterns[(string) $pattern] = (string) $pattern['type'];
909 … echo "\t=> added global ".(string) $pattern['type'].' ignore pattern: '.(string) $pattern.PHP_EOL;
1295 foreach ($rule->{'exclude-pattern'} as $pattern) {
1296 if ($this->_shouldProcessElement($pattern) === false) {
1304 if (isset($pattern['type']) === false) {
1305 $pattern['type'] = 'absolute';
1308 $this->ignorePatterns[$code][(string) $pattern] = (string) $pattern['type'];
1311 …echo "\t\t=> added sniff-specific ".(string) $pattern['type'].' ignore pattern: '.(string) $patter…
1490 foreach ($patterns as $pattern => $type) {
1498 $ignorePatterns[] = strtr($pattern, $replacements);
1678 foreach ($this->ignorePatterns as $pattern => $type) {
1686 if (is_int($pattern) === true) {
1687 $pattern = $type;
1703 $pattern = strtr($pattern, $replacements);
1711 $pattern = '`'.$pattern.'`i';
1712 if (preg_match($pattern, $testPath) === 1) {
2131 $pattern = '/^array\(\s*([^\s^=^>]*)(\s*=>\s*(.*))?\s*\)/i';
2132 if (preg_match($pattern, $varType, $matches) !== 0) {