PHP 7.4 compatible?
Closed this issue · 2 comments
masiorama commented
Hello, I would like to use your plugin on a project which leverages on PHP 7.4.
As I tried to use it I noticed that the first error I get is on MailchimpController, where protected array|int|bool $allowAnonymous = true;
triggers an error since, AFAIK, is PHP 8 syntax.
Any chance to have this plugin compatible with PHP 7.4?
Thanks in advance.
leowebguy commented
hey there!
since this plugin requires allowAnonymous
had to move c4 into 2.0.0 which is php8 compatible
if you're on 7.4 make sure you tag "leowebguy/simple-mailchimp": "1.0.2", on your composer json
masiorama commented
Thanks @leowebguy can you elaborate a bit more about the allowAnonymous thing? Just curious.