-
Notifications
You must be signed in to change notification settings - Fork 0
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
Require phpstan/phpstan
2
#17
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #17 +/- ##
=========================================
Coverage 92.18% 92.18%
Complexity 295 295
=========================================
Files 64 64
Lines 1152 1152
=========================================
Hits 1062 1062
Misses 90 90 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you fix those phpstan errors instead of ignoring them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see there are a lot of ignores, should we use this branch to solve them before merging?
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertEmpty\(\) with Storyblok\\Api\\Domain\\Value\\Filter\\FilterCollection will always evaluate to false\.$#' | ||
identifier: staticMethod.impossibleType | ||
count: 2 | ||
path: tests/Unit/Domain/Value/Filter/FilterCollectionTest.php |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a false positive, otherwise our test would fail
@@ -27,7 +27,7 @@ public function __construct( | |||
} | |||
|
|||
/** | |||
* @param array<string, list<string>> $headers | |||
* @param array<string, array<string>> $headers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes some errors, but I am in favor of keeping the list
ping @silasjoisten @edodusi |
No description provided.