You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Promoted properties without PHPDoc was fixed in 3.6.0, but with PHPDoc it still gives an error (in 3.6.0):
Multi-line function declaration not indented correctly; expected 8 spaces but found 0
gsherwood
changed the title
Error on promoted properties with PHPDoc
PSR12/Squiz/PEAR standards all error on promoted properties with docblocks
May 27, 2021
Describe the bug
Promoted properties without PHPDoc was fixed in 3.6.0, but with PHPDoc it still gives an error (in 3.6.0):
Multi-line function declaration not indented correctly; expected 8 spaces but found 0
Code sample
Custom ruleset
To reproduce
You can try to build this project:
https://github.com/Arslanoov/messenger-api
Or create a class with promoted properties and PHPDoc
Expected behavior
No error on promoted properties with PHPDoc
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: