Fix phpcs issues

Created on 2 June 2024, 10 months ago
Updated 16 June 2024, 10 months ago

Problem/Motivation

---------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
---------------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line
10 | ERROR | [ ] Missing parameter type
11 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
12 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2 spaces
20 | ERROR | [x] Expected 1 newline at end of file; 2 found
---------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------

FILE: /home/jcv/drupal/git/grn/GitReleaseNotesDrushCommands.php
--------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------------------------------------------------------
84 | ERROR | [ ] The array declaration extends to column 257 (the limit is 120). The array content should be split up over multiple lines
217 | ERROR | [x] list(...) is forbidden, use [...] instead.
--------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------

📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇵🇹Portugal jcnventura

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

Comments & Activities

Production build 0.71.5 2024