1
0
Fork 0
Commit Graph

304 Commits (de44ce5cd42ed0c79723c2cd88808d530cfee100)

Author SHA1 Message Date
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
Sara Itani 2ab7fc037a add more validation test cases 2017-04-13 11:32:37 -07:00
Sara Itani 596d7f0bef Add isolated validation test cases 2017-04-13 09:14:58 -07:00
Sara Itani 52d70a283b Update test case locations 2017-04-13 09:13:28 -07:00
Sara Itani 26152b1de6 Temporary change to expose index to validation tests 2017-04-13 09:13:03 -07:00
Sara Itani 05bccec84d Ensure duplicate ScopedPropertyAccess expressions don't appear 2017-04-13 09:12:30 -07:00
Sara Itani 8d11ec7a9c Update validation test comparison exceptions 2017-04-13 09:11:01 -07:00
Sara Itani ed2a591fa0 Add stats from last perf run 2017-04-12 16:54:38 -07:00
Sara Itani d6d9712134 clarify logic around scoped and member access expressions 2017-04-12 16:53:03 -07:00
Sara Itani 35ce3af324 fix issue where call expression references weren't being properly indexed 2017-04-12 12:51:24 -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 981b74a6db don't get docblock comment for namespace definition nodes 2017-04-11 12:52:24 -07:00
Sara Itani e6ba591e95 Catch all errors in perf test 2017-04-10 21:58:33 -07:00
Sara Itani 219c018ab2 Disclude anonymous class members from definitions 2017-04-10 21:58:08 -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 864a7a8621 test multipe frameworks in perf test script 2017-04-10 14:19:55 -07:00
Sara Itani 3d5d46d4e7 don't use generator during iteration 2017-04-10 14:18:19 -07:00
Sara Itani b02c164c2b fix property / constant ancestor check 2017-04-10 13:13:47 -07:00
Sara Itani 21cee77624 include traits and interfaces when retrieving fqn 2017-04-10 12:42:49 -07:00
Sara Itani 651e6be08a add definition comparison to validation tests 2017-04-10 12:30:46 -07:00
Sara Itani fa52aef28a revert isClass -> canBeInstantiated
- ensures consistency w/ old parser
2017-04-10 12:29:58 -07:00
Jens Hausdorf de6aed608c Show constructors and destructors with right symbol (#346) 2017-04-09 19:44:28 +02:00
Jens Hausdorf 97d1579f37 Update PHPParser dependency (#345) 2017-04-09 18:23:46 +02:00
Sara Itani f50df5cdaf Enforce memory limit in phpunit.xml (#320)
This will help highlight memory regressions, make it easier for newcomers to get started with the codebase w/o editing php.ini defaults (128M), and also keep things consistent between local and travis runs.
2017-04-02 14:08:45 +02:00
Talv 14a6d65832 Fix missing '()' for function definition (#340) 2017-04-02 00:30:10 +02:00
Sara Itani 7d68e3acc3 Only traverse tree 1x for definitions + references 2017-03-29 10:48:53 -07:00
Sara Itani d62bdeac82 revert earlier change to fix tests 2017-03-29 10:45:38 -07:00
Sara Itani a5fec9452b Fix misc. issues in language server 2017-03-28 14:02:26 -07:00
Sara Itani 105f9bf813 Include max-recursion comparison in perf test 2017-03-28 14:00:50 -07:00
Sara Itani 42dc2c966d Update validation tests
- assert non-null ASTs
- additional submodules
2017-03-28 13:59:24 -07:00
Sara Itani a69c93b28b Print null docs in language server perf log 2017-03-28 13:55:10 -07:00
Sara Itani 4ac56d83a4 Update logging
- add diagnostics for old parser
- include maxRecursion levels
- include option to run functions multiple times to help profile
2017-03-28 13:53:53 -07:00
Sara Itani 946b5b1cdb Fix exception during diagnostics parsing 2017-03-24 10:31:23 -07:00
Sara Itani c84b91de2b Fix exception during definition resolution 2017-03-24 10:30:34 -07:00
Sara Itani cd4c6d66d9 Add validation test filesize threshold 2017-03-24 10:30:07 -07:00
Sara Itani 7b633f5e07 minor perf improvements 2017-03-21 15:25:49 -07:00
Jens Hausdorf 4d0a0a2a10 show anything from a doc comment block (#315) 2017-03-19 12:15:39 +01:00
Sara Itani 6e7f77be6d add script to help profile 2017-03-15 14:11:49 -07:00
Sara Itani 81ba7df91c fix some crashes, perf issues 2017-03-15 14:10:52 -07: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