Skip to content

Cannot format when property hooks are promoted in constructor arguments #786

@Digitalone1

Description

@Digitalone1

Please, try to format the following code with the extension: https://3v4l.org/SabnP#v8.4.3

I got the following message:

Couldn't format the code due to unexpected change on line 6. Please report it at community.devsense.com., Line Offset: 0

It seems property hooks are not supported by the extension in constructor arguments, but they are correct in PHP 8.4 (see the documentation).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions