Fix the issues reported by PHP_CodeSniffer

Created on 10 October 2023, 9 months ago
Updated 27 October 2023, 8 months ago

Problem/Motivation

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\auctions.install
-----------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
-----------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
3 | ERROR | [ ] Missing short description in doc comment
23 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
28 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
-----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\auctions.module
--------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 2 WARNINGS AFFECTING 6 LINES
--------------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
3 | ERROR | [ ] Missing short description in doc comment
8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Entity\Display\EntityViewDisplayInterface.
15 | WARNING | [ ] Hook implementations should not duplicate @param documentation
15 | ERROR | [ ] Missing parameter type
17 | WARNING | [ ] Hook implementations should not duplicate @param documentation
17 | ERROR | [ ] Missing parameter type
77 | ERROR | [ ] Invalid function name, expected _auctions_ife_alter_build but found _auctions_Ife_alterBuild
--------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\css\auctions.node.css
----------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
1 | ERROR | [x] Additional whitespace found at start of file
----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_commerce\auctions_commerce.install
--------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
3 | ERROR | [ ] Missing short description in doc comment
10 | ERROR | [ ] Empty installation hooks are not necessary
16 | ERROR | [ ] Empty installation hooks are not necessary
--------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_commerce\auctions_commerce.module
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AND 4 WARNINGS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
3 | ERROR | [ ] Missing short description in doc comment
44 | ERROR | [ ] Invalid function name, expected auctions_commerce_create_auction_order_item but found auctions_commerce_createAuctionOrderItem
51 | WARNING | [ ] Format should be "* Implements hook_foo().", "* Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "* Implements hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", "*
| | Implements hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "* Implements hook_foo_BAR_ID_bar() for block templates."
57 | WARNING | [x] 'todo: bid reject workflow. @bidPurchaseOffer' should match the format '@todo Fix problem X here.'
58 | WARNING | [ ] Line exceeds 80 characters; contains 95 characters
58 | WARNING | [x] 'todo! email story & owner that this order item has removed form cart.. @bidPurchaseOffer' should match the format '@todo Fix problem X here.'
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_commerce\readme.txt
-----------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------
2 | WARNING | Line exceeds 80 characters; contains 202 characters
4 | WARNING | Line exceeds 80 characters; contains 112 characters
-----------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_commerce\src\Form\AuctionsCommerceMail.php
----------------------------------------------------------------------------------------------------------------------
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:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_commerce\src\Service\AuctionOrderItem.php
------------------------------------------------------------------------------------------------------------------------------------
FOUND 16 ERRORS AND 3 WARNINGS AFFECTING 12 LINES
------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\auctions_core\AuctionToolsTrait.
90 | ERROR | [ ] Parameter $currentStore is not described in comment
90 | ERROR | [ ] Parameter $cartProvider is not described in comment
90 | ERROR | [ ] Parameter $cartManager is not described in comment
90 | ERROR | [ ] Parameter $logger is not described in comment
90 | ERROR | [ ] Parameter $configFactory is not described in comment
90 | ERROR | [ ] Parameter $auctionTools is not described in comment
96 | ERROR | [ ] Parameter tags must be grouped together in a doc comment
96 | ERROR | [ ] Doc comment for parameter $language_default does not match actual variable name $renderer
98 | ERROR | [ ] Parameter tags must be grouped together in a doc comment
98 | ERROR | [ ] Doc comment for parameter $language_manager does not match actual variable name $renderer
101 | ERROR | [ ] Parameter tags must be grouped together in a doc comment
115 | ERROR | [ ] Missing short description in doc comment
118 | WARNING | [ ] Line exceeds 80 characters; contains 93 characters
120 | ERROR | [ ] Description for the @return value must be on the next line
150 | WARNING | [x] 'todo: frees, taxes.' should match the format '@todo Fix problem X here.'
207 | ERROR | [ ] Doc comment is empty
213 | WARNING | [x] 'todo: fee proportional logic.' should match the format '@todo Fix problem X here.'
------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\auctions_core.api.php
------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
3 | ERROR | [ ] Missing short description in doc comment
10 | ERROR | [ ] Description for the @return value is missing
35 | ERROR | [ ] Missing parameter comment
------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\auctions_core.install
------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
8 | ERROR | [ ] Doc comment is empty
17 | ERROR | [ ] Doc comment is empty
------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\auctions_core.module
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AND 2 WARNINGS AFFECTING 9 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
50 | ERROR | [ ] Invalid function name, expected auctions_core_active_currency_list but found auctions_core_activeCurrencyList
52 | WARNING | [ ] Line exceeds 80 characters; contains 92 characters
60 | ERROR | [ ] Doc comment is empty
63 | ERROR | [ ] Invalid function name, expected auctions_core_active_currency_list_default but found auctions_core_activeCurrencyListDefault
68 | WARNING | [ ] Format should be "* Implements hook_foo().", "* Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "* Implements hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", "*
| | Implements hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "* Implements hook_foo_BAR_ID_bar() for block templates."
96 | ERROR | [ ] Invalid function name, expected auctions_core_list_active but found auctions_core_listActive
106 | ERROR | [ ] Invalid function name, expected auctions_core_list_new but found auctions_core_listNew
144 | ERROR | [ ] Description for the @return value is missing
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\auctions_core.permissions.yml
--------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------
85 | ERROR | [x] Expected 1 newline at end of file; 2 found
--------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\auction_bid.page.inc
-----------------------------------------------------------------------------------------------------
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:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\auction_item.page.inc
------------------------------------------------------------------------------------------------------
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:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\config\install\auctions.item_settings.yml
--------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------
172 | ERROR | [x] Expected 1 newline at end of file; 2 found
--------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\css\auction-bidders.css
--------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
2 | ERROR | [ ] Style definitions must end with a semicolon
--------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\css\auction-countdown.css
----------------------------------------------------------------------------------------------------------
FOUND 13 ERRORS AFFECTING 13 LINES
----------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
28 | ERROR | [ ] No style definition found on line; check for missing colon
29 | ERROR | [ ] No style definition found on line; check for missing colon
30 | ERROR | [ ] No style definition found on line; check for missing colon
31 | ERROR | [ ] No style definition found on line; check for missing colon
32 | ERROR | [ ] No style definition found on line; check for missing colon
41 | ERROR | [ ] Class definition is empty
43 | ERROR | [ ] Class definition is empty
45 | ERROR | [ ] Class definition is empty
47 | ERROR | [ ] Class definition is empty
49 | ERROR | [ ] Class definition is empty
51 | ERROR | [ ] Class definition is empty
53 | ERROR | [ ] Class definition is empty
----------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\js\drupal.behaviors.auctionCountdown.js
------------------------------------------------------------------------------------------------------------------------
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:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\js\jquery.auctionCountdown.js
--------------------------------------------------------------------------------------------------------------
FOUND 24 ERRORS AFFECTING 19 LINES
--------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
2 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed
3 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed
4 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed
5 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed
6 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed
24 | ERROR | [x] Expected 0 spaces before opening parenthesis; 1 found
52 | ERROR | [x] Expected 0 spaces before opening parenthesis; 1 found
60 | ERROR | [x] Expected 0 spaces before opening parenthesis; 1 found
65 | ERROR | [ ] String concat is not required here; use a single string instead
66 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
66 | ERROR | [ ] String concat is not required here; use a single string instead
67 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
67 | ERROR | [ ] String concat is not required here; use a single string instead
68 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
68 | ERROR | [ ] String concat is not required here; use a single string instead
69 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
69 | ERROR | [ ] String concat is not required here; use a single string instead
70 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
70 | ERROR | [ ] String concat is not required here; use a single string instead
71 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
81 | ERROR | [x] Expected 0 spaces before opening parenthesis; 1 found
85 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
90 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
--------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 18 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\AuctionAutobidAccessControlHandler.php
---------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
---------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Access\AccessResult.
30 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines
52 | ERROR | [x] Expected 1 blank line after function; 2 found
55 | ERROR | [x] The closing brace for the class must have an empty line before it
---------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\AuctionAutobidListBuilder.php
------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
29 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\AuctionAutobidStorage.php
---------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\auctions_core\Entity\AuctionAutobidInterface.
---------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\AuctionAutobidStorageInterface.php
---------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\auctions_core\Entity\AuctionAutobidInterface.
---------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\AuctionBidAccessControlHandler.php
-------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Access\AccessResult.
-------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\AuctionBidHtmlRouteProvider.php
--------------------------------------------------------------------------------------------------------------------
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:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\AuctionBidListBuilder.php
--------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
24 | WARNING | [ ] Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
34 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
--------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\AuctionItemAccessControlHandler.php
-------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Access\AccessResult.
-------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\AuctionItemHtmlRouteProvider.php
---------------------------------------------------------------------------------------------------------------------
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:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\AuctionItemListBuilder.php
---------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
33 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
---------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\AuctionItemStorage.php
--------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Language\LanguageInterface.
--------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\AuctionItemStorageInterface.php
--------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Language\LanguageInterface.
--------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\AuctionItemTranslationHandler.php
----------------------------------------------------------------------------------------------------------------------
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:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\AuctionToolsBase.php
---------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES
---------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
5 | WARNING | [x] Unused use statement
8 | ERROR | [x] Doc comment short description must end with a full stop
13 | ERROR | [x] The closing brace for the class must have an empty line before it
---------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\AuctionToolsTrait.php
---------------------------------------------------------------------------------------------------------------------------------------------
FOUND 10 ERRORS AND 1 WARNING AFFECTING 11 LINES
---------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
15 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
17 | ERROR | [ ] Description for the @return value is missing
24 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters
25 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
27 | ERROR | [ ] Description for the @return value is missing
36 | ERROR | [ ] Missing parameter comment
38 | ERROR | [ ] Description for the @return value is missing
54 | ERROR | [ ] Missing parameter comment
56 | ERROR | [ ] Description for the @return value is missing
118 | ERROR | [ ] The array declaration extends to column 248 (the limit is 80). The array content should be split up over multiple lines
---------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Controller\AuctionItemController.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 18 ERRORS AND 2 WARNINGS AFFECTING 11 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\auctions_core\Entity\AuctionItemInterface.
95 | ERROR | [ ] The array declaration extends to column 148 (the limit is 80). The array content should be split up over multiple lines
119 | WARNING | [ ] Line exceeds 80 characters; contains 94 characters
119 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 7
119 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
120 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 0
121 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 0
121 | ERROR | [x] 8 spaces found before inline comment; expected "// if ($vid != $auction_item->getRevisionId()) {" but found "// if ($vid != $auction_item->getRevisionId()) {"
121 | ERROR | [x] Inline comments must start with a capital letter
121 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
122 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 10
126 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 0
126 | ERROR | [x] 8 spaces found before inline comment; expected "// }" but found "// }"
127 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 0
127 | ERROR | [ ] Comment indentation error, expected only 8 spaces
128 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 0
128 | ERROR | [ ] Comment indentation error, expected only 10 spaces
129 | WARNING | [x] There must be no blank line following an inline comment
129 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 0
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 16 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Entity\AuctionAutobid.php
-----------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
-----------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Entity\EditorialContentEntityBase.
159 | ERROR | [ ] Doc comment is empty
175 | ERROR | [ ] Doc comment is empty
214 | ERROR | [ ] Doc comment is empty
-----------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Entity\AuctionAutobidInterface.php
-----------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
-----------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
50 | ERROR | [ ] Doc comment is empty
60 | ERROR | [ ] Doc comment is empty
85 | ERROR | [ ] Doc comment is empty
-----------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Entity\AuctionAutobidViewsData.php
-----------------------------------------------------------------------------------------------------------------------
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:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Entity\AuctionBid.php
--------------------------------------------------------------------------------------------------------------------------------------------
FOUND 8 ERRORS AND 2 WARNINGS AFFECTING 10 LINES
--------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Entity\ContentEntityBase.
74 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters
83 | ERROR | [ ] Doc comment is empty
109 | WARNING | [ ] Line exceeds 80 characters; contains 87 characters
193 | ERROR | [ ] Doc comment is empty
209 | ERROR | [ ] Doc comment is empty
248 | ERROR | [ ] Doc comment is empty
340 | ERROR | [ ] The array declaration extends to column 94 (the limit is 80). The array content should be split up over multiple lines
355 | ERROR | [ ] The array declaration extends to column 99 (the limit is 80). The array content should be split up over multiple lines
--------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Entity\AuctionBidInterface.php
-------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
-------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
56 | ERROR | [ ] Doc comment is empty
66 | ERROR | [ ] Doc comment is empty
91 | ERROR | [ ] Doc comment is empty
-------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Entity\AuctionBidViewsData.php
-------------------------------------------------------------------------------------------------------------------
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:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Entity\AuctionItem.php
--------------------------------------------------------------------------------------------------------------------------------------------
FOUND 52 ERRORS AND 2 WARNINGS AFFECTING 51 LINES
--------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
87 | ERROR | [ ] Doc comment is empty
97 | ERROR | [ ] Doc comment is empty
113 | ERROR | [ ] Doc comment is empty
141 | ERROR | [ ] Doc comment is empty
148 | ERROR | [ ] Doc comment is empty
156 | ERROR | [ ] Doc comment is empty
163 | ERROR | [ ] Doc comment is empty
171 | ERROR | [ ] Doc comment is empty
178 | ERROR | [ ] Doc comment is empty
186 | ERROR | [ ] Doc comment is empty
193 | ERROR | [ ] Doc comment is empty
200 | ERROR | [ ] Doc comment is empty
208 | ERROR | [ ] Doc comment is empty
216 | ERROR | [ ] Doc comment is empty
226 | ERROR | [ ] Missing short description in doc comment
228 | ERROR | [ ] Parameter comment must start with a capital letter
238 | ERROR | [ ] Doc comment is empty
246 | ERROR | [ ] Doc comment is empty
255 | WARNING | [ ] Line exceeds 80 characters; contains 86 characters
317 | ERROR | [ ] Doc comment is empty
336 | ERROR | [ ] Description for the @return value is missing
346 | ERROR | [ ] Description for the @return value must be on the next line
355 | ERROR | [ ] Doc comment is empty
363 | ERROR | [ ] Doc comment is empty
371 | ERROR | [ ] Doc comment is empty
379 | ERROR | [ ] Doc comment is empty
389 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
394 | ERROR | [ ] The array declaration extends to column 87 (the limit is 80). The array content should be split up over multiple lines
398 | ERROR | [ ] Doc comment is empty
406 | ERROR | [ ] Doc comment is empty
414 | ERROR | [ ] Doc comment is empty
422 | ERROR | [ ] Doc comment is empty
430 | ERROR | [ ] Doc comment is empty
438 | ERROR | [ ] Doc comment is empty
446 | ERROR | [ ] Doc comment is empty
454 | ERROR | [ ] Doc comment is empty
462 | ERROR | [ ] Parameter $relist is not described in comment
462 | ERROR | [ ] Parameter $topLimit is not described in comment
465 | ERROR | [ ] Missing parameter type
467 | ERROR | [ ] Missing parameter type
470 | ERROR | [ ] Description for the @return value must be on the next line
482 | ERROR | [ ] Parameter $relist is not described in comment
482 | ERROR | [ ] Parameter $topLimit is not described in comment
485 | ERROR | [ ] Missing parameter type
487 | ERROR | [ ] Missing parameter type
511 | ERROR | [ ] Doc comment is empty
519 | ERROR | [ ] Doc comment is empty
530 | ERROR | [ ] Description for the @return value is missing
548 | ERROR | [ ] Description for the @return value is missing
571 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters
571 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
604 | ERROR | [ ] Doc comment is empty
716 | ERROR | [ ] The array declaration extends to column 96 (the limit is 80). The array content should be split up over multiple lines
--------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Entity\AuctionItemInterface.php
-----------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Entity\EntityChangedInterface.
-----------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Entity\AuctionItemViewsData.php
--------------------------------------------------------------------------------------------------------------------
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:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Form\AuctionBidDeleteForm.php
------------------------------------------------------------------------------------------------------------------
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:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Form\AuctionBidForm.php
---------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 3 WARNINGS AFFECTING 4 LINES
---------------------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\auctions_core\AuctionToolsTrait.
49 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
71 | WARNING | [ ] Line exceeds 80 characters; contains 85 characters
71 | WARNING | [x] 'todo: @form load -- if is now after end time force item to finished workflow.' should match the format '@todo Fix problem X here.'
---------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Form\AuctionBidRejectForm.php
---------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AND 3 WARNINGS AFFECTING 5 LINES
---------------------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\auctions_core\AuctionToolsTrait.
16 | ERROR | [ ] Class name doesn't match filename; expected "class AuctionBidRejectForm"
49 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
68 | WARNING | [ ] Line exceeds 80 characters; contains 85 characters
68 | WARNING | [x] 'todo: @form load -- if is now after end time force item to finished workflow.' should match the format '@todo Fix problem X here.'
---------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Form\AuctionBidStructureForm.php
---------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
12 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name
---------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Form\AuctionItemDeleteForm.php
-------------------------------------------------------------------------------------------------------------------
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:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Form\AuctionItemForm.php
---------------------------------------------------------------------------------------------------------------------------------
FOUND 15 ERRORS AND 3 WARNINGS AFFECTING 10 LINES
---------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
11 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Entity\EntityRepository.
42 | ERROR | [ ] Doc comment short description must start with a capital letter
55 | ERROR | [ ] Parameter $account is not described in comment
55 | ERROR | [ ] Parameter $auctionTools is not described in comment
55 | ERROR | [ ] Parameter $configFactory is not described in comment
55 | ERROR | [ ] Parameter $messenger is not described in comment
92 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
98 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 7
99 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 7
99 | ERROR | [x] Expected 1 space between "'@workflow'" and double arrow; 0 found
99 | ERROR | [x] Expected 1 space before "=>"; 0 found
99 | ERROR | [x] There should be no white space before a closing ")"
135 | WARNING | [ ] Line exceeds 80 characters; contains 94 characters
135 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0
198 | WARNING | [x] 'todo' should match the format '@todo Fix problem X here.'
198 | ERROR | [x] Inline comments must start with a capital letter
223 | ERROR | [x] Concat operator must be surrounded by a single space
---------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Form\AuctionItemRelistForm.php
---------------------------------------------------------------------------------------------------------------------------------
FOUND 8 ERRORS AND 1 WARNING AFFECTING 6 LINES
---------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
11 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Entity\EntityRepository.
42 | ERROR | [ ] Doc comment short description must start with a capital letter
55 | ERROR | [ ] Parameter $account is not described in comment
55 | ERROR | [ ] Parameter $auctionTools is not described in comment
55 | ERROR | [ ] Parameter $configFactory is not described in comment
55 | ERROR | [ ] Parameter $messenger is not described in comment
92 | WARNING | [x] Inline @var declarations should use the /** */ delimiters
239 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
---------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Form\AuctionItemRevisionDeleteForm.php
------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
94 | ERROR | [ ] The array declaration extends to column 177 (the limit is 80). The array content should be split up over multiple lines
95 | ERROR | [ ] The array declaration extends to column 226 (the limit is 80). The array content should be split up over multiple lines
------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Form\AuctionItemRevisionRevertForm.php
--------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\auctions_core\Entity\AuctionItemInterface.
110 | ERROR | [ ] The array declaration extends to column 178 (the limit is 80). The array content should be split up over multiple lines
111 | ERROR | [ ] The array declaration extends to column 234 (the limit is 80). The array content should be split up over multiple lines
--------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Form\AuctionItemRevisionRevertTranslationForm.php
------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\auctions_core\Entity\AuctionItemInterface.
------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Form\AuctionItemSettingsForm.php
--------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AND 1 WARNING AFFECTING 5 LINES
--------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\auctions_core\Service\AuctionTools.
14 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name
17 | ERROR | [ ] Missing member variable doc comment
19 | ERROR | [ ] Doc comment is empty
--------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Form\BiddersForm.php
--------------------------------------------------------------------------------------------------------------------------------------
FOUND 12 ERRORS AND 1 WARNING AFFECTING 11 LINES
--------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Messenger\MessengerInterface.
32 | ERROR | [ ] Missing short description in doc comment
57 | ERROR | [ ] Parameter $entityTypeManager is not described in comment
57 | ERROR | [ ] Parameter $auctionTools is not described in comment
57 | ERROR | [ ] Parameter $configFactory is not described in comment
64 | ERROR | [ ] Doc comment for parameter $entity_manager does not match actual variable name $configFactory
75 | ERROR | [ ] Doc comment is empty
147 | ERROR | [ ] Inline doc block comments are not allowed; use "/* Comment */" or "// Comment" instead
148 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
312 | ERROR | [ ] Doc comment is empty
328 | ERROR | [ ] Doc comment is empty
469 | ERROR | [ ] Doc comment is empty
--------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Plugin\Block\AuctionItemCountdown.php
--------------------------------------------------------------------------------------------------------------------------
FOUND 49 ERRORS AND 4 WARNINGS AFFECTING 30 LINES
--------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment
9 | WARNING | [x] Unused use statement
11 | WARNING | [x] Unused use statement
15 | ERROR | [x] There must be one blank line after the last USE statement; 2 found;
76 | ERROR | [x] Short array syntax must be used to define arrays
80 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
92 | ERROR | [x] Expected 1 blank line after function; 2 found
102 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements
102 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
103 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5
106 | ERROR | [x] Inline comments must start with a capital letter
108 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements
109 | ERROR | [x] Expected 1 space after IF keyword; 0 found
109 | ERROR | [x] Expected 1 space before "=="; 0 found
109 | ERROR | [x] Expected 1 space after "=="; 0 found
109 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
110 | ERROR | [x] Line indented incorrectly; expected 12 spaces, found 13
113 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements
114 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 11
118 | ERROR | [x] Expected 1 space after IF keyword; 0 found
118 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
120 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
121 | ERROR | [x] There should be no white space before a closing ")"
121 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
122 | ERROR | [x] Expected 1 space before "="; 0 found
122 | ERROR | [x] Expected 1 space after "="; 0 found
122 | ERROR | [x] Concat operator must be surrounded by a single space
123 | ERROR | [x] Expected 1 space before "="; 0 found
123 | ERROR | [x] Expected 1 space after "="; 0 found
123 | ERROR | [x] Concat operator must be surrounded by a single space
124 | ERROR | [x] Expected 1 space after "="; 0 found
124 | ERROR | [x] Concat operator must be surrounded by a single space
126 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
127 | ERROR | [x] Expected 1 space between "'@formatted'" and double arrow; 0 found
127 | ERROR | [x] Expected 1 space between double arrow and "$countdown"; 0 found
127 | ERROR | [x] Expected 1 space before "=>"; 0 found
127 | ERROR | [x] Expected 1 space after "=>"; 0 found
128 | ERROR | [x] Expected 1 space after IF keyword; 0 found
128 | ERROR | [x] Expected 1 space before "=="; 0 found
128 | ERROR | [x] Expected 1 space after "=="; 0 found
128 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
129 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 11
129 | ERROR | [x] Expected 1 space between "'@formatted'" and double arrow; 0 found
129 | ERROR | [x] Expected 1 space between double arrow and "$countdown"; 0 found
129 | ERROR | [x] Expected 1 space before "=>"; 0 found
129 | ERROR | [x] Expected 1 space after "=>"; 0 found
136 | ERROR | [x] Expected 1 space after "=>"; 2 found
136 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
139 | ERROR | [x] Expected newline after closing brace
142 | WARNING | [x] A comma should follow the last multiline array item. Found: )
157 | ERROR | [x] Expected 1 newline at end of file; 2 found
--------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 53 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Plugin\Derivative\AuctionItemCountdown.php
-------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
-------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
36 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters
-------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Plugin\Field\FieldFormatter\BiddersNameFormatter.php
-----------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
-----------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\auctions_core\AuctionToolsTrait.
34 | WARNING | [x] The variable name should be defined after the type
-----------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Plugin\Field\FieldWidget\AuctionsCoreOptionsSelectWidget.php
-------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
6 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Component\Utility\Html.
-------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Plugin\Field\FieldWidget\InlineEntityFormAuction.php
----------------------------------------------------------------------------------------------------------------------------------------------
FOUND 25 ERRORS AND 6 WARNINGS AFFECTING 30 LINES
----------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
20 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Component\Utility\Crypt.
247 | ERROR | [ ] The array declaration extends to column 86 (the limit is 80). The array content should be split up over multiple lines
254 | WARNING | [x] 'TODO - does this belong in #element_validate?' should match the format '@todo Fix problem X here.'
310 | ERROR | [ ] The array declaration extends to column 84 (the limit is 80). The array content should be split up over multiple lines
316 | ERROR | [ ] The array declaration extends to column 88 (the limit is 80). The array content should be split up over multiple lines
371 | WARNING | [x] 'todo: relist button on IFE from' should match the format '@todo Fix problem X here.'
372 | ERROR | [ ] Comment indentation error, expected only 1 spaces
373 | ERROR | [ ] Comment indentation error, expected only 9 spaces
374 | ERROR | [ ] Comment indentation error, expected only 11 spaces
376 | WARNING | [ ] Line exceeds 80 characters; contains 88 characters
379 | ERROR | [ ] Comment indentation error, expected only 13 spaces
472 | ERROR | [ ] The array declaration extends to column 85 (the limit is 80). The array content should be split up over multiple lines
481 | ERROR | [ ] The array declaration extends to column 83 (the limit is 80). The array content should be split up over multiple lines
561 | ERROR | [ ] The array declaration extends to column 86 (the limit is 80). The array content should be split up over multiple lines
641 | ERROR | [x] Use null coalesce operator instead of ternary operator.
654 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
767 | ERROR | [ ] The array declaration extends to column 115 (the limit is 80). The array content should be split up over multiple lines
866 | ERROR | [ ] Missing parameter type
868 | ERROR | [ ] Missing parameter type
890 | ERROR | [ ] Missing parameter type
892 | ERROR | [ ] Missing parameter type
928 | WARNING | [x] '@TODO - Figure out if can be simplified.' should match the format '@todo Fix problem X here.'
950 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
953 | ERROR | [ ] The array declaration extends to column 82 (the limit is 80). The array content should be split up over multiple lines
979 | ERROR | [ ] Missing parameter type
981 | ERROR | [ ] Missing parameter type
997 | ERROR | [ ] Missing parameter comment
997 | ERROR | [ ] Missing parameter type
1002 | ERROR | [ ] The array declaration extends to column 98 (the limit is 80). The array content should be split up over multiple lines
1013 | ERROR | [ ] Missing parameter type
----------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Plugin\QueueWorker\AuctionItemWorkflow.php
---------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
---------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\auctions_core\AuctionToolsTrait.
39 | ERROR | [ ] Parameter $logger_factory is not described in comment
---------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Plugin\Validation\Constraint\AuctionsPrice.php
-----------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
-----------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
20 | ERROR | [ ] Missing @var tag in member variable comment
25 | ERROR | [ ] Missing @var tag in member variable comment
-----------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Plugin\Validation\Constraint\AuctionsPriceValidator.php
--------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
32 | ERROR | [ ] Parameter $float is not described in comment
35 | ERROR | [ ] Missing parameter comment
35 | ERROR | [ ] Doc comment for parameter $value does not match actual variable name $float
--------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Plugin\Validation\Constraint\CurbBids.php
------------------------------------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 9 LINES
------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
18 | ERROR | [ ] Missing short description in doc comment
20 | ERROR | [ ] Missing @var tag in member variable comment
25 | ERROR | [ ] Missing @var tag in member variable comment
30 | ERROR | [ ] Missing @var tag in member variable comment
35 | ERROR | [ ] Missing @var tag in member variable comment
40 | ERROR | [ ] Missing @var tag in member variable comment
45 | ERROR | [ ] Missing @var tag in member variable comment
50 | ERROR | [ ] Missing @var tag in member variable comment
------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Plugin\Validation\Constraint\CurbBidsValidator.php
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Datetime\DrupalDateTime.
---------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Plugin\Validation\Constraint\CurbItems.php
-------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
-------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
18 | ERROR | [ ] Missing short description in doc comment
23 | ERROR | [ ] Missing short description in doc comment
27 | ERROR | [ ] Missing short description in doc comment
-------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Plugin\Validation\Constraint\CurbItemsValidator.php
----------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\auctions_core\AuctionToolsTrait.
----------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_core\src\Service\AuctionTools.php
--------------------------------------------------------------------------------------------------------------------------------------------
FOUND 17 ERRORS AND 5 WARNINGS AFFECTING 18 LINES
--------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
15 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Render\RendererInterface.
97 | ERROR | [ ] Parameter $configFactory is not described in comment
97 | ERROR | [ ] Parameter $currentUser is not described in comment
97 | ERROR | [ ] Parameter $language_default is not described in comment
97 | ERROR | [ ] Parameter $language_manager is not described in comment
97 | ERROR | [ ] Parameter $database is not described in comment
105 | ERROR | [ ] Parameter tags must be grouped together in a doc comment
107 | ERROR | [ ] Parameter tags must be grouped together in a doc comment
152 | ERROR | [ ] Inline doc block comments are not allowed; use "/* Comment */" or "// Comment" instead
153 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters
170 | ERROR | [ ] Description for the @return value is missing
184 | ERROR | [ ] Description for the @return value is missing
229 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters
324 | ERROR | [ ] Protected method name "AuctionTools::_isShellSafe" is not in lowerCamel format
373 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph
392 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters
394 | ERROR | [ ] Arguments with default values must be at the end of the argument list
420 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters
424 | ERROR | [ ] The array declaration extends to column 93 (the limit is 80). The array content should be split up over multiple lines
488 | ERROR | [ ] Doc comment is empty
526 | WARNING | [ ] Line exceeds 80 characters; contains 86 characters
--------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_mail\auctions_mail.install
------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
8 | ERROR | [ ] Doc comment is empty
------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_mail\auctions_mail.module
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AND 4 WARNINGS AFFECTING 6 LINES
---------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
41 | ERROR | [x] Newline required after opening brace
41 | ERROR | [x] There should be no white space after an opening "{"
52 | WARNING | [ ] Line exceeds 80 characters; contains 91 characters
159 | WARNING | [x] 'todo! Notify any other bidder that 'they have compitition'.' should match the format '@todo Fix problem X here.'
160 | WARNING | [x] 'todo! Notify author of new bid.' should match the format '@todo Fix problem X here.'
176 | WARNING | [ ] Line exceeds 80 characters; contains 91 characters
---------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------

FILE: C:\Mywork\htdocs\d9test\web\modules\contrib\auctions\modules\auctions_mail\src\Form\AuctionsMail.php
----------------------------------------------------------------------------------------------------------
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
----------------------------------------------------------------------------------------------------------

Steps to reproduce

Install auctions module and perform PHPCS for Drupal Standards

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

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia Gautam_105@

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024