From 7658504d364a60864dd1ec0fede637797029ca3f Mon Sep 17 00:00:00 2001 From: Dave Date: Tue, 20 Feb 2018 16:08:50 +0000 Subject: [PATCH] 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. --- src/PHPCensor/Plugin/PhpParallelLint.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PHPCensor/Plugin/PhpParallelLint.php b/src/PHPCensor/Plugin/PhpParallelLint.php index 908e23f4..8813a9ee 100644 --- a/src/PHPCensor/Plugin/PhpParallelLint.php +++ b/src/PHPCensor/Plugin/PhpParallelLint.php @@ -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'])) {