Gabriel Noé González
8d4fe1ef9f
CompletionTest fixed
2018-11-11 00:33:17 +01:00
Gabriel Noé González
fd9d326c7a
Fixing phpcs errors
2018-11-11 00:19:19 +01:00
Gabriel Noé González
73ab1520a3
Visibility Test and Changing line ending from CRLF -> LF
...
Added CompletionWithVisibilityTest.php
- checks visibility of a property or method call (only public)
- checks visibility of a Class (can see all methods and properties)
- checks visibility of a child class (public and protected)
2018-11-10 23:57:14 +01:00
Gabriel Noé González
e71e4e0ff0
Trimmed Trailing Whitespace
2018-11-10 17:44:05 +01:00
Gabriel Noé González
df898ec633
Merging with master
2018-11-10 14:22:55 +01:00
Gabriel Noé González
1b81ac0bbd
Merge branch 'master' of https://github.com/gnoe/php-language-server into fix/visibility
2018-11-10 14:18:30 +01:00
Gabriel Noé González
88bb2eaf17
Minor changes
2018-11-10 13:52:16 +01:00
Gabriel Noé González
b808e3c365
Update .gitignore
...
Ignoting Netbeans conf
2018-11-10 13:46:40 +01:00
Gabriel Noé González
d1bdcbd173
Resolving node ancestor in the CompletionProvider, so it's resolved outside the loop
2018-11-10 13:40:55 +01:00
Gabriel Noé González
a54fcf9d14
Adding netbeans config to gitignore
2018-11-10 13:14:51 +01:00
Gabriel Noé González
5835bd314b
[PR] Intellisense autocomplete also suggests private or protected method and properties
...
Checking the visibility and the context from where the node is: inside a method declaration or after an instantiation
2018-11-09 21:35:05 +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
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