-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Code Quality Fix: Invalid @var
usage
#40137
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
base: 2.4-develop
Are you sure you want to change the base?
Conversation
Hi @lbajsarowicz. Thank you for your contribution!
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
The security team has been informed about this pull request due to the presence of risky security keywords. For security vulnerability reports, please visit Adobe's vulnerability disclosure program on HackerOne or email psirt@adobe.com. |
1 similar comment
The security team has been informed about this pull request due to the presence of risky security keywords. For security vulnerability reports, please visit Adobe's vulnerability disclosure program on HackerOne or email psirt@adobe.com. |
fafed24
to
0a7331f
Compare
@magento run all tests (I submitted clear issue when the class was not defined, new version skips such) |
0a7331f
to
7cf5338
Compare
7cf5338
to
44786a1
Compare
The security team has been informed about this pull request due to the presence of risky security keywords. For security vulnerability reports, please visit Adobe's vulnerability disclosure program on HackerOne or email psirt@adobe.com. |
@magento run all tests I found a few more issues with the codebase, fixed. |
We discussed this with @lbajsarowicz in Slack. So far, merging 300+ files in one step is almost impossible, as it would require a huge amount of static test fixes and, certainly, cause conflicts with releases that would need to be fixed multiple times. |
Description (*)
This Pull Request answers the need of consistent
@var
notation in all the Magento files.The only valid format is:
@var ["Type"] [element_name] [<description>]
(https://docs.phpdoc.org/guide/references/phpdoc/tags/var.html) but Magento did not follow this format, which now needs to be fixed.Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)