Coding standards

Created on 14 April 2023, over 1 year ago
Updated 28 April 2023, over 1 year ago

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

FILE: ...ib/taxonomy_custom_controller/src/EventSubscriber/RouteAlterSubscriber.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
--------------------------------------------------------------------------------
8 | WARNING | [x] Unused use statement
15 | ERROR | [ ] Missing short description in doc comment
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...www/html/drupalvb/web/modules/contrib/taxonomy_custom_controller/README.md
--------------------------------------------------------------------------------
FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES
--------------------------------------------------------------------------------
14 | WARNING | [ ] Line exceeds 80 characters; contains 113 characters
16 | WARNING | [ ] Line exceeds 80 characters; contains 159 characters
28 | WARNING | [ ] Line exceeds 80 characters; contains 92 characters
76 | WARNING | [ ] Line exceeds 80 characters; contains 87 characters
88 | ERROR | [x] Expected 1 newline at end of file; 2 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

Time: 448ms; Memory: 12MB

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India dineshkumarbollu

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