1
0
Fork 0
php-language-server/fixtures
alWerewolf 47d6424c98 Tolerate $this usage in anonymous functions
Alternative solution for issue 536.
Gives warning "$this might not be bound by invoker of callable or might be bound to object of any class. Consider adding instance class check." for $this var usage.
And hints developer to check class of $this before usage.
Class check can be added in form "if ($this instanceof [class])" {/*use $this*/}.
Note: if class check added no type checking is done its in language server it just hides the warning.
2017-11-30 18:02:34 +03:00
..
completion fix(completion): don't suggest <?php on > characer (#527) 2017-11-15 22:38:01 -08:00
diagnostics Tolerate $this usage in anonymous functions 2017-11-30 18:02:34 +03:00
global_fallback.php References (#52) 2016-10-12 01:45:15 +02:00
global_references.php Add support for inherited members (#218) 2016-12-16 01:40:17 +01:00
global_symbols.php Fix 'find references' for unused symbols (#392) 2017-06-10 11:37:39 +02:00
invalid_file.php Change fixtures naming convention 2016-09-30 11:38:46 +02:00
namespace_not_first.php Fixes #59: Handle correctly negative endLine in PHP Parser errors (#62) 2016-10-11 10:15:20 +02:00
references.php Add support for inherited members (#218) 2016-12-16 01:40:17 +01:00
symbols.php Show constructors and destructors with right symbol (#346) 2017-04-09 19:44:28 +02:00
use.php Add textDocument/definition support 2016-10-09 15:58:39 +02:00