1
0
Fork 0
Commit Graph

337 Commits (bc5717ab7926d25572a0651b811f3ea87f24f9fb)

Author SHA1 Message Date
Felix Becker bc5717ab79 Check if node has parent 2017-06-09 13:32:02 +02:00
Rob Lourens a1ae0f6e48 Take tolerant-php-parser from Packagist instead of github 2017-06-08 15:03:27 -07:00
Felix Becker adf65e5b11 Polish CompletionProvider 2017-06-08 14:56:07 +02:00
Felix Becker 54073c56fc More polish 2017-06-08 14:50:59 +02:00
Felix Becker 3131a9c172 Polish TreeAnalyzer 2017-06-08 14:48:46 +02:00
Rob Lourens 4ade5fdbb2 Fix sniff issues, exclude 'cases' test files from codesniff 2017-06-07 18:26:58 -07:00
Rob Lourens 68656d9663 Use === "" instead of strlen check 2017-06-07 17:46:05 -07:00
Rob Lourens 1d314deff0 Make ParserHelper a module of functions, not a static class 2017-06-07 17:26:03 -07:00
Rob Lourens eda52a893f Fix error from calling ltrim on null variableName 2017-06-07 17:24:47 -07:00
Rob Lourens ae37940e55 Fix error when getting completions in anon function closure 'use' 2017-06-07 16:44:41 -07:00
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 344a2cef31 Remove filterSkippedReferences, no longer relevant 2017-06-07 14:24:50 -07:00
Rob Lourens fc7d7f419e Use reflection to get Definition props (now includes fqn and declarationLine) 2017-06-07 14:23:51 -07:00
Rob Lourens 586b0d6baf Move validation testcases out of frameworks folder 2017-06-07 14:01:19 -07:00
Rob Lourens b2a849d6d2 Cleanup ValidationTest some more 2017-06-07 14:00:12 -07:00
Rob Lourens af5a5fe172 Mark test incomplete instead of commenting it out 2017-06-07 11:38:46 -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 260969b3be Remove Performance.php comments 2017-06-02 15:43:15 -07:00
Rob Lourens 077f0be6f0 Remove 'void' return annotation 2017-06-01 16:05:06 -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 05aa935908 Bump phpunit memory limit 2017-05-24 21:43:16 -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 9c35aa6bd0 Remove stats.md
- Perf result is saved in the PR, don't need a file here forever
2017-05-24 21:33:12 -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 836cdb77c0 Fix HoverTest after previous fixture change 2017-05-24 11:25:01 -07:00
Rob Lourens f51af8bc0d Minor cleanup 2017-05-23 18:27:11 -07:00
Rob Lourens 97937eaadb Fix unsupported hover test 2017-05-22 15:44:24 -07:00
Rob Lourens d7a4034eac Merge branch 'tolerantMasterMerge' into tolerant 2017-05-22 15:31:42 -07:00
Rob Lourens 6e1f638b36 Remove nikic/php-parser reference 2017-05-19 14:41:17 -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