- Issue created by @alyaj2a
- Assigned to alyaj2a
- Issue was unassigned.
- Status changed to Needs review
8 months ago 4:13pm 9 September 2024 - Status changed to Needs work
8 months ago 3:25pm 11 September 2024 - 🇮🇳India akulsaxena
Hi @xenophyle
I worked on this and solved all the PHPCS issues. I also reverted back the removal of translation of form elements (t()) in the mailchimp.module file. Since i added back the t(), it is showing warning in phpcs pipeline but rest all the errors are solved.
The phpunit tests are failing and are giving the error:
Unable to install modules: module 'mailchimp' is incompatible with this version of Drupal core.
Can you please look into it?
Thanks,
Akul - Status changed to Needs review
6 months ago 4:30am 11 November 2024 - 🇮🇳India akulsaxena
Hi @xenophyle
I tried solving the error. The phpcs errors have been taken care of but the PHPUnit error still persists -
Unable to install modules: module 'mailchimp' is incompatible with this version of Drupal core.
The error is occurring because the module is compatible with Drupal version 10 while the test cases have been updated to Drupal 11 which the module is incompatible with. The tests need to be made compatible with the module.
Can you please look into it?
Thanks,
Akul - 🇮🇳India akulsaxena
Hi @xenophyle
The last phpcs errors have been taken care of but the PHPUnit error still persists -
Unable to install modules: module 'mailchimp' is incompatible with this version of Drupal core.
The error is occurring because the module is compatible with Drupal version 10 while the test cases have been updated to Drupal 11 which the module is incompatible with. The tests need to be made compatible with the module.
Can you please look into it?
Thanks,
Akul - 🇺🇸United States xenophyle
Akul, the tests in this branch, 2.x, are now targeting D10. I notice there are 5 failing phpunit tests, most of which will be fixed by the solution to 🐛 After upgrading to Mailchimp 2.2.5, failure to get lists results in a fatal error on login Active .
- 🇮🇳India akulsaxena
This issue is dedicated to solving the PHPCS problems in the module.
Should I try to solve the PHPUnit tests here as well or a new issue is to be created for the same? -
xenophyle →
committed d8edbe07 on 2.x authored by
alyaj2a →
Issue #3473101 by akulsaxena, alyaj2a: Coding standard issues
-
xenophyle →
committed d8edbe07 on 2.x authored by
alyaj2a →
Automatically closed - issue fixed for 2 weeks with no activity.