Problem/Motivation

FILE: modules\stepbystep\src\SequenceManager.php
------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------
57 | ERROR | [x] list(...) is forbidden, use [...] instead.
------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------

FILE: modules\stepbystep\tests\README.txt
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
----------------------------------------------------------------------
3 | WARNING | Line exceeds 80 characters; contains 83 characters
11 | WARNING | Line exceeds 80 characters; contains 137 characters
----------------------------------------------------------------------

FILE: modules\stepbystep\tests\src\Functional\StepByStepTest.php
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------------------------
48 | ERROR | The array declaration extends to column 127 (the limit is 120). The array content should be split up over multiple lines
48 | ERROR | The array declaration extends to column 126 (the limit is 120). The array content should be split up over multiple lines
52 | ERROR | The array declaration extends to column 127 (the limit is 120). The array content should be split up over multiple lines
52 | ERROR | The array declaration extends to column 126 (the limit is 120). The array content should be split up over multiple lines
---------------------------------------------------------------------------------------------------------------------------------------

Steps to reproduce

Run phpcs command to get the drupal coding standard issues.

Proposed resolution

Many of the issues can be fixed by running the phpcbf command. For the remaining ones, we will need to manually address and then commit these changes before pushing them.

Issue fork stepbystep-3475927

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sunil jolapara created an issue. See original summary.

sunil jolapara’s picture

Status: Needs work » Needs review

avpaderno made their first commit to this issue’s fork.

bgreco’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.