1
0
Fork 0
Commit Graph

315 Commits (161b0516ffe528372b32494ac3a2a469fab76c4d)

Author SHA1 Message Date
julianschwuchow 161b0516ff
Merge ab5333ff74 into 9dc1656592 2019-01-25 14:41:36 +00:00
Julian Schwuchow ab5333ff74 Added completion support to type hinted local variables. 2019-01-25 15:04:13 +01:00
Felix Becker 9dc1656592
build: remove composer install from semantic-release config 2018-12-12 16:29:42 +01:00
Jakob Blume 7303143a60 build: run 'composer install' in a docker builder stage (#694) 2018-12-12 16:28:19 +01:00
Tyson Andre 1705583e32 chore: add Phan (#690) 2018-11-29 09:50:01 +01:00
Felix Becker 1da3328bc2 fix: allow rootUri to be null
Fixes #684
2018-11-13 18:33:21 +01:00
Tyson Andre 450116e2f3 docs: remove unused use statements, nit on phpdoc (#625)
* Remove unused use statements, nit on phpdoc

Add a note on something that looks like an invalid array index

* Remove phpdoc param with no real param
2018-11-11 20:45:47 +01:00
Felix Becker b1cc565d7e fix(cache): bump cache version 2018-11-11 12:57:20 +01:00
Matthew Brown ed2d8ddb1e refactor: fix impossible parse_url equality (#676)
`parse_url` returns `false` for malformed urls, not `null`
2018-11-11 04:47:10 +01:00
JJK96 680f430453 fix: support rootUri (#672) 2018-11-11 04:33:12 +01:00
Dylan McGannon c7d25c7b44 fix(definitionresolver): infinite loop when indexing self referencing classes (#670) 2018-11-11 04:26:39 +01:00
Felix Becker 71390c9903 chore: update package-lock.json 2018-11-11 04:07:16 +01:00
Michael V 24388bcf26 perf: change index to a tree to speed up completion (#680)
Refactors Index into a tree structure, rather than an array of Fqns to definitions.

Closes #274
2018-11-11 03:47:57 +01:00
dantleech 18c6ccd137 refactor: use protocol package (#661)
Adapts the Language Server to use the extracted php language server protocol
2018-09-09 14:37:35 +02:00
Felix Becker 3d8318bd03
docs: bye Gemnasium 2018-09-06 17:10:39 +02:00
Felix Becker b4b4a2fff5 chore: update semantic-release dependencies 2018-08-22 21:25:11 +02:00
janekcz69 3931c8848f fix: cast null to array before passing to array_merge() (#666)
Fixes #595
2018-08-22 20:48:14 +02:00
Markus Staab 26e3451e61 docs: add a TOC to the README (#618) 2018-05-13 17:26:56 -07:00
Felix Becker fe33c8cd7f fix(package): include tests folder
This is needed if you want to extend the buildserver and reuse tests
2018-04-26 15:53:21 -07:00
Felix Becker 7e1ca75863 ci(travis): remove brew tap 2018-04-21 16:52:37 -07:00
Felix Becker ebf4c096b3 ci(travis): use PECL to install XDebug 2018-04-06 13:00:32 -07:00
Vincent Klaiber 49f1e8f04a chore: exclude appveyor.yml in production 2018-03-14 10:33:50 -07:00
Declspeck 02b7d2fdb6 feat(completion): add pseudo-keywords like int, bool, strict_types to completion 2018-03-11 13:50:12 -07:00
Felix Becker de1af6a165
refactor: use composer/xdebug-handler (#616) 2018-03-08 11:48:56 -08:00
Declspeck e10896f905 test(performance): don't eat exceptions during benchmark 2018-02-28 11:21:04 -08:00
Declspeck b412c125a4 fix(indexing): handle integer FQNs 2018-02-28 11:21:04 -08:00
Tyson Andre 8adcf92c2f chore: remove unused 'use' statements (#612)
detected via static analysis and manually checked
2018-02-28 10:05:22 -08:00
Felix Becker fc6b069425 ci(dependencies.io): track stable semantic-release 2018-02-27 21:05:16 -08:00
Vincent Klaiber c5a83af327 ci(travis): update travis php versions (#601) 2018-02-27 21:03:30 -08:00
Jens Hausdorf a8f60c9cf6 fix(completion): do not propose <?php if completion context is not given (#593)
fixes #372
2018-02-07 11:55:25 -08:00
Felix Becker d9bc0b0285
fix(completion): don't require constructor parameter for protocol DTO (#592) 2018-02-02 12:09:25 -08:00
Phil Nelson 6894d85aaf fix(DefinitionResolver): resolve self correctly for docblock @return self (#576) 2018-01-09 01:38:18 -08:00
Tyson Andre c48ee55808 tests: fix benchmark on case sensitive filesystems (#573)
On case insensitive file systems, such as the defaults for Mac OS/Windows, this works, but it doesn't work for ext4, etc.

The folder being checked out is `validation/frameworks/codeigniter`, this searched for `validation/frameworks/CodeIgniter`
2018-01-01 18:31:55 -08:00
Felix Becker 20960a8b9f
fix(DefinitionResolver): find variables in sibling children (#568)
Fixes #566
2017-12-30 22:26:51 -08:00
Felix Becker 8439da999a ci(travis): only build master and PRs 2017-12-28 15:34:11 -08:00
Phil Nelson 1cfba8b6bb fix(DefinitionResolver): don't crash if foreach key isn't a variable (#564) 2017-12-24 17:55:48 -08:00
Phil Nelson 425b2390b5 fix(DefinitionResolver): fix crash on unknown foreach type (#562)
Fix when unknown type is found in foreach expression
2017-12-24 01:52:49 -08:00
Jannik Vieten a0caf8d18f docs(used-by): mention Atom's ide-php in README (#559)
adds Atom's ide-php package to "used by" section in README
2017-12-22 18:03:24 -08:00
Phil Nelson 63da051e72 fix(DefinitionResolver): fix methods with self return type (#550) 2017-12-22 18:02:37 -08:00
Phil Nelson 9eea26df71 feat: foreach completion (#551) 2017-12-17 17:55:12 -08:00
Felix Becker f46fccd0d3 docs: add missing completion gif 2017-12-09 21:44:03 -08:00
Felix Becker 6d0a7ba7df docs: add signatureHelp demo 2017-12-09 21:41:36 -08:00
phil-nelson a40cf731f7 feat: Signature help (#547)
closes #18
2017-12-09 21:10:43 -08:00
Felix Becker 78316545a8 ci(macos): try alternative method to download composer 2017-12-03 16:23:14 -08:00
Felix Becker 09477b747e fix(diagnostics): handle null case 2017-12-03 15:49:43 -08:00
Maarten Staa 9b1fafae58 fix(diagnostics): update checking of $this usage to only error in static methods (#545) 2017-12-03 13:42:01 -08:00
Felix Becker ff746a836d chore: update semantic-release to v11 2017-11-25 10:52:21 -08:00
Felix Becker 31bae23912 ci(release): use semantic-release v10 2017-11-22 03:33:35 -08:00
Felix Becker 724eb6f1dc ci(appveyor): update image 2017-11-21 03:41:03 -08: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