12/14/2023 0 Comments Download phpstorm 9![]() Quick access to quality tools configuration If there are multiple versions separated by commas or by pipe ( ||) symbols, PhpStorm will now handle completion correctly.Įach package now has links to its websites in the information popup. If you specify a custom source in the "repositories" section, all packages in it will be available for autocompletion, and information about packages and versions will be cached in PhpStorm. Support for Satis/Packagist custom repositories Since version 2020.1, it has been possible to manage Composer dependencies directly in the composer.json file in PhpStorm. The action is available under View | Type Info or via the ⌃⇧P / Ctrl+Shift+P shortcut. You can point the caret at any expression and call this action to see how PhpStorm inferred the type. New action: Type Info (⌃⇧P / Ctrl+Shift+P) ![]() Pseudovariable $this will always be of type ResetInterface, because it is higher up in the hierarchy.Įxample in ProcessUtils.php from symfony/process. Some of them may require your attention as potential sources of bugs, while fixing others can just make the code clearer and easier to read.Įxample in FormValidator.php from symfony/form.Įxample in Logger.php from symfony/monolog-bridge. Here and there you may notice warning highlights from new inspections. ![]() As a result, PhpStorm now understands code even better than before. The type of an inherited property has to match the type of the parent property, for example:īy redesigning the control flow engine we were able to introduce new inspections and fix many old bugs. Type order does not matter here, so Type1|Type2 is equivalent to Type2|Type1. The return type is covariant, which means you can only narrow it down. The type of the parameter is contravariant, which means it can be expanded. PhpStorm provides an Alt+Enter quick-fix for this. The existing ?Type syntax is now considered to be shorthand for Type|null.īut you cannot use ? in union types because it causes ambiguity.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |