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:
Dave 2018-02-20 16:08:50 +00:00 committed by GitHub
parent b82c581e4e
commit 7658504d36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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