- Issue created by @Anybody
- last update
over 1 year ago Checkout Error - Issue was unassigned.
- ๐ฎ๐ณIndia chetan 11
chetan 11 โ made their first commit to this issueโs fork.
- last update
over 1 year ago Checkout Error - @chetan-11 opened merge request.
- Status changed to Needs work
over 1 year ago 4:15pm 1 November 2023 - ๐ฉ๐ชGermany Anybody Porta Westfalica
Nice work @chetan 11, hope you learned some new things. I left several comments to solve.
Thanks you! - last update
over 1 year ago Checkout Error - last update
over 1 year ago Checkout Error - Status changed to Needs review
over 1 year ago 10:09am 2 November 2023 - ๐ฎ๐ณIndia chetan 11
Hi
I have fixed the given comment issues, please check once.
Thanks - Status changed to Needs work
over 1 year ago 10:24am 2 November 2023 - ๐ฉ๐ชGermany Anybody Porta Westfalica
Thanks @chetan 11 looks like it needs a rebase now?
- ๐ฉ๐ชGermany Anybody Porta Westfalica
@chetan 11 the CI thinks different, see https://git.drupalcode.org/project/homebox/-/merge_requests/26 ;)
- First commit to issue fork.
- last update
over 1 year ago Checkout Error - last update
over 1 year ago Checkout Error - last update
over 1 year ago Checkout Error - Status changed to Needs review
over 1 year ago 11:36am 15 November 2023 - last update
over 1 year ago Checkout Error - last update
over 1 year ago Checkout Error - Assigned to Grevil
- Status changed to Needs work
about 1 year ago 10:04am 10 April 2024 - ๐ฉ๐ชGermany Anybody Porta Westfalica
FILE: /var/www/html/web/modules/custom/homebox/src/Controller/HomeboxController.php
----------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------
201 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
----------------------------------------------------------------------------------------------FILE: /var/www/html/web/modules/custom/homebox/src/Controller/HomeboxTypeController.php
---------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------
48 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
---------------------------------------------------------------------------------------------FILE: /var/www/html/web/modules/custom/homebox/src/Element/HomeboxButton.php
-----------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------------
8 | ERROR | Doc comment short description must start with a capital letter
8 | ERROR | Doc comment short description must end with a full stop
24 | ERROR | Doc comment is empty
-----------------------------------------------------------------------------FILE: /var/www/html/web/modules/custom/homebox/src/Form/HomeboxTypeForm.php
---------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------
357 | WARNING | Line exceeds 80 characters; contains 81 characters
---------------------------------------------------------------------------FILE: /var/www/html/web/modules/custom/homebox/src/Form/HomeboxPortletAddForm.php
----------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
----------------------------------------------------------------------------------------------
166 | WARNING | Exceptions should not be translated
230 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
254 | WARNING | Exceptions should not be translated
----------------------------------------------------------------------------------------------FILE: /var/www/html/web/modules/custom/homebox/src/Form/HomeboxSubformState.php
-------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------
70 | ERROR | Description for the @return value is missing
-------------------------------------------------------------------------------FILE: /var/www/html/web/modules/custom/homebox/src/Form/HomeboxSettingsForm.php
-------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------
120 | WARNING | Unused variable $position.
-------------------------------------------------------------------------------FILE: /var/www/html/web/modules/custom/homebox/src/HomeboxPortletTypePluginManager.php
--------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------
45 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------------------FILE: /var/www/html/web/modules/custom/homebox/src/Entity/HomeboxType.php
-------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------
244 | WARNING | Line exceeds 80 characters; contains 81 characters
-------------------------------------------------------------------------FILE: /var/www/html/web/modules/custom/homebox/src/Plugin/ThirdPartyConfigurationInterface.php
----------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------------------------------
55 | ERROR | Parameter tags must be defined first in a doc comment
72 | ERROR | Parameter tags must be defined first in a doc comment
87 | ERROR | Parameter tags must be defined first in a doc comment
----------------------------------------------------------------------------------------------FILE: /var/www/html/web/modules/custom/homebox/src/Plugin/HomeboxPortletTypeBase.php
------------------------------------------------------------------------------------
FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES
------------------------------------------------------------------------------------
464 | ERROR | Description for the @return value is missing
588 | WARNING | Exceptions should not be translated
617 | WARNING | Exceptions should not be translated
646 | WARNING | Exceptions should not be translated
------------------------------------------------------------------------------------FILE: /var/www/html/web/modules/custom/homebox/src/Plugin/Field/FieldType/PortletItem.php
-----------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------
101 | ERROR | Description for the @return value is missing
-----------------------------------------------------------------------------------------FILE: /var/www/html/web/modules/custom/homebox/src/Plugin/Field/FieldWidget/PortletWidget.php
---------------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 2 WARNINGS AFFECTING 4 LINES
---------------------------------------------------------------------------------------------
207 | WARNING | Line exceeds 80 characters; contains 111 characters
209 | WARNING | Line exceeds 80 characters; contains 89 characters
218 | ERROR | Missing parameter comment
220 | ERROR | Description for the @return value is missing
---------------------------------------------------------------------------------------------FILE: /var/www/html/web/modules/custom/homebox/src/Plugin/HomeboxPortletTypeInterface.php
-----------------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
-----------------------------------------------------------------------------------------
17 | WARNING | There must be no blank line following an inline comment
22 | ERROR | Description for the @return value is missing
152 | ERROR | Description for the @return value is missing
-----------------------------------------------------------------------------------------FILE: /var/www/html/web/modules/custom/homebox/tests/src/Functional/AccessTest.php
----------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
----------------------------------------------------------------------------------
565 | WARNING | Line exceeds 80 characters; contains 94 characters
610 | WARNING | Line exceeds 80 characters; contains 103 characters
----------------------------------------------------------------------------------FILE: /var/www/html/web/modules/custom/homebox/homebox.module
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
119 | WARNING | Line exceeds 80 characters; contains 82 characters
----------------------------------------------------------------------FILE: /var/www/html/web/modules/custom/homebox/modules/homebox_portlet_type_block/src/Plugin/HomeboxPortletType/HomeboxPortletTypeBlock.php
-------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES
-------------------------------------------------------------------------------------------------------------------------------------------
102 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
114 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
154 | WARNING | Line exceeds 80 characters; contains 90 characters
200 | ERROR | Parameter $account is not described in comment
------------------------------------------------------------------------------------------------------------------------------------------- - Issue was unassigned.
- Status changed to Closed: duplicate
about 1 year ago 8:21am 12 April 2024 - ๐ฉ๐ชGermany Grevil
This became quite a mess. Fixing it in ๐ Use dependency injection and code style issues Needs review .