1
0
Fork 0
Commit Graph

295 Commits (91ca99a8670a7652366bf2ef909dc1989b3c1015)

Author SHA1 Message Date
Felix Becker 91ca99a867 Revert "differenciate member and non member definitions"
This reverts commit 48bbbb5d14.
2017-11-23 01:20:42 -08:00
Felix Becker 67dd9800f6
Merge branch 'master' into feature/autocomplete-speedup 2017-11-19 15:43:47 -08:00
Nicolas MURE 48bbbb5d14
differenciate member and non member definitions 2017-11-19 19:26:13 +01:00
Nicolas MURE 97ec127312
fix definition removal 2017-11-19 16:37:08 +01:00
Maarten Staa 4f672c24d8 feat(diagnostics): report error when $this is used in a static method or outside a class method (#528) 2017-11-18 17:41:37 -08:00
Felix Becker b03950cb53 Cleanup 2017-11-18 17:07:35 -08:00
Felix Becker 3bda390c3d
Merge branch 'master' into feature/autocomplete-speedup 2017-11-18 17:00:17 -08:00
Felix Becker 80ef8ff503
fix(indexing): properly resolve self, static and parent keywords (#532)
Previously we would dump static, self and parent as literal FQNs into the index.
2017-11-18 16:59:57 -08:00
Nicolas MURE fcdf791c2c
use string concatenation instead of sprintf 2017-11-16 17:44:04 +01:00
Felix Becker b1a1875070
fix(completion): don't suggest <?php on > characer (#527)
closes #372
2017-11-15 22:38:01 -08:00
Felix Becker 7511e255ff
Merge branch 'master' into feature/autocomplete-speedup 2017-11-15 15:44:25 -08:00
Felix Becker 06747bb734 ci(travis): don't release on PRs 2017-11-15 13:14:08 -08:00
Felix Becker 607cd8158d test(index): add IndexTest 2017-11-15 13:08:15 -08:00
Nicolas MURE b3f30f31f1
cache is backward compatible 2017-11-15 09:51:18 +01:00
Felix Becker b118c77699 Correct some docblocks 2017-11-14 22:36:07 -08:00
Felix Becker 7437d30d88 Fix formatting 2017-11-14 22:25:54 -08:00
Nicolas MURE e162d94e14
cleanup 2017-11-14 13:44:23 +01:00
Nicolas MURE cacde1ea72
use a single array to store definitions 2017-11-14 13:40:35 +01:00
Nicolas MURE 188a5df382
fix definitions storage collision (member / non member) 2017-11-14 04:41:10 +01:00
Nicolas MURE d1f85f15b6
use tree representation index 2017-11-14 02:54:18 +01:00
Nicolas MURE e9fd572a49
consider the merge of #511 2017-11-13 20:59:42 +01:00
Nicolas MURE 14f840bd2f
use correct terminology 2017-11-13 20:23:21 +01:00
Nicolas MURE e34d8e15dd
use of null coalescing operator 2017-11-13 20:22:21 +01:00
Nicolas MURE 6a36828069
avoid useless array 2017-11-13 20:22:21 +01:00
Nicolas MURE 6a41a7f0dc
add example of indexed definitions 2017-11-13 20:22:21 +01:00
Nicolas MURE 8801edb7a2
also yield URIs to save memory 2017-11-13 20:22:20 +01:00
Nicolas MURE 8768b698d5
use Generators to get definitions without wasting memory 2017-11-13 20:22:20 +01:00
Nicolas MURE ca0caf1678
store definitions under the namespaceDefinitions cache key directly 2017-11-13 20:22:20 +01:00
Nicolas MURE 6d30035c78
also remove empty namespace index 2017-11-13 20:22:20 +01:00
Nicolas MURE 17602aa768
globalDefinitions cache to speedup autocomplete 2017-11-13 20:22:20 +01:00
Nicolas MURE 18f2f4c85c
cleanup 2017-11-13 20:20:37 +01:00
Nicolas MURE 6d725a234c
speedup static access autocomplete 2017-11-13 20:18:51 +01:00
Nicolas MURE b7c712842f
update tests 2017-11-13 20:18:11 +01:00
Nicolas MURE 2d91ee8eff
speedup autocomplete with ReadableIndex::getDefinitionsForNamespace 2017-11-13 20:18:11 +01:00
Felix Becker 1ec8d8d8e2
ci(travis): correct version 2017-11-12 12:41:51 -08:00
Felix Becker 0afc3320d5
ci(travis): pin version to 7.2RC5
7.2RC6 is causing segfaults
2017-11-12 12:40:13 -08:00
Felix Becker 1804ac8d97 ci(travis): correct BUILD_LEADER_ID 2017-11-10 01:16:15 -08:00
Felix Becker 9434cb1b67 ci(release): set verifyConditions to empty array 2017-11-10 00:26:03 -08:00
Felix Becker 0e645301cc ci(travis): remove language tag 2017-11-09 22:40:56 -08:00
Felix Becker 3e41244b6f ci(travis): use PHP 7 for release 2017-11-09 22:01:50 -08:00
Felix Becker eadf305a1f ci(travis): fix release 2017-11-09 19:07:43 -08:00
Felix Becker d54ece3366 build(docker): optimize docker build 2017-11-09 18:59:41 -08:00
Felix Becker 857fe26eb5 ci(travis): optimize 2017-11-09 18:48:02 -08:00
Felix Becker b4a3134e2a ci(travis): use build stages 2017-11-09 18:00:39 -08:00
Brandon Max f5c45f83ed docs(contributing): document how to use XDebug (#518) 2017-11-09 16:15:36 -08:00
Felix Becker b03b9a239c
ci(travis): run on OSX (#517) 2017-11-05 02:54:56 -08:00
Felix Becker 41e84880b3 ci(travis): use string versions 2017-11-05 02:30:34 -08:00
Felix Becker 74578c7b58 ci(travis): only test lowest and highest PHP version 2017-11-05 02:28:38 -08:00
Felix Becker 235a790156 ci: remove shallow submodule cloning 2017-11-05 01:51:33 -08:00
Felix Becker db484617b6 ci: speed up submodule cloning 2017-11-05 01:44:48 -08:00