- Issue created by @chandansha
- Status changed to Closed: won't fix
6 months ago 12:45pm 5 July 2024
There is a files need to fixed with coding standards.
Here is the command : -
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,js,info,txt,md,yml,twig web/modules/contrib/content_commander/
FILE: /var/www/html/test10/web/modules/contrib/content_commander/src/ContentCommanderServiceProvider.php
--------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------------------
10 | ERROR | [x] Missing class doc comment
12 | ERROR | [x] Missing function doc comment
--------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/content_commander/src/ContentTrait.php
-------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------------------
18 | ERROR | [x] Missing function doc comment
24 | ERROR | [x] Missing function doc comment
-------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/content_commander/src/ContentContext.php
---------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
---------------------------------------------------------------------------------------
9 | ERROR | [x] Missing class doc comment
11 | ERROR | [ ] Missing short description in doc comment
53 | ERROR | [ ] Missing short description in doc comment
---------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/content_commander/src/ContentRepository.php
------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------
12 | ERROR | [x] Missing class doc comment
21 | ERROR | [x] Missing function doc comment
------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/content_commander/src/ContentInterface.php
-----------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------
9 | ERROR | [x] Missing interface doc comment
-----------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/content_commander/src/CcCompilerPass.php
---------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------
22 | ERROR | [x] Missing function doc comment
---------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/content_commander/src/Utils/Utils.php
------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
------------------------------------------------------------------------------------
24 | ERROR | [ ] Missing short description in doc comment
41 | WARNING | [ ] Unused variable $lineNumber.
49 | ERROR | [x] Missing function doc comment
------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/content_commander/src/Command/CcCommand.php
------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
------------------------------------------------------------------------------------------
39 | ERROR | [ ] Missing member variable doc comment
40 | ERROR | [ ] Missing member variable doc comment
42 | ERROR | [ ] Missing short description in doc comment
57 | ERROR | [x] Missing function doc comment
61 | ERROR | [x] Missing function doc comment
83 | ERROR | [ ] Missing short description in doc comment
264 | ERROR | [x] Missing function doc comment
------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/content_commander/src/Attribute/DependsOn.php
--------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------
9 | ERROR | [x] Missing class doc comment
12 | ERROR | [ ] Missing short description in doc comment
--------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/content_commander/src/ContentRepositoryInterface.php
---------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------
9 | ERROR | [x] Missing interface doc comment
---------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/content_commander/tests/modules/content_commander_test/src/ContentCommander/CcTestContentNonBacked.php
-----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
-----------------------------------------------------------------------------------------------------------------------------------------------------
28 | ERROR | [x] Missing function doc comment
41 | ERROR | [x] Missing function doc comment
48 | ERROR | [x] Missing function doc comment
-----------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/content_commander/tests/modules/content_commander_test/src/ContentCommander/CcTestUuidAsConfig.php
-------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------
28 | ERROR | [x] Missing function doc comment
41 | ERROR | [x] Missing function doc comment
-------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/content_commander/tests/modules/content_commander_test/src/ContentCommander/CcTestUuidAsBackedValues.php
-------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------
28 | ERROR | [x] Missing function doc comment
41 | ERROR | [x] Missing function doc comment
45 | ERROR | [x] Missing function doc comment
-------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/content_commander/tests/modules/content_commander_test/src/ContentCommander/CcTestContent.php
--------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------------------------------------------------
37 | ERROR | [x] Missing function doc comment
63 | ERROR | [x] Missing function doc comment
73 | ERROR | [x] Missing function doc comment
--------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/content_commander/tests/modules/content_commander_test/content_commander_test.info.yml
-------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------
1 | WARNING | Remove "project" from the info file, it will be added by drupal.org packaging automatically
1 | WARNING | Remove "datestamp" from the info file, it will be added by drupal.org packaging automatically
1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically
1 | WARNING | "Description" property is missing in the info.yml file
-------------------------------------------------------------------------------------------------------------------------------------
FILE: /var/www/html/test10/web/modules/contrib/content_commander/content_commander.info.yml
-------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------
1 | WARNING | Remove "project" from the info file, it will be added by drupal.org packaging automatically
1 | WARNING | Remove "datestamp" from the info file, it will be added by drupal.org packaging automatically
1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically
1 | WARNING | "Description" property is missing in the info.yml file
-------------------------------------------------------------------------------------------------------------
Time: 217ms; Memory: 12MB
Closed: won't fix
0.0
Code
It involves compliance with, or the content of coding standards. Requires broad community agreement.