Lack of linebreak breaks DocCommentSniff

Created on 13 July 2024, 11 months ago

Problem/Motivation

I was writing the hook oop converter rector rule and forgot to add a linebreak between methods. phpcbf errors with failed to fix.

Steps to reproduce

Please find repro case and the output of ./vendor/bin/phpcbf --report=diff -vvv --standard=core/phpcs.xml.dist testphpbcf.php attached.

Proposed resolution

Feel free to won't fix this, normal code doesn't look like this after all.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

8.3

Component

Coder Sniffer

Created by

πŸ‡¨πŸ‡¦Canada Charlie ChX Negyesi 🍁Canada

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024