bjeavons / zxcvbn-php

Realistic PHP password strength estimate library based on Zxcvbn JS
MIT License
831 stars 113 forks source link

PHP 8 syntax error, unexpected token "match" #46

Closed AnnoyingTechnology closed 3 years ago

AnnoyingTechnology commented 3 years ago

There is a conflict with a new PHP8 reserved word match bjeavons/zxcvbn-php/src/Matchers/DateMatch.php

jdreesen commented 3 years ago

Actually it should be its parent class ZxcvbnPhp\Matchers\Match, whose name is not allowed anymore with PHP 8.

mkopinsky commented 3 years ago

Thanks for the report!