Fix the issues reported by phpcs

Created on 4 April 2023, over 1 year ago
Updated 18 July 2024, 4 months ago

Problem/Motivation

FILE: /home/system/Documents/contribution/ebook_zymphonies_theme-3352104/ebook_zymphonies_theme.theme
-------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 5 WARNINGS AFFECTING 6 LINES
-------------------------------------------------------------------------------------------------------------------------
 158 | ERROR   | Doc comment short description must be on a single line, further text should be a separate paragraph
 278 | WARNING | Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
 278 | ERROR   | Concatenating translatable strings is not allowed, use placeholders instead and only one string literal
 284 | WARNING | Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
 284 | ERROR   | Concatenating translatable strings is not allowed, use placeholders instead and only one string literal
 290 | WARNING | Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
 290 | ERROR   | Concatenating translatable strings is not allowed, use placeholders instead and only one string literal
 295 | WARNING | Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
 295 | ERROR   | Concatenating translatable strings is not allowed, use placeholders instead and only one string literal
 300 | WARNING | Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
 300 | ERROR   | Concatenating translatable strings is not allowed, use placeholders instead and only one string literal
-------------------------------------------------------------------------------------------------------------------------

Time: 53ms; Memory: 10MB

Steps to reproduce

Execute the command:
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml ebook_zymphonies_theme/

📌 Task
Status

Needs work

Version

2.0

Component

Code

Created by

🇮🇳India urvashi_vora Madhya Pradesh, India

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