-
Notifications
You must be signed in to change notification settings - Fork 28
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
Run PHPStan for the test suite #1329
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 1.x #1329 +/- ##
=======================================
Coverage 82.58% 82.58%
=======================================
Files 641 641
Lines 17290 17290
=======================================
Hits 14279 14279
Misses 3011 3011
|
Hi @norberttech, codecov failed for some reason and it points to |
don't worry about snappy, I think tests there are a bit fragile. |
question, why do we need a different phpstan configuration for test suite? |
Splitting them apart would allow us to have different quality checks for each case. For example, we could have a lower level in our test suite or skip specific errors. Although now, i have unified the configs in this commit 6f4bf08 |
Hi @norberttech, we have these ignorred errors in our PHPStan config:
I think we should ignore them using the baseline. The reason is that these errors are not specific to any files or number of occurrence which means that we can keep adding these errors and PHPStan will happily ignore them. |
Based on our conversation at Discord I created an ADR that answers this one #1345 |
@norberttech All errors have been fixed. It took a while but no baseline has been used 🚀 |
you are THE BEST 💪 will check and merge it tomorrow morning |
Change Log
Added
Fixed
Changed
Removed
Deprecated
Security
Description
Closes: #1340