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
Rob Lourens
8af671e917
Add validation test submodules
2017-05-01 11:49:39 -07:00
Rob Lourens
7940ea4889
Revert "Fix tolerant-php-parser branch ref" (I blame @mousetraps)
...
This reverts commit 3e22956be9
.
2017-04-26 11:32:17 -07:00
Rob Lourens
3e22956be9
Fix tolerant-php-parser branch ref
2017-04-26 11:26:00 -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
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