@@ 758-762 (lines=5) @@ | ||
755 | } |
|
756 | ||
757 | $includeAll = true; |
|
758 | if ($this->configCache['cache'] === false |
|
759 | || $this->configCache['recordErrors'] === false |
|
760 | ) { |
|
761 | $includeAll = false; |
|
762 | } |
|
763 | ||
764 | // Work out which sniff generated the message. |
|
765 | $parts = explode('.', $code); |
|
@@ 887-891 (lines=5) @@ | ||
884 | $this->fixableCount++; |
|
885 | } |
|
886 | ||
887 | if ($this->configCache['recordErrors'] === false |
|
888 | && $includeAll === false |
|
889 | ) { |
|
890 | return true; |
|
891 | } |
|
892 | ||
893 | // Work out the error message. |
|
894 | if (isset($this->ruleset->ruleset[$sniffCode]['message']) === true) { |