Hello, running:

phpcs --standard=Drupal,DrupalPractice,PHPCompatibility --extensions=php composer

reports few issues with phpdoc comments as are currently set via the PHP_CodeSniffer rules.

To not fix an entire code base at once and have too big and unmanageable patch file, I'm opening this issue separately for the composer dir...

Thanks.

CommentFileSizeAuthor
#2 3104716.patch19.13 KBpeterkokot

Comments

peterkokot created an issue. See original summary.

peterkokot’s picture

StatusFileSize
new19.13 KB
cilefen’s picture

Status: Active » Needs review
idebr’s picture

Status: Needs review » Closed (duplicate)

Hi peterkokot,

The coding standards in Drupal Core are being fixed sniff-by-sniff rather than by component. You can find more information in #2571965: [meta] Fix PHP coding standards in core, stage 1

I'll close this issue as a duplicate.

peterkokot’s picture

Status: Closed (duplicate) » Needs review

Aha, sniff by sniff. I knew I've missed something then here :) Sure, no problem. I only hope we'll see some of these fixes any time soon in the codebase then because that's exactly what I was trying to avoid here - fixing entire codebase at once. But maybe sniff by sniff approach works better... I'll repatch this then...

peterkokot’s picture

Status: Needs review » Closed (duplicate)

Updating ticket status - I've accidentally changed the status in previous comment I think.