Skip to content

Why does the PhpdocAlignFixer adds a space in front of the Return Doc #7290

Closed Answered by Wirone
maluramichael asked this question in Q&A
Discussion options

You must be logged in to vote

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:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maluramichael
Comment options

Answer selected by maluramichael
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants