1
0
Fork 0
Commit Graph

219 Commits (cfc8cc781558f789ababe662df75aba9d2e33cc4)

Author SHA1 Message Date
Rob Lourens cfc8cc7815 Make FqnUtilities a module of functions, not a static class 2017-06-07 16:44:14 -07:00
Rob Lourens 0a15afc130 Cleanup, fix incorrect count() usage 2017-06-07 14:34:18 -07:00
Rob Lourens 829d3075f7 Improve strStartsWith 2017-06-07 11:37:45 -07:00
Rob Lourens 70cf60e868 Add missing props to TreeAnalyzer, remove unused getUri 2017-06-07 11:37:04 -07:00
Rob Lourens d4cabc60cc Annotate TreeAnalyzer->update 2017-06-07 11:24:07 -07:00
Rob Lourens aba798aaba Cleanup 2017-06-07 11:10:12 -07:00
Rob Lourens eef824488e Make Index->references private again 2017-06-06 16:46:08 -07:00
Rob Lourens 825c67159e Remove unnecessary group import 2017-06-06 16:45:51 -07:00
Rob Lourens 01e72430d0 Fix indentation 2017-06-06 16:08:34 -07:00
Rob Lourens 3cb0c03c81 Restore more type annotations 2017-06-06 16:05:47 -07:00
Rob Lourens f1c0cc5c06 Remove comments, question answered by Felix 2017-06-06 14:41:42 -07:00
Rob Lourens f16866ae4d Restore type annotation 2017-06-06 14:40:24 -07:00
Rob Lourens 65363b7390 Add comment on try/catch in DefinitionResolver 2017-06-06 14:39:44 -07:00
Rob Lourens e0a7b2108e Fix possible Node/MissingToken mismatch (error reported in Lumen project) 2017-06-06 14:25:27 -07:00
Rob Lourens d56d1b7fe7 $index can be private again 2017-06-02 17:10:33 -07:00
Rob Lourens f144ca7c26 Refactor findVariableDefinitionsInNode to simplify and avoid closure use 2017-06-02 17:09:01 -07:00
Rob Lourens de44ce5cd4 Fix error from completions after typing 'new' 2017-05-31 20:22:37 -07:00
Rob Lourens 2568a42e12 Fix autofixable formatting errors 2017-05-25 11:39:42 -07:00
Rob Lourens 22481480e3 Remove nullDocs logging - Tolerant parser doesn't produce null SourceFileNodes 2017-05-24 21:37:00 -07:00
Rob Lourens 3dfe505727 Remove "Tolerant" alias
- Now unnecessary
-  Makes type annotations more readable
2017-05-24 11:26:53 -07:00
Rob Lourens f51af8bc0d Minor cleanup 2017-05-23 18:27:11 -07:00
Rob Lourens d7a4034eac Merge branch 'tolerantMasterMerge' into tolerant 2017-05-22 15:31:42 -07:00
Rob Lourens b4e77f2e9c Remove more PhpParser\Node references 2017-05-19 14:40:38 -07:00
roblou 442fc7ea02 Remove remaining 'use PhpParser\' statements and some dead code 2017-05-19 14:26:30 -07:00
roblou 71d71a896c Remove obsolete NodeVisitors 2017-05-19 14:17:21 -07:00
roblou cf9590b9b7 Remove "use PhpParser\Node" 2017-05-19 13:45:23 -07:00
roblou 5e9dfa104b Remove original DefinitionResolver, remove "Tolerant" on file names 2017-05-19 13:39:16 -07:00
roblou 552d99e95c Merge remote-tracking branch 'upstream/master' into tolerant 2017-05-19 11:25:26 -07:00
roblou a9be548cb1 Remove LoggedDefinitionResolver 2017-05-19 11:16:29 -07:00
Rob Lourens b5412621d6 Fix completion tests to handle receiving all items 2017-05-18 21:06:28 -07:00
Rob Lourens 67081c4abe Clean up completions, fix exceptions thrown from running strpos on empty strings 2017-05-18 14:26:34 -07:00
Rob Lourens 1fa29ccae5 Fix exception thrown when getting completions on Definitions with a null type- this is expected 2017-05-18 11:17:09 -07:00
Rob Lourens 91f13795d6 Don't try to filter completions by member name, vscode does it 2017-05-18 11:03:13 -07:00
Rob Lourens 253f9b50a4 Fix completions on -> next to an unrelated token 2017-05-17 23:41:35 -07:00
Rob Lourens 90b40ef449 Fix composer references 2017-05-17 14:57:54 -07:00
Rob Lourens 403e0c5743 Remove diagnostics log disable hack 2017-05-15 15:32:29 -07:00
Rob Lourens addc862404 Add Diagnostic source and severity 2017-05-14 14:17:43 -07:00
Rob Lourens 31441f4b7e Remove ParserResourceFactory and DefinitionResolverInterface (leave original DefinitionResolver for now, for more testing) 2017-05-02 11:04:44 -07:00
Sara Itani 76c8536e91 first pass at completion provider (work in progress) 2017-04-25 17:09:52 -07:00
Stephan Unverwerth 08cf1a3fd7 Allow getting type from define() node (#363)
* Allow getting type from define() node
- fixes #364

* Add test case for DefinitionResolver
2017-04-24 11:11:40 +02:00
Sara Itani ed6469219a fix trait use and scoped call expressions 2017-04-20 01:33:45 -07:00
Sara Itani 223a2eac6c fix return type resolution issue 2017-04-20 00:58:26 -07:00
Sara Itani 347a5a12ae Update + clarify type resolution logic 2017-04-20 00:20:47 -07:00
Sara Itani bfbad095ee Fix and start cleaning up type resolution issues 2017-04-19 17:52:37 -07:00
Sara Itani f5a93a2e09 refactor definition resolver, fix misc. issues 2017-04-18 22:48:26 -07:00
Jens Hausdorf b1cc7bf6b0 Support constants with define() (#347) 2017-04-17 17:03:08 +02:00
Sara Itani 65686c6d4c Fix namespace name, use variable issues 2017-04-16 16:32:38 -07:00
Sara Itani 54f385f9ec Fix misc. issues, add more test cases, update validation test 2017-04-16 15:11:14 -07:00
Sara Itani 4382821b8c Update logger to better handle errors 2017-04-16 15:09:05 -07:00
Sara Itani 6d39d87278 Fix class inheritance issue, fix parenthesized expression type resolution 2017-04-13 11:51:10 -07:00