From cb661042f74f58bd47dc44423e5d986b953eb838 Mon Sep 17 00:00:00 2001 From: Cody Wilson Date: Mon, 7 Dec 2020 09:52:11 -0600 Subject: [PATCH] Fixing build by setting stubs ver. to older ver. phpstorm-stubs dev-master already had PHP8 features which are breaking the parser per #795. The simple solution for this is to force an older version of the stubs. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f63bf3a1..ce22335b 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "composer/xdebug-handler": "^1.0", "felixfbecker/advanced-json-rpc": "^3.0.0", "felixfbecker/language-server-protocol": "^1.0.1", - "jetbrains/phpstorm-stubs": "dev-master", + "jetbrains/phpstorm-stubs": "2018.1.2", "microsoft/tolerant-php-parser": "0.0.*", "netresearch/jsonmapper": "^1.0", "phpdocumentor/reflection-docblock": "^4.0.0",