Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

OligarchCat's avatar

OligarchCat started a new conversation+100 XP

3mos ago

Error uncompromised() method on MacOs

Hello all! When I was writing password rules for my API, I encountered an issue where the rules worked when deployed to Ubuntu 24.04. On MacOS (M1), I got an error. After testing, it turned out there was an error in the method uncompromised(). Has anyone encountered this issue?

The project was deployed five times on each machine (without Docker, PHP 8.4).

Password::defaults(static function () {
            return Password::min(8)
                ->max(16)
                ->mixedCase()
                ->letters()
                ->numbers()
                ->symbols()
                ->uncompromised();