Unleash/unleash-client-php

[Bug]: 1.3.172 php7.2 compatibility issue for AbstractListOperatorValidator

angeloinqbyte opened this issue · 1 comments

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

src/ConstraintValidator/Operator/Lists/AbstractListOperatorValidator.php uses array_is_list which is a php 8 function which causes an exception to be thrown when running php 7.2 based code.

To reproduce

Execute the isEnabled Function in a Php 7.2 environment.

Sample code (optional)

No response

Version

1.3.172

Expected behavior

shoulde not throw an error. Currently works fine on 1.2.572

Logs (optional)

No response

Additional context (optional)

No response

Fixed in 1.3.272, thanks for the report.