-
Notifications
You must be signed in to change notification settings - Fork 160
False positive - Direct throw of generic Exception is discouraged #194
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
Comments
Hi @ihor-sviziev. Thank you for your report. Please, add a comment to assign the issue:
|
Until this gets fixed by Magento, one possible workaround is to assign an alias to this Exception class, like this: Same goes for all classes that are named like the base generic Exception class. |
@magento I am working on this |
Hi @svera, |
AC-6437:Ensure PHP8.1 support after 7.4 removal - Added support for R…
Preconditions
Steps to reproduce
Expected result
Magento\Framework\Validator\Exception
at the top of the file.Actual result
Additional info
We found this issue on the following PR: magento/magento2#29688
The text was updated successfully, but these errors were encountered: