phptools-docs icon indicating copy to clipboard operation
phptools-docs copied to clipboard

PHP Tools public content

Results 215 phptools-docs issues
Sort by recently updated
recently updated
newest added

The [generics by example](https://phpstan.org/blog/generics-by-examples#function-accepts-any-string%2C-but-returns-object-of-the-same-type-if-it%E2%80%99s-a-class-string) article on phpstan.org includes the following example of generic return types: ```php class Container { /** * @template T of object * @return ($name is class-string...

Hi, the `pathMappings` configuration in `launch.json` not working in visual code. When the test finished as failure it doesn't show output error and open the file with remote path. Here...

![image](https://github.com/DEVSENSE/phptools-docs/assets/13969584/a3f970c9-408d-489d-b383-311d78992bc1) I think the title and the screenshot say it all.

Hello, @jakubmisek, I am looking for a solution for `Go to Definition` specifically for OpenCart framework. When I use F12, I can't go to definition which is expected. Because of...

![image](https://github.com/DEVSENSE/phptools-docs/assets/13969584/f9337987-617f-460f-b860-ba88db85af61) There's no warning whatsoever for calling a protected method from an unrelated class. In reality this will throw an error at runtime. Example code: ```

Using the latest vscode version, php-html code folding suddenly disappears. Disabling the plugin fixes the issue. Please fix. VSCode Version: 1.86.0 (user setup) Commit: 05047486b6df5eb8d44b2ecd70ea3bdf775fd937 Date: 2024-01-31T10:28:19.990Z Electron: 27.2.3 ElectronBuildId:...

![image](https://github.com/DEVSENSE/phptools-docs/assets/13969584/27e6e5a8-64cc-47ce-81f5-525c6d14ca77) Most, if not all, of the `use` statements above were added automatically by using autocomplete. That is, when I used any of those types for the first time, I...

This is just one particular case of something that happens all the time: the autocomplete failing to show expected suggestions. Here: ![image](https://github.com/DEVSENSE/phptools-docs/assets/13969584/eb57b670-bfbf-49f3-bf1c-eafe636cb905) I'm in the process of typing this call:...

I have included PHP extension in the recommendations for the [VSCode setup for Moodle development](https://github.com/lmscloud-io/mdlcode-docs/blob/main/docs/setup.md) . Moodle as a product started over 20 years ago and some architectural decisions from...

Static analysis support for the [`#[\Override]`](https://wiki.php.net/rfc/marking_overriden_methods) attribute introduced in PHP [8.3](https://www.php.net/releases/8.3/en.php#override_attribute) would be great.