-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Feature request] Add some functions in Magento\Checkout\Model\Session #39571
base: 2.4-develop
Are you sure you want to change the base?
[Feature request] Add some functions in Magento\Checkout\Model\Session #39571
Conversation
Hi @dimitriBouteille. 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. |
@magento run all tests |
@magento create issue |
|
Description (*)
This PR add some functions in
Magento\Checkout\Model\Session
with phpdoc (method tag) :Adding these methods allows better support for phpstan. Today, with PHPSTAN is very complicated to setup the project with level 5 or higher :(
Related Pull Requests
None
Fixed Issues (if relevant)
None
Manual testing scenarios (*)
Setup PHPSTAN with level 5 or higher and run check.
Questions or comments
The quality of Magento code needs to be improved so that it is easier to use the code quality tools (phpstan, rector, ...) ❤️
Contribution checklist (*)
Resolved issues: