- Issue created by @bluegeek9
- First commit to issue fork.
- Status changed to Needs review
about 1 year ago 10:22am 24 January 2024 - last update
about 1 year ago 37 pass, 2 fail - 🇮🇳India ashutosh ahirwal India
Fixes all the issue raised by phpcs need maintainer review for remaining issue.
./vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,css,js,yml web/modules/custom/message
FILE: /Users/ashutoshahirwal/Sites/lando/contribution/web/modules/custom/message/message.module
-----------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------
229 | WARNING | Unused variable $message.
-----------------------------------------------------------------------------------------------FILE: /Users/ashutoshahirwal/Sites/lando/contribution/web/modules/custom/message/tests/src/Functional/MessageEntityDelete.php
-----------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------------------------------
172 | WARNING | Unused variable $delete_queue.
174 | WARNING | Unused variable $check_delete_queue.
-----------------------------------------------------------------------------------------------------------------------------FILE: /Users/ashutoshahirwal/Sites/lando/contribution/web/modules/custom/message/tests/src/Kernel/Plugin/MessagePurge/QuotaTest.php
-----------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------------------------
69 | WARNING | Unused variable $i.
-----------------------------------------------------------------------------------------------------------------------------------FILE: /Users/ashutoshahirwal/Sites/lando/contribution/web/modules/custom/message/modules/message_example/message_example.tokens.inc
-----------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
-----------------------------------------------------------------------------------------------------------------------------------
65 | WARNING | Unused variable $token_service.
70 | WARNING | Unused variable $langcode.
73 | WARNING | Unused variable $langcode.
75 | WARNING | Unused variable $sanitize.
-----------------------------------------------------------------------------------------------------------------------------------FILE: /Users/ashutoshahirwal/Sites/lando/contribution/web/modules/custom/message/src/Form/MessageSettingsForm.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
145 | WARNING | Unused variable $entity_id.
-----------------------------------------------------------------------------------------------------------------FILE: /Users/ashutoshahirwal/Sites/lando/contribution/web/modules/custom/message/src/Entity/MessageTemplate.php
---------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------
353 | WARNING | Unused variable $id.
---------------------------------------------------------------------------------------------------------------Time: 1.13 secs; Memory: 14MB
The last submitted patch, 3: phpcs-issue-fixes.patch, failed testing. View results →
- 🇮🇳India rohit sankhla
Fixed all the issues by phpstan which is listed in the description. Please review the patch.
- last update
about 1 year ago 37 pass, 2 fail - Status changed to Needs review
about 1 year ago 12:16pm 24 January 2024 - Status changed to Needs work
about 1 year ago 1:24pm 24 January 2024 - 🇺🇸United States bluegeek9
Using @phpstan-consistent-constructor is not an acceptable solution.
- 🇮🇳India rohit sankhla
Removed @phpstan-consistent-constructor, added different solution. please verify.
- last update
about 1 year ago 30 pass, 8 fail - Status changed to Needs review
11 months ago 3:59am 23 February 2024 - last update
11 months ago 38 pass - Merge request !36Issue #3415288 by bluegeek9: Issues reported by phpstan → (Merged) created by bluegeek9
-
bluegeek9 →
committed 597f779a on 8.x-1.x
Issue #3415288 by Rohit Sankhla: Issues reported by phpstan
-
bluegeek9 →
committed 597f779a on 8.x-1.x
- Status changed to Fixed
10 months ago 11:39pm 4 April 2024 Automatically closed - issue fixed for 2 weeks with no activity.