Fix the issues reported by phpcs

Created on 21 July 2023, over 1 year ago
Updated 27 July 2023, over 1 year ago

Problem/Motivation

FILE: /Users/roberttabigue/Projects/drupalorgissues/docroot/modules/contrib/spamspan/spamspan.install
-----------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------
 3 | ERROR | Missing short description in doc comment
-----------------------------------------------------------------------------------------------------


FILE: /Users/roberttabigue/Projects/drupalorgissues/docroot/modules/contrib/spamspan/js/spamspan.js
---------------------------------------------------------------------------------------------------
FOUND 14 ERRORS AFFECTING 3 LINES
---------------------------------------------------------------------------------------------------
 33 | ERROR | [x] Expected 1 space before "?"; 0 found
 33 | ERROR | [x] Expected 1 space after "?"; 0 found
 59 | ERROR | [x] Expected 1 space before "="; 0 found
 59 | ERROR | [x] Expected 1 space after "="; 0 found
 66 | ERROR | [x] Expected 1 space before "<"; 0 found
 66 | ERROR | [x] Expected 1 space after "<"; 0 found
 66 | ERROR | [x] Expected 1 space before ">"; 0 found
 66 | ERROR | [x] Expected 1 space after ">"; 0 found
 66 | ERROR | [x] Expected 1 space before "<"; 0 found
 66 | ERROR | [x] Expected 1 space after "<"; 0 found
 66 | ERROR | [x] Expected 1 space before "/"; 0 found
 66 | ERROR | [x] Expected 1 space after "/"; 0 found
 66 | ERROR | [x] Expected 1 space before ">"; 0 found
 66 | ERROR | [x] Expected 1 space after ">"; 0 found
---------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 14 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------

Time: 706ms; Memory: 14MB

Steps to reproduce

Please execute this command on the module:
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,js,info,txt,md,yml,twig spamspan/

📌 Task
Status

RTBC

Version

3.0

Component

Code

Created by

🇵🇭Philippines roberttabigue

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.

  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024