PHPCS standards

Created on 14 July 2022, over 2 years ago
Updated 19 October 2023, about 1 year ago

Apart from short array standard phpcs command triggers

FILE: /drupal/checklistapi/checklistapi.module
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 27 | WARNING | Exceptions should not be translated
----------------------------------------------------------------------


FILE: /drupal/checklistapi/checklistapi_example/checklistapi_example.install
-----------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
 6 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
-----------------------------------------------------------------------------------------------------------------


FILE: /drupal/checklistapi/checklistapi_example/checklistapi_example.module
---------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
---------------------------------------------------------------------------------------------------
  11 | ERROR | [x] Doc comment long description must end with a full stop
  16 | ERROR | [x] Additional blank lines found at end of doc comment
 212 | ERROR | [x] Doc comment long description must end with a full stop
---------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------


FILE: /drupal/checklistapi/checklistapi.pages.inc
---------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------
 210 | ERROR | [x] Use null coalesce operator instead of ternary operator.
---------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------


FILE: /drupal/checklistapi/tests/checklistapi.test
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 73 | ERROR | Missing member variable doc comment
--------------------------------------------------------------------------


FILE: /drupal/checklistapi/tests/modules/checklistapi_test/checklistapi_test.info
-----------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------
 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically
-----------------------------------------------------------------------------------------------------------


FILE: /drupal/checklistapi/checklistapi.api.php
----------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------------------
  69 | ERROR | [x] Return comment indentation must be 3 spaces, found 1 spaces
 110 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 1 spaces
----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------

Time: 797ms; Memory: 14MB
🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇦🇺Australia VladimirAus Brisbane, Australia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024