@@ 718-722 (lines=5) @@ | ||
715 | } |
|
716 | ||
717 | $includeAll = true; |
|
718 | if ($this->configCache['cache'] === false |
|
719 | || $this->configCache['recordErrors'] === false |
|
720 | ) { |
|
721 | $includeAll = false; |
|
722 | } |
|
723 | ||
724 | // Work out which sniff generated the message. |
|
725 | $parts = explode('.', $code); |
|
@@ 847-851 (lines=5) @@ | ||
844 | $this->fixableCount++; |
|
845 | } |
|
846 | ||
847 | if ($this->configCache['recordErrors'] === false |
|
848 | && $includeAll === false |
|
849 | ) { |
|
850 | return true; |
|
851 | } |
|
852 | ||
853 | // Work out the error message. |
|
854 | if (isset($this->ruleset->ruleset[$sniffCode]['message']) === true) { |