Fix PHPCS issues

Created on 10 January 2024, 11 months ago
Updated 24 January 2024, 11 months ago

Problem/Motivation

PHPCS issues:

FILE: /var/www/html/web/modules/custom/perimeter/perimeter.module
-----------------------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 4 LINES
-----------------------------------------------------------------------------------------------------------------
 1 | ERROR | [x] Missing file doc comment
 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line
 3 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\ban\BanIpManager.
 6 | ERROR | [x] Missing function doc comment
 6 | ERROR | [x] Expected 1 space before opening brace; found 0
 9 | ERROR | [x] Expected 1 space after IF keyword; 0 found
 9 | ERROR | [x] Expected 1 space before "=="; 0 found
 9 | ERROR | [x] Expected 1 space after "=="; 0 found
 9 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
-----------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------


FILE: /var/www/html/web/modules/custom/perimeter/README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 36 | WARNING | Line exceeds 80 characters; contains 95 characters
----------------------------------------------------------------------

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇩🇪Germany Grevil

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024