Skip to content

Conversation

samuelmaudo
Copy link
Contributor

This PR recovers a rule to format multiline comments consistently.

With this rule, this code:

/******
 * Multiline comment with arbitrary asterisks count
 ******/

/**\
 * Multiline comment that seems a DocBlock
 */

/**
 * DocBlock with arbitrary asterisk count at the end
 **/

becomes:

/*
 * Multiline comment with arbitrary asterisks count
 */

/*\
 * Multiline comment that seems a DocBlock
 */

/**
 * DocBlock with arbitrary asterisk count at the end
 */

It was included in the PHP CS Fixer ruleset, so if we replace it by the Symfony ruleset, it might be interesting to include it in our ruleset.

@samuelmaudo samuelmaudo self-assigned this Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant