PhpParallelLint Short tags Option expecting string
This is actually a bool already, so it should just read it straight in. Otherwise: ``` php_parallel_lint: shorttags: true ``` Won't get applied.
This commit is contained in:
parent
b82c581e4e
commit
7658504d36
|
@ -67,7 +67,7 @@ class PhpParallelLint extends Plugin implements ZeroConfigPluginInterface
|
|||
}
|
||||
|
||||
if (isset($options['shorttags'])) {
|
||||
$this->shortTag = (strtolower($options['shorttags']) == 'true');
|
||||
$this->shortTag = $options['shorttags'];
|
||||
}
|
||||
|
||||
if (isset($options['extensions'])) {
|
||||
|
|
Loading…
Reference in a new issue