Added param 'priority_path' (For all plugins) for control paths priority when we search plugin binary. Issue #104.

This commit is contained in:
Dmitry Khomutov 2017-07-19 10:26:51 +07:00
commit 59837a8ff1
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9
27 changed files with 164 additions and 94 deletions

View file

@ -57,7 +57,7 @@ class Lint extends Plugin
$this->builder->quiet = true;
$success = true;
$php = $this->builder->findBinary('php');
$php = $this->findBinary('php');
foreach ($this->directories as $dir) {
if (!$this->lintDirectory($php, $dir)) {