Merge pull request #101 from SimonHeimberg/fixPhpCs

fix wrong assignment in plugin for PhpCodeSniffer
This commit is contained in:
Dmitry Khomutov 2017-07-18 07:41:35 +07:00 committed by GitHub
commit d33cd71e8d

View file

@ -106,7 +106,7 @@ class PhpCodeSniffer extends Plugin implements ZeroConfigPluginInterface
}
if (!empty($options['allowed_errors']) && is_int($options['allowed_errors'])) {
$this->allowed_warnings = $options['allowed_errors'];
$this->allowed_errors = $options['allowed_errors'];
}
if (!empty($options['allowed_warnings']) && is_int($options['allowed_warnings'])) {