From 89a3af54a62ccc7baa128e2ffe01ddc1140825df Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Wed, 18 Mar 2020 21:53:44 -0400 Subject: [PATCH] Add slash --- src/Psalm/Internal/Provider/StatementsProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/Provider/StatementsProvider.php b/src/Psalm/Internal/Provider/StatementsProvider.php index babfde133..cf4255d01 100644 --- a/src/Psalm/Internal/Provider/StatementsProvider.php +++ b/src/Psalm/Internal/Provider/StatementsProvider.php @@ -102,7 +102,7 @@ class StatementsProvider $config = \Psalm\Config::getInstance(); if (!$this->parser_cache_provider - || (!$config->isInProjectDirs($file_path) && strpos($file_path, 'vendor')) + || (!$config->isInProjectDirs($file_path) && \strpos($file_path, 'vendor')) ) { $progress->debug('Parsing ' . $file_path . "\n");