Closed (fixed)
Project:
Coder
Version:
8.3.x-dev
Component:
Coder Sniffer
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Jan 2025 at 12:03 UTC
Updated:
1 Feb 2025 at 19:29 UTC
Jump to comment: Most recent
Drupal core is developing its own phpcs.xml.dist file at https://git.drupalcode.org/project/drupal/-/blob/11.x/core/phpcs.xml.dis...
Some sniffs have been adopted there that are missing in Coder.
Fix Coder, fix phpcs.xml.dist in core in #3135935: Keep all sniffs in phpcs.xml.dist in sync with the locked version of Coder.
Comments
Comment #3
klausiMissing EmptyPHPStatement found, added in https://github.com/pfrenssen/coder/pull/250
Comment #4
klausiAdapted the PropertyDeclaration sniff and directly use it from PSR-2 https://github.com/pfrenssen/coder/pull/251 (sorry did not put the correct issue number in the git log).
Comment #6
klausiCore issue already exists: #3135935: Keep all sniffs in phpcs.xml.dist in sync with the locked version of Coder.
Otherwise I'm done here, we are in sync again.