Closed (fixed)
Project:
Coder
Version:
8.3.x-dev
Component:
Coder Sniffer
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2024 at 01:35 UTC
Updated:
15 Jan 2025 at 18:34 UTC
Jump to comment: Most recent
Comments
Comment #3
klausiThanks for reporting!
As a first fix we should allow PHPCS ignore comments to be on the same line, pushed https://github.com/pfrenssen/coder/pull/246
Now this works:
I'm not a big fan of the extra line you want in the issue summary, but maybe we can also make that work easily.
Comment #4
klausiConfirmed, easy to fix: https://github.com/pfrenssen/coder/pull/247
That exposed Drupal core coding standard problems with wrong tag order on member variable comments. I put those on ignore for now:
lib/Drupal/Core/Entity/EntityType.php
lib/Drupal/Core/Recipe/RecipeInputFormTrait.php
lib/Drupal/Core/Form/FormState.php
modules/migrate/src/Plugin/Migration.php
modules/views/src/ViewExecutable.php
modules/views/src/Plugin/views/style/StylePluginBase.php
Comment #6
klausiAnd merged!
This will need a new Coder release 8.3.27 and then Drupal core needs to update to that. Will probably do that next week or so.