-
-
Notifications
You must be signed in to change notification settings - Fork 452
Rise Phpstan level 2, fix some issues #2146
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kiatng
reviewed
May 25, 2022
addison74
approved these changes
May 25, 2022
fballiano
approved these changes
May 25, 2022
|
@tmotyl thanks for working on this :) |
|
Raised to level 2 and left 7k lines of ignored errors .... ... here we go :P (Thanks!) |
|
With next commits the baseline file is "only" around 3k lines ... "only" 600 more errors to check ... :P |
|
@sreichel sounds like its time to go for level 3 or 4 |
|
... why not ...:) 😎 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Component: Admin
Relates to Mage_Admin
Component: Adminhtml
Relates to Mage_Adminhtml
Component: Catalog
Relates to Mage_Catalog
Component: Checkout
Relates to Mage_Checkout
Component: Core
Relates to Mage_Core
Component: Customer
Relates to Mage_Customer
Component: Dataflow
Relates to Mage_Dataflow
Component: Downloadable
Relates to Mage_Downloadable
Component: Eav
Relates to Mage_Eav
Component: Install
Relates to Mage_Install
Component: Log
Relates to Mage_Log
Component: Paygate
Relates to Mage_Paygate
Component: PayPal
Relates to Mage_Paypal
Component: PaypalUk
Relates to Mage_PaypalUk
Component: SalesRule
Relates to Mage_SalesRule
Component: Shipping
Relates to Mage_Shipping
Component: Usa
Relates to Mage_Usa
composer
Relates to composer.json
environment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description (*)
This PR rises phpstan level to 2, and fixes some issues along the way.
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
For easier review, I've grouped similar changes per commit.
Questions or comments
Contribution checklist (*)