-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use #[\SensitiveParameter] attribute for e.g. passwords #177
Comments
Good idea! I did it for ig_ldap_sso_auth in v4.0 :) |
That's were I found it ;-) |
Okay, currently we still support PHP 7.4 for v11. |
Yes, that sounds totally legit, those still in need for PHP 7.4 or PHP 8.0 can stick on the existing version, and the new version supporting v11, v12, and possibly v13 requires PHP 8.1+, that's fair and in line with official support of PHP. Switching to PHP 8.1+ allows to get much cleaner code, thus prone to good refactoring. |
I'd go for PHP8.2 actually, because this attribute is supported since then only |
No problem with PHP 8.1, it's just not taken into account, which doesn't hurt since it wasn't there for many versions either. And PHP 8.1 is in ELTS mode, thus I find it makes sense to keep support for it, since that extension doesn't target most up-to-date environments... https://www.php.net/supported-versions.php |
Wasn't aware that non-supported attributes are silently ignored. Cool actually. |
indeed! |
will prepare that now then. |
IIRC it would even work with PHP 7.4 but would only require to be specified on a separate line with nothing afterwards as |
Okay, I'd still argue 8.1 is okay to raise |
Cleanup code accordingly. Add SensitiveParameter attribute for passwords. Resolves: xperseguers#177
No description provided.
The text was updated successfully, but these errors were encountered: