From 368354cf693d0612199bc8a8877f216b876b7a5c Mon Sep 17 00:00:00 2001 From: Felix Becker Date: Mon, 30 Jan 2017 11:48:58 +0100 Subject: [PATCH] Fix path --- src/ComposerScripts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ComposerScripts.php b/src/ComposerScripts.php index d9e11ab..c84a176 100644 --- a/src/ComposerScripts.php +++ b/src/ComposerScripts.php @@ -33,14 +33,14 @@ class ComposerScripts $definitionResolver = new DefinitionResolver($index); $stubsLocation = null; - foreach ([__DIR__ . '/../../../JetBrains/phpstorm-stubs', __DIR__ . '/../vendor/JetBrains/phpstorm-stubs'] as $dir) { + foreach ([__DIR__ . '/../../../jetbrains/phpstorm-stubs', __DIR__ . '/../vendor/jetbrains/phpstorm-stubs'] as $dir) { if (file_exists($dir)) { $stubsLocation = Path::canonicalize($dir); break; } } if (!$stubsLocation) { - throw new \Exception('JetBrains/phpstorm-stubs package not found'); + throw new \Exception('jetbrains/phpstorm-stubs package not found'); } $uris = yield $finder->find("$stubsLocation/**/*.php");