Problem/Motivation

We should enforce Drupal code styles with automated checks.

Proposed resolution

Add coder checks to the repo and run them automatically.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

adamzimmermann created an issue. See original summary.

markdorison’s picture

We can configure/use DrupalCI for these checks: Using Coder/PHPCS in DrupalCI

markdorison’s picture

Status: Active » Needs work

@adamzimmermann I believe you need to enable automated testing.

adamzimmermann’s picture

Status: Needs work » Needs review

Testing automated testing after setting it up.

https://www.drupal.org/node/3187341/qa

adamzimmermann’s picture

Title: Add automated code style checks » Allow automated tests to run.
Status: Needs review » Fixed

  • adamzimmermann committed 2e69946 on 1.x
    Issue #3187487 by adamzimmermann, markdorison: Allow automated tests to...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.