phpfmt8 icon indicating copy to clipboard operation
phpfmt8 copied to clipboard

AlignSuperEquals adds extra space

Open driade opened this issue 11 months ago • 1 comments

        $salted  = '';
        $dx      = '';
        while (strlen($salted) < 48) {
            $dx      = md5($dx . $passphrase . $salt, true);
            $salted .= $dx;
        }
        $key  = substr($salted, 0, 32);
        $iv   = substr($salted, 32, 16);
        return [$key, $iv];

This shouldn't have two spaces after $salted, $key and $iv

driade avatar Jan 13 '25 10:01 driade

Meanwhle, adding a line after the curly_close solves the problem

driade avatar Feb 03 '25 19:02 driade