Skip to content

Commit 34d3d20

Browse files
cweagansfelixfbecker
authored andcommitted
Automatically index stubs on composer install (#269)
1 parent 7fbd68a commit 34d3d20

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
],
2424
"bin": ["bin/php-language-server.php"],
2525
"scripts": {
26-
"parse-stubs": "LanguageServer\\ComposerScripts::parseStubs"
26+
"parse-stubs": "LanguageServer\\ComposerScripts::parseStubs",
27+
"post-install-cmd": "@parse-stubs"
2728
},
2829
"require": {
2930
"php": ">=7.0",

0 commit comments

Comments
 (0)