File tree Expand file tree Collapse file tree 2 files changed +3
-21
lines changed Expand file tree Collapse file tree 2 files changed +3
-21
lines changed Original file line number Diff line number Diff line change 3636 "webmozart/path-util" : " ^2.3" ,
3737 "webmozart/glob" : " ^4.1" ,
3838 "sabre/uri" : " ^2.0" ,
39- "JetBrains /phpstorm-stubs" : " dev-master" ,
39+ "jetbrains /phpstorm-stubs" : " dev-master" ,
4040 "composer/composer" : " ^1.3"
4141 },
42- "repositories" : [
43- {
44- "type" : " package" ,
45- "package" : {
46- "name" : " JetBrains/phpstorm-stubs" ,
47- "version" : " dev-master" ,
48- "dist" : {
49- "url" : " https://github.com/JetBrains/phpstorm-stubs/archive/master.zip" ,
50- "type" : " zip"
51- },
52- "source" : {
53- "url" : " https://github.com/JetBrains/phpstorm-stubs" ,
54- "type" : " git" ,
55- "reference" : " master"
56- }
57- }
58- }
59- ],
6042 "minimum-stability" : " dev" ,
6143 "prefer-stable" : true ,
6244 "autoload" : {
Original file line number Diff line number Diff line change @@ -33,14 +33,14 @@ public static function parseStubs()
3333 $ definitionResolver = new DefinitionResolver ($ index );
3434
3535 $ stubsLocation = null ;
36- foreach ([__DIR__ . '/../../../JetBrains /phpstorm-stubs ' , __DIR__ . '/../vendor/JetBrains /phpstorm-stubs ' ] as $ dir ) {
36+ foreach ([__DIR__ . '/../../../jetbrains /phpstorm-stubs ' , __DIR__ . '/../vendor/jetbrains /phpstorm-stubs ' ] as $ dir ) {
3737 if (file_exists ($ dir )) {
3838 $ stubsLocation = Path::canonicalize ($ dir );
3939 break ;
4040 }
4141 }
4242 if (!$ stubsLocation ) {
43- throw new \Exception ('JetBrains /phpstorm-stubs package not found ' );
43+ throw new \Exception ('jetbrains /phpstorm-stubs package not found ' );
4444 }
4545
4646 $ uris = yield $ finder ->find ("$ stubsLocation/**/*.php " );
You can’t perform that action at this time.
0 commit comments