PHP Tools for Visual Studio v1.81.19965
Released: Jul 31, 2024
v1.81.19965 버젼 업데이트
기능
- PHP 8.4 Support (Preview) - This update adds support for the new PHP 8.4 features, including:
- Property hooks, and
__PROPERTY__ magic constant.
New without parentheses.
- Formatting for properties and property hooks.
- Added initial support for
@phpstan-assert, @phpstan-assert-if-true, and @phpstan-assert-if-false.
- PhpUnit tests are now discovered in nested directories, and respects prefix configuration.
- Now recognizes unsealed array shape type.
- Improved initial indexing, postpones discovering test cases after indexing is done.
- Made optimizations and memory usage improvements.
- Improved
ReflectionClass::getMethods() type inference.
- Implementing abstract functions now adds universal
@inheritDoc doc comment.
Sort uses code action now removes duplicates.
- Adjusted completion sorting for not-imported global types.
- Magic constants (
__METHOD__, __PROPERTY__, etc.) are now checked if they are used in a correct context.
- Diagnostics improvements.
- Successfully whitelisted both PHP Tools and IntelliPHP in AVAST CyberCapture, so there shouldn't be any prolonged scanning during runtime.
- Formatting
- Align Properties - The formatter now includes an
Align Properties feature to align properties within class definitions for better code readability. Activate this feature via Tools | Options and navigate to Text Editor | PHP | Formatting | Wrapping. Under Class Properties, enable Align properties.
- Automatic Installations - Updated most of the PHPs and Xdebug (version
3.3.2) which are installed automatically to their latest versions.
수정사항
- Fixes for
try/finally control flow and reachability analysis.
- Fixed an issue causing unwanted spaces after formatting
require and similar statements.
- Crash fix when having
@extends parent<> annotation, with template arguments.
- Function override check respects
#[ReturnTypeWillChange] attribute.
- Fixed false unused variable warning about object that is used as an array.
- Renamed and highlighted occurrences of private fields fixes.
- Fixed missing composer node in Dependencies in the Solution Explorer when languages other than English are used.
- Stability fixes.
- When using the automatic installer, the zip extension is enabled by default starting with PHP
8.2. Previously, if this extension was not enabled, some Composer commands might have failed.