Why does the PhpdocAlignFixer adds a space in front of the Return Doc #7290
-
I dont know why our configuration creates this behavior, maybe one can help me here.
This is our configuration. There is nothing special configured for this rule
|
Beta Was this translation helpful? Give feedback.
Answered by
Wirone
Sep 12, 2023
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
maluramichael
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just for the record: you're using Easy Coding Standard but you're asking for help in PHP-CS-Fixer 😉. Even though ECS uses fixers internally, it has its own engine for running checkers (not only fixers, but also sniffs).
Please provide actual code snippet so we can verify it, but from the diff it seems like you have 5 space indentation (for method and the phpDoc). With proper indentation no changes are applied by
phpdoc_align
: