1
0
Fork 0
Commit Graph

115 Commits (552d99e95cfb0d7c6ce5413ff2114d40f430a460)

Author SHA1 Message Date
roblou 552d99e95c Merge remote-tracking branch 'upstream/master' into tolerant 2017-05-19 11:25:26 -07:00
roblou fc3e8ef349 Fix ParseErrorTests 2017-05-19 10:55:22 -07:00
roblou f2e6e3aa66 Remove tmp test logging 2017-05-19 10:46:13 -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 e46d0ded11 Fix 'type_class' set to wrong value 2017-05-15 16:47:42 -07:00
Rob Lourens 1bb710f852 Fix absolute paths and escaped slashes in validation expected output 2017-05-15 15:30:29 -07:00
Rob Lourens 57f9e1f20e Fix completions test (insertText is optional) 2017-05-02 11:08:02 -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
Rob Lourens bb94aeac7e Add newStatic.php to skipped.json 2017-05-01 22:40:01 -07:00
Rob Lourens dc673373df Rewrite .expected file on test failure and rename "broken" -> "_cases" 2017-05-01 22:22:22 -07:00
Rob Lourens ce548deb9d Update baselines - failing tests are verified as expected 2017-05-01 21:32:01 -07:00
Rob Lourens ede5edc40d Add .expected.json files and skipped.json 2017-05-01 21:14:48 -07:00
Rob Lourens 587822b558 $references are now an array, not an object - fix removing skipped refs 2017-05-01 21:14:04 -07:00
Rob Lourens 4d476714ff Fix ValidationTest to read serialized results 2017-05-01 20:20:44 -07:00
Rob Lourens f201ecd177 Rewrite ValidationTest 2017-05-01 16:50:42 -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 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
Jens Hausdorf b1cc7bf6b0 Support constants with define() (#347) 2017-04-17 17:03:08 +02:00
Sara Itani 54f385f9ec Fix misc. issues, add more test cases, update validation test 2017-04-16 15:11:14 -07:00
Sara Itani 2ab7fc037a add more validation test cases 2017-04-13 11:32:37 -07:00
Sara Itani 52d70a283b Update test case locations 2017-04-13 09:13:28 -07:00
Sara Itani 8d11ec7a9c Update validation test comparison exceptions 2017-04-13 09:11:01 -07:00
Sara Itani 0b0cad2dc0 update validation test 2017-04-12 12:51:15 -07:00
Sara Itani 39fe9dc7bc fix issue where vars not being resolved to corresponding parameter definitions, update logging and validation tests 2017-04-11 16:24:35 -07:00
Sara Itani 57ebd58b6c Update validation tests to verify more definition properties, references 2017-04-11 12:54:20 -07:00
Sara Itani 5bd827fa4d include validation tests in separate test group 2017-04-10 19:39:25 -07:00
Sara Itani 59965448f0 Update definition validation tests 2017-04-10 14:20:45 -07:00
Sara Itani 651e6be08a add definition comparison to validation tests 2017-04-10 12:30:46 -07:00
Jens Hausdorf de6aed608c Show constructors and destructors with right symbol (#346) 2017-04-09 19:44:28 +02:00
Sara Itani 42dc2c966d Update validation tests
- assert non-null ASTs
- additional submodules
2017-03-28 13:59:24 -07:00
Sara Itani cd4c6d66d9 Add validation test filesize threshold 2017-03-24 10:30:07 -07:00
Jens Hausdorf 4d0a0a2a10 show anything from a doc comment block (#315) 2017-03-19 12:15:39 +01:00
Sara Itani 0824e6d9b8 start adding validation tests 2017-03-15 14:10:29 -07:00
Sara Itani 4324530389 Find all references support 2017-03-09 15:57:57 -08:00
Sara Itani 4653f100a7 fix variableName symbol info, offsets in tests 2017-03-06 13:59:12 -08:00
Sara Itani 1316761e5e fix scoped expression definition resolution 2017-03-06 11:01:10 -08:00
Sara Itani c18bec0d50 small fixes, add diagnostic mode 2017-03-05 23:23:33 -08:00
Sara Itani d3f2bebb40 Hover and Go-To definition (in progress) 2017-03-05 20:22:13 -08:00
Sara Itani cdf8fc36e1 add getNodeAtPosition, fix definition collector tests 2017-03-05 16:34:01 -08:00
Sara Itani 15eed55158 Symbol support for Microsoft/tolerant-php-parser 2017-03-04 20:56:01 -08:00
Sara Itani 722898f74d refactor 2017-03-04 18:36:17 -08:00
Sara Itani df315df04b start refactoring definition resolver 2017-03-01 16:51:43 -08:00
Sara Itani 13241a7be9 initialize tolerant-php-parser 2017-03-01 16:51:16 -08:00
Sara Itani 0de7ba8335 Ensure diagnostics are cleared on file deletion (#319)
* Ensure diagnostics are cleared on file deletion
Previously, error diagnostics would not be cleared when a file was deleted while it was closed. This would result in lingering errors in the problems view that could only be cleared by reloading the language server. This fix addresses the issue by adding support for workspace/didChangeWatchedFiles and automatically clearing diagnostics for deleted files.

* add FileEvent constructor
2017-03-01 11:18:37 +01:00
Cameron Eagans 5d2ab8f369 Add test for #211 (#270) 2017-02-15 17:25:06 +01:00
Trevor Bortins d5c54ac30f Read vendor directory from project's composer.json, if set. (#281) 2017-02-07 23:20:12 +01:00
Felix Becker bedd157636 Caching (#260) 2017-02-04 00:20:38 +01:00
Felix Becker 96aa998486 Make Index an EventEmitter (#255) 2017-01-25 01:38:11 +01:00