vscode-intelephense
vscode-intelephense copied to clipboard
PHP intellisense for Visual Studio Code
Okay, I admit, this is no real feature request nor bug report. But I don't know where else to post and I really like to share my thoughts. **TL;DR below.**...
**Describe the bug** Intelephense thinks that Mockery::mock() returns a string, but it actually returns a MockInterface. This causes subsequent calls on the mock object to show `Expected type 'object'. Found...
如果php代码如下: ```php $test = "myName"; ``` 代码中有myName这个词,再接下来的编码中,我希望在输入my的时候,能够智能提示myName这个词,这个功能很有用
**Describe the bug** The intelephense server crashed 5 times in the last 3 minutes. The server will not be restarted. **To Reproduce** Open VSCODE. **Expected behavior** A clear and concise...
**Describe the bug** Declared but not used false positive **To Reproduce** ``` try { UserActivationService::getActivationCode( $this->testEmailAddress ); throw new Exception( 'modifyActivation() left old email in DB' ); } catch (...
**Describe the bug** Code actions ("textDocument/codeAction") and renaming ("textDocument/rename") seems not to be working with neovim builtin lsp. **To Reproduce** Install neovim 0.5.0, configure with intelephense and try to trigger...
**Describe the bug** I sometimes see the warning 'Cannot use 'parent' in a class with no parent.intelephense(1035)' for a parent::foo() call on a class that has a parent. **To Reproduce**...
**To Reproduce** 1. Init empty project 2. Create file e.g. `test.php` 3. Run `composer require phpmailer/phpmailer` 4. Paste PHPMailer simple example into `test.php` ```
**Feature description or problem with existing feature** I'd like to see a diagnostic error if I call `sprintf()` with an inappropriate number of arguments. **Describe the solution you'd like** When...
I Know "**intelephense.format.braces**" option takes care of so much stuff. But I have an if condition ``` if (! $var) { // Some code } ``` Intelephense removes space in...