| @@ 55-64 (lines=10) @@ | ||
| 52 | /** |
|
| 53 | * {@inheritdoc} |
|
| 54 | */ |
|
| 55 | public function getActiveSniffs() |
|
| 56 | { |
|
| 57 | $this->ensureMultiJsFileIsLoaded(); |
|
| 58 | ||
| 59 | if (isset($this->multiCsFile[self::SNIFFS])) { |
|
| 60 | return $this->normalizeSniffsFromClassesToUnderscoreLowercase($this->multiCsFile[self::SNIFFS]); |
|
| 61 | } |
|
| 62 | ||
| 63 | return []; |
|
| 64 | } |
|
| 65 | ||
| 66 | /** |
|
| 67 | * {@inheritdoc} |
|
| @@ 69-78 (lines=10) @@ | ||
| 66 | /** |
|
| 67 | * {@inheritdoc} |
|
| 68 | */ |
|
| 69 | public function getActiveStandards() |
|
| 70 | { |
|
| 71 | $this->ensureMultiJsFileIsLoaded(); |
|
| 72 | ||
| 73 | if (isset($this->multiCsFile[self::STANDARDS])) { |
|
| 74 | return $this->multiCsFile[self::STANDARDS]; |
|
| 75 | } |
|
| 76 | ||
| 77 | return []; |
|
| 78 | } |
|
| 79 | ||
| 80 | /** |
|
| 81 | * {@inheritdoc} |
|
| @@ 83-92 (lines=10) @@ | ||
| 80 | /** |
|
| 81 | * {@inheritdoc} |
|
| 82 | */ |
|
| 83 | public function getExcludedSniffs() |
|
| 84 | { |
|
| 85 | $this->ensureMultiJsFileIsLoaded(); |
|
| 86 | ||
| 87 | if (isset($this->multiCsFile[self::EXCLUDED_SNIFFS])) { |
|
| 88 | return $this->multiCsFile[self::EXCLUDED_SNIFFS]; |
|
| 89 | } |
|
| 90 | ||
| 91 | return []; |
|
| 92 | } |
|
| 93 | ||
| 94 | /** |
|
| 95 | * @return string[] |
|