-
Notifications
You must be signed in to change notification settings - Fork 126
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
Type declarations to increase phpstan to level 6 #591
Draft
phil-davis
wants to merge
18
commits into
sabre-io:master
Choose a base branch
from
phil-davis:issue-588
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Nov 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 01c8169 - Browse repository at this point
Copy the full SHA 01c8169View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac9861a - Browse repository at this point
Copy the full SHA ac9861aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f773c3f - Browse repository at this point
Copy the full SHA f773c3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f528c4d - Browse repository at this point
Copy the full SHA f528c4dView commit details -
Remove useless check of propertyCounters < 1
phpstan reports: 588 Comparison operation "<" between int<1, max> and 1 is always false. That is correct. The code higher up sets $propertyCounters[$name] = 1; and then only ever increments it. So it can never be less than 1.
Configuration menu - View commit details
-
Copy full SHA for 8cd6d44 - Browse repository at this point
Copy the full SHA 8cd6d44View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1d9b7d - Browse repository at this point
Copy the full SHA e1d9b7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7569509 - Browse repository at this point
Copy the full SHA 7569509View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e2f7ce - Browse repository at this point
Copy the full SHA 4e2f7ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad52e51 - Browse repository at this point
Copy the full SHA ad52e51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e99568 - Browse repository at this point
Copy the full SHA 9e99568View commit details -
Move public string 'name' into Node
All of Component, Parameter and Property have 'name'. Moving it into Node helps phpstan to understand that 'name' always exists.
Configuration menu - View commit details
-
Copy full SHA for 580ab40 - Browse repository at this point
Copy the full SHA 580ab40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3425da2 - Browse repository at this point
Copy the full SHA 3425da2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c18d93b - Browse repository at this point
Copy the full SHA c18d93bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18a77ff - Browse repository at this point
Copy the full SHA 18a77ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8757a2 - Browse repository at this point
Copy the full SHA e8757a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2c7cde - Browse repository at this point
Copy the full SHA d2c7cdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18494f5 - Browse repository at this point
Copy the full SHA 18494f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f8d36e - Browse repository at this point
Copy the full SHA 6f8d36eView commit details
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.