Account created on 15 June 2023, over 1 year ago
#

Merge Requests

Recent comments

🇨🇭Switzerland nadja_stu

Fix the following phpcs warnings and errors:

phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,yml  multisite_manager_tool/

FILE: \multisite_manager_tool\multisite_manager_tool.module
--------------------------------------------------------------------------------
FOUND 12 ERRORS AFFECTING 10 LINES
--------------------------------------------------------------------------------
  1 | ERROR | [x] Missing file doc comment
 10 | ERROR | [x] Missing function doc comment
 11 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
 12 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 13 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
 14 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 10
 15 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 10
 16 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 10
 18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 6
 18 | ERROR | [x] Closing brace indented incorrectly; expected 4 spaces, found
    |       |     6
 19 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 1
 19 | ERROR | [x] Closing brace indented incorrectly; expected 0 spaces, found
    |       |     1
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY
 18 | ERROR | [x] Closing brace indented incorrectly; expected 4 spaces, found
    |       |     6
 19 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 1
 19 | ERROR | [x] Closing brace indented incorrectly; expected 0 spaces, found
    |       |     1
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------


FILE: \multisite_manager_tool.permissions.yml
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
 9 | ERROR | [x] Expected 1 newline at end of file; 2 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------


FILE: \multisite_manager_tool\src\SitesHelper.php
--------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------------
 116 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 8
 116 | ERROR | [x] Object operator not indented correctly; expected 10 spaces
     |       |     but found 8
 117 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found 8
 118 | ERROR | [x] Whitespace found at end of line
 119 | ERROR | [x] Whitespace found at end of line
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
🇨🇭Switzerland nadja_stu

Thank you for reviewing. I corrected the above mentioned points.

🇨🇭Switzerland nadja_stu

the error is still appearing for my site too. I have drupal 11.0.9 installed and mailchimp 3.0.0.

I get this error: TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in mailchimp_get_lists() (line 176 of modules\contrib\mailchimp\mailchimp.module).

My whole site is not working because of this.

🇨🇭Switzerland nadja_stu

I had the same issue with jquery ui menu and jquery ui autocomplete, this patch from here: https://www.drupal.org/project/jquery_ui_autocomplete/issues/3463117#comment-15695667 🐛 Jquery UI unresolved dependency error Needs review

In combination with this patch for jquery ui menu worked for me: https://www.drupal.org/project/jquery_ui_menu/issues/3463116#comment-15739413 🐛 Jquery UI unresolved dependency error Needs review

🇨🇭Switzerland nadja_stu

I needed to do it like this (see attached patch file) to make it work for me.

Production build 0.71.5 2024