From 1240f25e0192f7c5282b86427656e54687cc3278 Mon Sep 17 00:00:00 2001 From: Felix Becker Date: Thu, 19 Oct 2017 14:45:36 -0700 Subject: [PATCH] Update parser --- composer.json | 2 +- tests/Validation/cases/stringVariable.php.expected.json | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 1f62a5a..225de3b 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "composer/composer": "^1.3", "felixfbecker/advanced-json-rpc": "^2.0", "jetbrains/phpstorm-stubs": "dev-master", - "microsoft/tolerant-php-parser": "^0.0.4", + "microsoft/tolerant-php-parser": "^0.0.6", "netresearch/jsonmapper": "^1.0", "phpdocumentor/reflection-docblock": "~3.1.1", "sabre/event": "^5.0", diff --git a/tests/Validation/cases/stringVariable.php.expected.json b/tests/Validation/cases/stringVariable.php.expected.json index 61669c8..fed8a23 100644 --- a/tests/Validation/cases/stringVariable.php.expected.json +++ b/tests/Validation/cases/stringVariable.php.expected.json @@ -1,5 +1,9 @@ { - "references": [], + "references": { + "B->hi": [ + "./stringVariable.php" + ] + }, "definitions": { "B": { "fqn": "B",