@@ 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 | private function ensureMultiJsFileIsLoaded() |
|
95 | { |