Fix the issues reported by phpcs

Created on 30 January 2023, almost 2 years ago
Updated 1 May 2024, 7 months ago

Running phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,js,info,txt,md,yml,twig shows the following errors/warnings, which should be fixed.

FILE: ./keysave_1.0.x/keysave.module
 6 | ERROR | [x] There must be exactly one blank line after the file comment

FILE: ./keysave_1.0.x/js/listen.js
  8 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
 11 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
 14 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
 25 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
๐Ÿ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia samit.310@gmail.com

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024