Problem/Motivation

phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig .

FILE: .../web/modules/custom/linkpurpose/library/css/linkpurpose.css
---------------------------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 4 LINES
---------------------------------------------------------------------------------------------
46 | ERROR | [x] Multiple selectors should each be on a single line
46 | ERROR | [x] Multiple selectors should each be on a single line
47 | ERROR | [x] Multiple selectors should each be on a single line
47 | ERROR | [x] Multiple selectors should each be on a single line
48 | ERROR | [x] Multiple selectors should each be on a single line
48 | ERROR | [x] Multiple selectors should each be on a single line
49 | ERROR | [x] Multiple selectors should each be on a single line
49 | ERROR | [x] Multiple selectors should each be on a single line
---------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------

FILE: .../web/modules/custom/linkpurpose/linkpurpose.links.menu.yml
--------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------
5 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------

Steps to reproduce

phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig .

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

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

alyaj2a created an issue. See original summary.

alyaj2a’s picture

Assigned: Unassigned » alyaj2a

alyaj2a’s picture

Assigned: alyaj2a » Unassigned
Status: Active » Needs review
itmaybejj’s picture

Assigned: Unassigned » itmaybejj
clarkssquared’s picture

Status: Needs review » Reviewed & tested by the community

Hi

I applied MR !4 and I confirmed that it fixes all the PHPCS issues

➜  linkpurpose git:(1.0.x) curl https://git.drupalcode.org/project/linkpurpose/-/merge_requests/4.diff | patch -p1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1523    0  1523    0     0   3180      0 --:--:-- --:--:-- --:--:--  3219
patching file 'library/css/linkpurpose.css'
patching file linkpurpose.links.menu.yml
➜  linkpurpose git:(1.0.x) ✗ ..
➜  contrib git:(main) ✗ phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml linkpurpose 
➜  contrib git:(main) ✗ 

itmaybejj’s picture

Status: Reviewed & tested by the community » Fixed

Thank you.

Status: Fixed » Closed (fixed)

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