vscode-intelephense
vscode-intelephense copied to clipboard
PHP intellisense for Visual Studio Code
**Describe the bug** Return type of chain object is wrong **To Reproduce** This my App\Models\Enquiry ```
**Describe the bug** I came across this error recently. I used an empty nowdoc to eventually add some SQL code later one (other stuff needed to be done before I...
**Describe the bug** The hover showing a nice formatted version of documentation comment for functions works very different for standard lib and user code. Html tags seem to work perfectly...
**Describe the bug** When using foreach the "go to definion" of type variable's value is lost **To Reproduce** ```php class Pikachu { } $pokemons = [new Pikachu]; foreach ($pokemons as...
**Describe the bug** Intelephense doesn't find the calls to a method declared in a trait and used in an extended class **To Reproduce** ```php trait Hello { public function world():...
**Describe the bug** Return types for some methods are not formed correctly when using relationships in Laravel models. **To Reproduce** ```php namespace App\Models; use Illuminate\Database\Eloquent\Model; class User extends Model {}...
**Describe the bug** If an enum implements an interface, it is not included in the list of implementations for that interface like classes are. This only applies to the enum...
**Describe the bug** When the return type of a method expect a nullable type, if we return another nullable type, no error is shown maybe related to https://github.com/bmewburn/vscode-intelephense/issues/1976 **To Reproduce**...
First off, my apologies if there's an issue for this somewhere and I've missed it, or this is intended behavior and this is a feature request instead. **Describe the bug**...
**Describe the bug** The method "getStreamIndex" of the php-zip extension is declared as undefined method by intelephense for no reason. **To Reproduce** ```php $zip = new ZipArchive(); if ($zip->open($filePath) !==...