Currence-Online / iDIN-libraries-php

MIT License
6 stars 7 forks source link

php 8 support #17

Open akonjakow opened 1 year ago

akonjakow commented 1 year ago

libxml_disable_entity_loader() is deprecated. This one is fixed in master, but no release with tag preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated need to fix this function in Validator.php protected static function checkByValue($value, $regexp) { if (preg_match('/^' . $regexp . '$/u', $value??'') == FALSE) { throw new \BankId\Merchant\Library\CommunicatorException('incorrect value: ' . $value); } }