elpasync pushed a change to branch externals/phpinspect. from 3887bc58d4 Implement indexation of readonly variables + allow invalid keywords new 5528aff2a2 Handle cases where the filepath of a type cannot be determined new 2520c89680 Account for tokens after @method annotation when indexing new 3fff772d8a Fix phpinspect-buffer-index-functions test new d3f100388e Resolve property types using other methods when resolving from constructor fails new f2f1ac9b84 Add property types and anonymous function argument types to used-types index new 6a175c9e44 Update a few doc strings in phpinspect-index.el new 8296641ba9 Implement removal of unused imports in `phpinspect-fix-imports' new d141f8a6db Infer namespace token within import manipulation loop new 31c6e06934 Reparse buffer when fixing import (+ add comment explaining why) new c20f010ee4 Introduce `phpinspect-buffer-fresh-p' and `phpinspect-buffer-reparse-if-not-fresh' new f1dc699560 Detect types used with "instanceoff" new b6eadfb799 Make autoload indexation more robust and prevent double indexation new 130e2c06c5 Index types used in arrays new 93b815d71a Index used traits (juste use of type, no actual functionality outside of that) new 2d93ec7f79 Fix infinite recursion bug in `phpinspect--get-pattern-type-in-block' new 3a0ce3ac2d Fix another infinite recursion bug new 2e064d52e1 Implement containing type inference for collection-like class properties new 4ec4c40c9d Add eldoc for sigil variables and allow display of multiple eldoc results
Summary of changes: phpinspect-autoload.el | 117 ++++++++++++---------- phpinspect-buffer.el | 47 ++++++--- phpinspect-class.el | 1 + phpinspect-eldoc.el | 43 ++++++--- phpinspect-imports.el | 84 ++++++++++++++-- phpinspect-index.el | 146 ++++++++++++++++++---------- phpinspect-meta.el | 6 ++ phpinspect-pipeline.el | 2 +- phpinspect-project.el | 9 +- phpinspect-resolve.el | 224 +++++++++++++++++++++++++++++-------------- phpinspect-resolvecontext.el | 6 +- phpinspect-type.el | 24 +++-- phpinspect-util.el | 26 ++++- test/phpinspect-test.el | 73 +++++--------- test/test-buffer.el | 83 +++++++--------- test/test-eldoc.el | 9 +- test/test-index.el | 17 +++- test/test-resolve.el | 64 +++++++++++++ test/test-util.el | 28 ++++++ 19 files changed, 684 insertions(+), 325 deletions(-) create mode 100644 test/test-resolve.el