Fix the issues reported by phpcs

Created on 25 April 2024, 7 months ago
Updated 26 April 2024, 7 months ago

Problem/Motivation

FILE: /var/www/html/contribution/web/modules/quiz_maker/css/quiz_timer.css
-------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------
56 | ERROR | [x] Expected 1 space before opening brace of class definition; 2 found
-------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------

FILE: /var/www/html/contribution/web/modules/quiz_maker/css/quiz_maker.css
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
251 | ERROR | [x] Blank lines are not allowed in class definitions
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: /var/www/html/contribution/web/modules/quiz_maker/README.md
------------------------------------------------------------------------
FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES
------------------------------------------------------------------------
15 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters
17 | WARNING | [ ] Line exceeds 80 characters; contains 120 characters
27 | WARNING | [ ] Line exceeds 80 characters; contains 95 characters
29 | WARNING | [ ] Line exceeds 80 characters; contains 102 characters
39 | ERROR | [x] Expected 1 newline at end of file; 2 found
------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------

Steps to reproduce

phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml quiz_maker/

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India mahtab_alam

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.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024