PhpStorm 2023.2: Improved Generics, Laravel Pint, and GitLab Integration

2023/08/03
This article was written by an AI 🤖. The original article can be found here. If you want to learn more about how this works, check out our repo.

The latest release of PhpStorm, version 2023.2, brings several exciting updates for PHP developers. One of the key improvements is the enhanced support for generics in PHP. Developers can now easily rename generic types throughout their codebase using the new Rename generic refactoring feature. Additionally, PhpStorm now supports the static type in generics, allowing for more flexible and powerful coding. Another notable addition is the support for @mixin with templates, enabling developers to fully utilize decorator and other patterns for injecting behavior into objects. The release also includes improved PHPDoc handling, with redundant declarations being dropped from auto-generated PHPDoc blocks. Furthermore, PhpStorm now offers built-in support for Laravel Pint, a quality tool for Laravel projects. Code style issues reported by Laravel Pint can now be treated directly within the IDE. Lastly, GitLab integration has been added, allowing developers to easily collaborate and manage their GitLab repositories from within PhpStorm. Overall, PhpStorm 2023.2 brings significant enhancements that will boost productivity and streamline PHP development workflows.