vscode-intelephense
vscode-intelephense copied to clipboard
PHP intellisense for Visual Studio Code
**Describe the bug** as the title, if you reassign a readonly property intelephense should underline it in red and show the error. **To Reproduce** `
**Describe the bug** When you have more than one PHP Doc extension enabled in Visual Studio Code, it causes extra prompts to appear that aren't wanted. If you accidentally select...
**Describe the bug** PSR-12 (8. Anonymous Classes) The opening brace MUST go on the same line, and the closing brace MUST go on the next line following the body. https://www.php-fig.org/psr/psr-12/...
I just upgraded to premium and tried indexing my whole project (not something I'm able to share btw) but a project that works in PhpStorm nonetheless (ie. no code issues)....
**Describe the bug** Calling a static method of type `class-string` in strict mode will prompt `Expected type 'string|object'. Found 'class-string'` **To Reproduce** ```php
**Describe the bug** Passing `Foo::class` into a function that requires `string` type in strict mode will result in an error. **To Reproduce** ```php
1.11.0 is now available as a pre-release due to the large number of changes and nice features in there. If you come across any bugs please create a new issue...
Type: Bug ctrl+鼠标左键无法跳转到引用 Extension version: 1.10.4 VS Code version: Code 1.90.2 (5437499feb04f7a586f677b155b039bc2b3669eb, 2024-06-18T22:33:48.698Z) OS version: Linux x64 6.6.25-amd64-desktop-hwe Modes: System Info |Item|Value| |---|---| |CPUs|13th Gen Intel(R) Core(TM) i7-13700 (24 x...
**Feature description or problem with existing feature** Given the following: ```php /** * Describe a number * @param int|float $input * @return string */ function describeNum($input): string { return "The...
**Describe the bug** The `@var` PHPDoc tag doesn't work (i.e. it doesn't appear to be parsed/understood by intelephense) on promoted properties. **To Reproduce** This doesn't work: ```php class Foo {...