Problem/Motivation

FILE: /var/www/html/vb/d_cont/user_not_role/user_not_role.info.yml
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
5 | ERROR | [x] Expected 1 newline at end of file; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

FILE: /var/www/html/vb/d_cont/user_not_role/README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
----------------------------------------------------------------------
3 | WARNING | Line exceeds 80 characters; contains 232 characters
14 | WARNING | Line exceeds 80 characters; contains 153 characters
16 | WARNING | Line exceeds 80 characters; contains 145 characters
20 | WARNING | Line exceeds 80 characters; contains 187 characters
22 | WARNING | Line exceeds 80 characters; contains 84 characters
----------------------------------------------------------------------

FILE: ...b/d_cont/user_not_role/tests/src/Unit/Plugin/Condition/UserNotRoleTest.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
--------------------------------------------------------------------------------
39 | WARNING | [ ] Only string literals should be passed to t() where
| | possible
301 | ERROR | [x] Missing class doc comment
303 | ERROR | [x] The closing brace for the class must have an empty line
| | before it
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

Time: 205ms; Memory: 10MB

Steps to reproduce

Execute the command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig user_not_role/

Remaining tasks

Patch review

CommentFileSizeAuthor
coding-standard-fixes.patch2.83 KBurvashi_vora

Comments

urvashi_vora created an issue. See original summary.

Anmol_Specbee’s picture

Status: Needs review » Reviewed & tested by the community

Patch seems to be working fine, Moving it to RTBC.

mradcliffe’s picture

Version: 1.0.0-alpha1 » 1.0.x-dev
Status: Reviewed & tested by the community » Fixed

Thank you for the fix.

Status: Fixed » Closed (fixed)

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