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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue