phptools-docs
phptools-docs copied to clipboard
PHP Tools public content
I am using version: 1.51.16078. The code keywords coloring appears to be off after a particular line of code. See 2 examples below:  
The language constructs should be prefered at some constructs instead of functions like here: I want to create a new method, it should prefer static instead of stat same here....
Hi, I found an issue with type detection when: - parent interface uses interface-level generic parameter in method signature - another child interface extends parent interface, replaying the generic -...
I want to write this: ```
Hello! The following valid code gives an error "Member has protected visibility and is not accessible from the current context." ```
I clicked on "3 references" above a function definition and got this error: ``` Actual command not found, wanted to execute devsense:peekReferences /80387 ``` and of course it fails to...
I'm hinting the class to a $variable, because I'm setting the class on runtime. After that, the $variable changes it's type, hinted by a method, but the new type is...
Step to reproduce: ```bash composer require amphp/websocket-client ``` ```php use Amp\Websocket\Client\WebsocketHandshake; use Amp\Websocket\WebsocketCloseCode; use function Amp\Websocket\Client\connect; // Connects to the websocket endpoint at libwebsockets.org // which sends a message every...
Step to reproduce: - Open any file in `vendor`. - Override any method of class in above file, will not get autocompletion without closing the file opened in `vendor`.