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
Felix Becker
99d8a361db
build: fix typo in release-docker script
2017-10-28 14:24:36 -07:00
Felix Becker
9e551a310b
build: use PHP for release-docker script
2017-10-28 13:59:02 -07:00
Felix Becker
b86d6c96c7
build: make release-docker.sh executable
2017-10-28 13:38:17 -07:00
Felix Becker
95f49d3a70
ci: set BUILD_LEADER_ID
...
see https://github.com/semantic-release/travis-deploy-once/issues/22
2017-10-28 13:18:41 -07:00
Jens Hausdorf
fbaa7b3cc5
refactor: use ClassLike interface ( #506 )
2017-10-28 12:27:32 -07:00
Tyson Andre
1db6b7bbb3
chore: fixes for unused variables and phpdoc ( #496 )
...
The identifier doesn't need to be generated for a notification to the
client, since there's no response
Add undeclared properties to TreeAnalyzer
Fix other bugs in phpdoc
2017-10-22 22:54:38 -07:00
Felix Becker
16cf8f53e9
fix(docblocks): update to phpdocumentor/reflection-docblock ^4.0.0
...
closes #139
2017-10-22 21:30:38 -07:00
Felix Becker
4384d49414
ci(travis): remove redundant parse-stubs step
2017-10-22 17:22:28 -07:00
Felix Becker
a934aff7a9
ci(release): use semantic-release
2017-10-22 17:22:02 -07:00
Dependencies.io Bot
7b1176dd9d
ci(dependencies.io): add dependencies.yml config
2017-10-22 17:22:02 -07:00
Felix Becker
1240f25e01
Update parser
2017-10-19 14:45:36 -07:00
Felix Becker
19bf94ac7b
Improve README
2017-10-19 14:44:56 -07:00
Felix Becker
e31f7b5923
Add more Composer scripts
2017-10-19 14:38:20 -07:00
Vincent Klaiber
0c399150a3
Update travis and phpunit ( #489 )
2017-10-02 14:11:06 -07:00
Vincent Klaiber
b9ebfb52c9
Update composer.json structure ( #487 )
2017-10-02 13:58:37 -07:00
Vincent Klaiber
3d8655d504
Update phpunit config ( #488 )
...
* Update phpunit config
* Rename DocumentHighlight class
2017-10-02 13:37:28 -07:00
Vincent Klaiber
d24c42008e
Exclude non-essential files in .gitattributes ( #486 )
...
* Exclude non-essential files in .gitattributes
https://www.reddit.com/r/PHP/comments/2jzp6k/i_dont_need_your_tests_in_my_production/
* Add validation and .gitmodules
2017-10-02 13:36:04 -07:00
Stephan Unverwerth
d4443465bb
Fix missing diagnostics for nodes ( #484 )
...
* Fix missing diagnostics for nodes
* Refactor TreeAnalyzer
2017-09-28 12:53:12 -07:00
John Nguyen
a4739430f8
Fix memory leak issue ( #459 )
...
Closes #425
2017-08-21 22:43:17 -07:00
Rob Lourens
63bf43e40c
Bump tolerant-php-parser to get fix ( #457 )
...
for https://github.com/Microsoft/tolerant-php-parser/issues/12
2017-08-11 10:29:55 -07:00
Felix Becker
7ce2284176
Pin phpdocumentor/reflection-docblock dependency
...
https://github.com/phpDocumentor/ReflectionDocBlock/issues/109
2017-07-19 13:15:48 +02:00
Ivan Bozhanov
35f33c8c91
Fluent interfaces support ( #421 )
2017-07-07 13:18:19 +02:00
Felix Becker
94fc0405fd
Correct parser link in README
2017-07-01 14:32:56 +02:00
Felix Becker
fc0bf4c163
Fix workspace/xreferences ( #424 )
...
* Make Descriptors minimal
SymbolDescriptor and PackageDescriptor should only contain the minumum amount of properties needed
* Add missing use
* Fixes
* Ignore ReferenceInformation->symbol
2017-06-22 20:06:10 +02:00
Felix Becker
fced1d5af6
Fix textDocument/xdefinition ( #429 )
2017-06-22 17:34:28 +02:00
Felix Becker
00552120ad
Restrict workspace/symbol results to non-dependency symbols ( #426 )
...
This improves performance a lot and matches what other language servers do
2017-06-21 14:17:36 +02:00
Felix Becker
f43ce50d5a
Default memory limit to 4GB
2017-06-21 11:48:41 +02:00
Felix Becker
08fe84de35
Add launch.json
2017-06-20 08:38:06 +02:00
Rob Lourens
a454cd2873
Add vendor/validation folders to search.exclude ( #420 )
2017-06-20 08:35:47 +02:00
Ivan Bozhanov
dae3f2576c
Add $this completion ( #419 )
2017-06-19 12:23:43 +02:00
Rob Lourens
f97105740d
Bump tolerant-php-parser ( #415 )
...
* Bump tolerant-php-parser
* Update test for new parser static support
2017-06-17 10:53:08 +02:00
Felix Becker
548120314d
Revert "Update CodeSniffer"
...
This reverts commit 663ccd5f23
.
2017-06-16 20:39:32 +02:00
Felix Becker
a772d9a2d7
Remove content ( #413 )
2017-06-16 20:31:29 +02:00
Felix Becker
0e3727a8d6
Improve CompletionProvider ( #412 )
...
- Better performance
- More documentation
- Add field to Definition for global namespace fallback
Fixes #380
2017-06-16 20:31:13 +02:00
Felix Becker
663ccd5f23
Update CodeSniffer
2017-06-15 17:11:57 +02:00
Felix Becker
4a98afe540
Fix docblock union types
2017-06-15 17:03:25 +02:00
Rob Lourens
3b633369a7
Fix error getting completions for 'new static' type ( #405 )
2017-06-15 12:44:03 +02:00
Nicholas Narsing
8d1732ed02
Exclude directory paths from file system search ( #401 )
...
* Exclude directories from file system search
Directories can also match the glob search pattern if their names end in ".php", which will cause a read error later since the ContentRetriever implementers are expecting files. As far as I know, the only way to fix this is to do an additional check to ensure the URI is not of a directory.
This resolves #306 .
2017-06-11 23:24:17 +02:00
Felix Becker
fe7e9d5800
Rename $stmts to $sourceFileNode everywhere
...
The root node is now a SourceFileNode, not an array
2017-06-10 21:36:16 +02:00
Jens Hausdorf
4c1d7bd1bc
Add true, false, null to keywords ( #396 )
2017-06-10 18:47:19 +02:00
Stephan Unverwerth
cc3f0da21a
Fix 'find references' for unused symbols ( #392 )
...
* Add tests for unused symbols
* Fix tests for unused symbols
2017-06-10 11:37:39 +02:00
Rob Lourens
f10680e441
Fix variable type from method return value, add tests ( #393 )
2017-06-10 11:10:15 +02:00
Rob Lourens
7b72b38fd9
Assert that references array is equal, not a subset, and update expected.json files ( #395 )
2017-06-10 10:55:41 +02:00