Adopt PHPCS config from Drupal core that is missing in Coder

Created on 2 January 2025, 3 months ago

Problem/Motivation

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.

Proposed resolution

  1. Go through core's phpcs.xml.dist file, compare it with ruleset.xml for the Drupal standard in Coder
  2. Add any missing sniffs to Coder
  3. Change core's phpcs.xml.dist file to depend on Coder, only having exceptions there that core does not support yet.

Remaining tasks

Fix Coder, open core issue

📌 Task
Status

Active

Version

8.3

Component

Coder Sniffer

Created by

🇦🇹Austria klausi 🇦🇹 Vienna

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

Comments & Activities

Production build 0.71.5 2024