Problem/Motivation
FILE: C:\xampp\htdocs\backendassignment\web\modules\contrib\sector_multipage\css\multipage.css
----------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\backendassignment\web\modules\contrib\sector_multipage\README.md
--------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
--------------------------------------------------------------------------------------
3 | WARNING | Line exceeds 80 characters; contains 177 characters
6 | WARNING | Line exceeds 80 characters; contains 114 characters
7 | WARNING | Line exceeds 80 characters; contains 112 characters
22 | WARNING | Line exceeds 80 characters; contains 214 characters
24 | WARNING | Line exceeds 80 characters; contains 152 characters
--------------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\backendassignment\web\modules\contrib\sector_multipage\sector_multipage.module
----------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES
----------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
28 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
29 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
55 | WARNING | [x] A comma should follow the last multiline array item. Found: )
----------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\backendassignment\web\modules\contrib\sector_multipage\src\Plugin\Block\MultipageActionsBlock.php
-----------------------------------------------------------------------------------------------------------------------
FOUND 12 ERRORS AND 2 WARNINGS AFFECTING 14 LINES
-----------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
5 | WARNING | [x] Unused use statement
6 | WARNING | [x] Unused use statement
28 | ERROR | [x] Array indentation error, expected 6 spaces but found 0
29 | ERROR | [x] Array indentation error, expected 6 spaces but found 0
30 | ERROR | [x] Array indentation error, expected 6 spaces but found 0
31 | ERROR | [x] Array indentation error, expected 6 spaces but found 0
32 | ERROR | [x] Array indentation error, expected 6 spaces but found 0
33 | ERROR | [x] Array indentation error, expected 6 spaces but found 0
34 | ERROR | [x] Array indentation error, expected 6 spaces but found 0
35 | ERROR | [x] Array indentation error, expected 6 spaces but found 0
36 | ERROR | [x] Array indentation error, expected 6 spaces but found 0
37 | ERROR | [x] Array indentation error, expected 6 spaces but found 0
38 | ERROR | [x] Array indentation error, expected 6 spaces but found 0
-----------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 14 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------
FILE: ...\xampp\htdocs\backendassignment\web\modules\contrib\sector_multipage\src\Plugin\Block\MultipagePaginationBlock.php
------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
26 | ERROR | [x] Array indentation error, expected 6 spaces but found 0
27 | ERROR | [x] Array indentation error, expected 6 spaces but found 0
28 | ERROR | [x] Array indentation error, expected 6 spaces but found 0
29 | ERROR | [x] Array indentation error, expected 6 spaces but found 0
30 | ERROR | [x] Array indentation error, expected 6 spaces but found 0
------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------
FILE: ...ampp\htdocs\backendassignment\web\modules\contrib\sector_multipage\src\SectorMultipagePaginationBlockInterface.php
------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
5 | ERROR | [x] Missing interface doc comment
6 | ERROR | [x] Opening brace should be on the same line as the declaration
8 | ERROR | [ ] Missing short description in doc comment
13 | ERROR | [ ] Missing short description in doc comment
20 | ERROR | [ ] Missing short description in doc comment
27 | ERROR | [x] Expected 1 newline at end of file; 2 found
------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------
Time: 725ms; Memory: 6MB
Steps to reproduce
Run the codesniffer command on the module.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes