Philip Nelson
85b2ee8604
Merge branch 'return-self' of https://github.com/phil-nelson/php-language-server into return-self
2017-12-23 11:53:24 +11:00
Philip Nelson
93df21d132
Merge remote-tracking branch 'felixfbecker/master' into return-self
2017-12-19 19:45:37 +11:00
Felix Becker
7c8de3aca5
Merge branch 'master' into return-self
2017-12-17 17:55:31 -08:00
Phil Nelson
9eea26df71
feat: foreach completion ( #551 )
2017-12-17 17:55:12 -08:00
Philip Nelson
7f2c4ec6c2
Merge branch 'return-self' of https://github.com/phil-nelson/php-language-server into return-self
2017-12-11 20:58:29 +11:00
Philip Nelson
57bffdb1b0
remove redundant code
2017-12-11 20:57:34 +11:00
phil-nelson
7060b5f7e4
Merge branch 'master' into return-self
2017-12-11 20:15:26 +11:00
Philip Nelson
f4648689da
ensure we get a class declaration
2017-12-11 20:07:50 +11:00
Philip Nelson
a153d71266
revert return_type test and add specific return_self test
2017-12-11 20:03:40 +11:00
Philip Nelson
4186d8f9ce
return class containing self instead of self
2017-12-10 22:07:43 +11:00
Philip Nelson
50de9bb28e
WIP resolve return self better
2017-12-10 20:34:25 +11: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
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
Felix Becker
b1a1875070
fix(completion): don't suggest <?php on > characer ( #527 )
...
closes #372
2017-11-15 22:38:01 -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
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
Felix Becker
f00fd1b62c
fix(formatting): drop PHP CodeSniffer ( #504 )
...
At this point there are countless issues about the formatting done by CodeSniffer. It plain out doesn't work in many cases, overrides format options that are contributed by other extensions in VS Code and does not reuse any of our AST parsing. For that reason, I am starting to think there is no reason to keep it in here until we have proper pretty-printing support from https://github.com/Microsoft/tolerant-php-parser that actually reuses our ASTs and can work while editing. For people who want to use CodeSniffer to format their code, there could be a standalone CodeSniffer language server (like there is a TSLint language server and ESLint language server). As said, we don't reuse our state anyway.
BREAKING CHANGE: removes formatting support
closes #501
closes #474
closes #473
closes #468
closes #450
closes #445
closes #443
closes #423
closes #343
closes #296
closes #293
closes #499
closes #471
2017-11-04 23:57:51 -07:00
Felix Becker
e9fc97d430
chore: extend export-ignore file list
2017-11-01 23:39:38 -07:00
Nate Eagleson
6dbeef63bc
docs: correct parse-stubs section in readme ( #502 )
...
As the parse-stubs step is done automatically by `composer install` since 34d3d2030d
, we no longer need to explicitly instruct people to do it.
Note that sometimes you must parse the PHP stubs manually
2017-11-01 09:38:54 -07:00
Felix Becker
ac6bce929f
chore: get patch versions of tolerant-php-parser
2017-10-30 22:51:23 -07:00
Felix Becker
d3c9133892
ci(appveyor): cache chocolatey downloads
2017-10-30 21:12:44 -07:00
Jens Hausdorf
1edbe35609
refactor: use FunctionLike Interface ( #505 )
2017-10-30 03:33:19 -07:00
Felix Becker
744062c14e
ci: add AppVeyor to test Windows
...
closes #40
2017-10-30 03:09:06 -07:00
Felix Becker
7ae6452d1a
refactor(index): rename isGlobal to isMember ( #511 )
...
isGlobal was confusing because a non-member can be considered global vs namespaced
2017-10-29 17:45:06 -07:00
Felix Becker
c74076d84f
fix(cache): bump cache version ( #508 )
...
the update of reflection-docblock means old caches are no longer valid.
fixes #507
2017-10-29 13:06:44 -07:00