If language level is set to PHP 7 or higher PhpStorm will generate getters and setters with return type and scalar parameter type hint. Getters and setters generation use PHP 7 capabilities Static methods will be shown only on the second invocation. PhpStorm 2016.2 won’t show static methods on the first invocation of completion for a dynamic call (via ->). Possibility to filter out static methods from completion list PhpStorm 2016.2 brings new inspection for calling static method in a dynamic manner (via -> instead of ::). New Inspection to validate type of return statements against PHPDoc you will be warned if a declaration of a return type in phpDoc isn’t compatible with an actual return type of a method or a function. You can invoke it by pressing Ctrl+Shift+Space. Smart Type code completion filters the suggestion list and includes only those types that are applicable to the current context. With this type hinting support we made PHP 7 support within PhpStorm even better. In PhpStorm 2016.2 we’ve added new strict type inspection for PHP 7. This build includes new features, bug fixes and improvements for PHP and the Web, and takes on the latest improvements in IntelliJ Platform. The new PhpStorm 2016.2 EAP build (162.1120) is now available for download! You can download it here or, if you have installed the previous PhpStorm 2016.2 EAP build (162.1024), you should soon get a notification in the IDE about a patch update.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |