I run this following phpcs command and errors were reported below.

./vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig /home/valuelabs/projects/newone/web/modules/radix_layouts

FILE: ...home/valuelabs/projects/newone/web/modules/radix_layouts/radix_layouts.css
--------------------------------------------------------------------------------
FOUND 20 ERRORS AFFECTING 20 LINES
--------------------------------------------------------------------------------
16 | ERROR | [x] Blank lines are not allowed in class definitions
18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
23 | ERROR | [x] Selectors must be on a single line
25 | ERROR | [x] Selectors must be on a single line
27 | ERROR | [x] Selectors must be on a single line
29 | ERROR | [x] Selectors must be on a single line
31 | ERROR | [x] Selectors must be on a single line
36 | ERROR | [x] Blank lines are not allowed in class definitions
38 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
39 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
100 | ERROR | [x] Blank lines are not allowed in class definitions
102 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
103 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
110 | ERROR | [x] Blank lines are not allowed in class definitions
112 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
113 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
206 | ERROR | [x] Blank lines are not allowed in class definitions
208 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 5
209 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 10
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 20 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: /home/valuelabs/projects/newone/web/modules/radix_layouts/CHANGELOG.txt
-----------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------
16 | ERROR | [x] Expected 1 newline at end of file; 2 found
-----------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------

FILE: /home/valuelabs/projects/newone/web/modules/radix_layouts/README.md
-------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------
10 | WARNING | Line exceeds 80 characters; contains 122 characters
-------------------------------------------------------------------------

FILE: ...e/valuelabs/projects/newone/web/modules/radix_layouts/radix_layouts.module
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chetan 11 created an issue. See original summary.

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

shiv_yadav’s picture

Status: Active » Needs review

Hello chetan, I have Fixed phpcs issue.
please review & retest it.
Thanks.

chetan 11’s picture

Status: Needs review » Reviewed & tested by the community