fix wrong assignment in plugin for PhpCodeSniffer

This commit is contained in:
SimonHeimberg 2017-07-17 21:30:12 +02:00
parent d512189999
commit 443d3b2a9a

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'])) {