fix wrong assignment in plugin for PhpCodeSniffer
This commit is contained in:
parent
d512189999
commit
443d3b2a9a
|
@ -106,7 +106,7 @@ class PhpCodeSniffer extends Plugin implements ZeroConfigPluginInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($options['allowed_errors']) && is_int($options['allowed_errors'])) {
|
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'])) {
|
if (!empty($options['allowed_warnings']) && is_int($options['allowed_warnings'])) {
|
||||||
|
|
Loading…
Reference in a new issue