- ๐ฎ๐ณIndia Charchil Khandelwal
Charchil Khandelwal โ made their first commit to this issueโs fork.
Getting following error/warnings
FILE: /app/modules/contrib/honeypot/honeypot.module
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------------------------
93 | ERROR | The array declaration extends to column 106 (the limit is 80). The array content should be split up over multiple lines
100 | ERROR | The array declaration extends to column 104 (the limit is 80). The array content should be split up over multiple lines
---------------------------------------------------------------------------------------------------------------------------------------
FILE: /app/modules/contrib/honeypot/src/Event/HoneypotRejectEvent.php
---------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------
21 | ERROR | Class property $form_id should use lowerCamel naming without underscores
---------------------------------------------------------------------------------------
FILE: /app/modules/contrib/honeypot/src/HoneypotService.php
--------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------
283 | ERROR | The array declaration extends to column 87 (the limit is 80). The array content should be split up over multiple lines
--------------------------------------------------------------------------------------------------------------------------------------
Time: 678ms; Memory: 12MB
Run following command
phpcs --standard="Drupal,DrupalPractice" --extensions=php,module,inc,install,test,profile,theme,css,info,txt,yml modules/contrib/honeypot/
Note: Not validating README.md file, as it has some commands.
Above error/warnings need to be fixed
Closed: won't fix
2.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Charchil Khandelwal โ made their first commit to this issueโs fork.