Home>Article>Development Tools> What are the changes in PhpStorm 2022.2 version?

What are the changes in PhpStorm 2022.2 version?

藏色散人
藏色散人 forward
2022-10-18 17:05:53 1529browse

The following columnphpstorm tutorialwill introduce to you the latest changes in PhpStorm 2022.2. I hope it will be helpful to friends in need!

What are the changes in PhpStorm 2022.2 version?

PhpStorm2022 has been updated, and the latest PhpStorm 2022.2 version should have new changes. PhpStorm 2022.2 is a major update with Mockery and Rector support, enhanced generics and enum support, debugger and HTTP client improvements, and more.

PhpStorm 2022.2 Latest Changes

  • Mockery Support

PhpStorm 2022.2 introduces support for popular mock objects FrameworkMockery support. We offer autocompletion support for most Mockery features, checks to help improve workflow, interface mocks, and more.

  • Rector Support

The second major update of this version is support forRector, which is used for Automated tool for managing PHP upgrades and batch refactorings.
You can now run Rector from PhpStorm, view file changes using the convenient diff view, and manage its configuration in depth.

  • PHP Generics

Finally, we have improved support for generics. This release adds support for minimum and maximum values of integers, improved support for collections, and improved type inference for closures.

  • Highlight failed test assertions

When a test assertion fails, PhpStorm will highlight the failed line and allow the use of new The context menu suggests rerunning the test from the failing line. Press Alt Enter on the failed line to rerun a specific test.

  • Creating Enumerations

You can now create enumerations from the Create Class dialog box. Make sure your project's PHP version is 8.1 or higher, otherwise the enumeration options will not show up.

  • Debugger improvements

The debugger window has received a number of experience optimization improvements, so that relevant data is always within reach.

  • Clickable URLs

PhpStorm 2022.2 adds support for clickable URLs in multiple file formats. When a URL is found in PHP, JSON, YAML, or a properties file, PhpStorm will highlight it and click to open it in your browser.

PhpStorm2022 Software Introduction

PhpStorm is a PHP IDE that can truly "parse" your code. It supports PHP 5.3-8.1, offers real-time error prevention, best-in-class autocompletion and code refactoring, zero-configuration debugging, and extended HTML, CSS, and JavaScript editors.

  • Smart PHP Code Editor

IDE provides intelligent code completion, syntax highlighting, extended code formatting configuration, and real-time errors Inspections, code folding, and support for voice mixing and more. Automatic refactoring handles your code with care, making global project setup easy and safe.

  • Code Quality Analysis

Hundreds of code inspections validate your code as you type and check the entire project for possible errors or code smells. Quick fixes available for most checks make it easy to fix or improve your code immediately. Alt Enter displays the appropriate options for each exam.

  • Simple code navigation and search

PhpStorm can help you code more efficiently and save time when working on large projects. Jump to a method, function or variable definition with just one click or search for usage.

The above is the detailed content of What are the changes in PhpStorm 2022.2 version?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete