Closed kdambekalns closed 1 year ago
This "bugfix" created another Bug @kdambekalns & @JamesAlias 🙈 Setting default "empty" values is nasty and requires stricter composer orders. May we reset this change and check for Array or null in PHP?
Explanation:
We have added CookiePunch Configuration to multiple packages like vendor/custompackage
has their own Sandstorm.CookiePunch.consent.services.customService
configuration.
Our custom/cookiepunch
package requires sandstorm/cookiepunch
and overrides this configuration again 😢
Following the README this is what I get after step 1:
Argument 1 passed to Sandstorm\CookiePunch\Eel\Helper\CookiePunchConfig_Original::filterServicesArrayByWhenCondition() must be of the type array, null given
The shipped settings lack an empty array as default: