Coding standard

Created on 4 September 2018, about 6 years ago
Updated 22 July 2024, 4 months ago
FILE: .../contrib/watchdog_navigate/src/EventSubscriber/DblogDetector.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
----------------------------------------------------------------------
 20 | ERROR | [x] Expected 1 blank line before function; 2 found
 35 | ERROR | [ ] Doc comment short description must be on a single
    |       |     line, further text should be a separate paragraph
 37 | ERROR | [ ] Missing parameter comment
 39 | ERROR | [ ] Expected type hint "GetResponseEvent"; found
    |       |     "GetResponseForControllerResultEvent" for $event
🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇺🇦Ukraine AstonVictor

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.

  • 🇮🇳India riddhi.addweb

    I have applied the "2997161_watchdog_navigate_cs_fix_2" patch but still, there are some erros.
    Please check the screenshot for the same.

    FILE: /var/www/html/web/Drupal_9.5/web/modules/contrib/watchdog_navigate/src/EventSubscriber/DblogDetector.php
    ---------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
    ---------------------------------------------------------------------------------------------------------------------
     13 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name
     34 | ERROR   | [x] Data types in @param tags need to be fully namespaced
    ---------------------------------------------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    ---------------------------------------------------------------------------------------------------------------------
    
Production build 0.71.5 2024