Fix the issues reported by phpcs

Created on 18 May 2023, over 1 year ago
Updated 21 June 2023, over 1 year ago

phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml web/modules/contrib/kplatforms-4.1.42/

FILE: /var/www/html/contribution/web/modules/contrib/kplatforms-4.1.42/kplatforms/lockfiles/Drupal7.RELEASE_NOTES.txt
---------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------
9 | ERROR | [x] Expected 1 newline at end of file; 2 found
---------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------

FILE: /var/www/html/contribution/web/modules/contrib/kplatforms-4.1.42/kplatforms/kplatforms.info
-------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 3 WARNINGS AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------
1 | WARNING | Remove "project" from the info file, it will be added by drupal.org packaging automatically
1 | WARNING | Remove "datestamp" from the info file, it will be added by drupal.org packaging automatically
1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically
1 | ERROR | "description" property is missing in the info file
1 | ERROR | "core" property is missing in the info file
-------------------------------------------------------------------------------------------------------------

FILE: /var/www/html/contribution/web/modules/contrib/kplatforms-4.1.42/kplatforms/USAGE.md
------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------
31 | WARNING | Line exceeds 80 characters; contains 93 characters
------------------------------------------------------------------------------------------

FILE: /var/www/html/contribution/web/modules/contrib/kplatforms-4.1.42/kplatforms/INSTALL.md
--------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------
9 | WARNING | Line exceeds 80 characters; contains 112 characters
40 | WARNING | Line exceeds 80 characters; contains 87 characters
--------------------------------------------------------------------------------------------

FILE: /var/www/html/contribution/web/modules/contrib/kplatforms-4.1.42/kplatforms/MAINTENANCE.md
------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------
38 | WARNING | [ ] Line exceeds 80 characters; contains 85 characters
80 | WARNING | [ ] Line exceeds 80 characters; contains 101 characters
86 | WARNING | [ ] Line exceeds 80 characters; contains 113 characters
143 | WARNING | [ ] Line exceeds 80 characters; contains 90 characters
151 | ERROR | [x] Expected 1 newline at end of file; 2 found
------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------

📌 Task
Status

Closed: works as designed

Version

4.1

Component

Code

Created by

🇮🇳India himanshu_jhaloya Indore

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

Comments & Activities

Production build 0.71.5 2024