joachim namyslo → credited 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
--------------------------------------------------------------------------------
nadja_stu → created an issue.
Thank you for reviewing. I corrected the above mentioned points.
nadja_stu → created an issue. See original summary → .
nadja_stu → created an issue.
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.
nadja_stu → created an issue.
nadja_stu → created an issue.
I tried patch from #15 ✨ content_moderation_notification_mail_data_alter should allow to disable email sending Needs review and it works for me on drupal 10.3.2. I changed the status to needs Review.
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
I needed to do it like this (see attached patch file) to make it work for me.