-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fix #17 - Error suppression operator is not fully honoured #18
Fix #17 - Error suppression operator is not fully honoured #18
Conversation
All changes look good to me 👍🏻 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #18 +/- ##
===========================================
Coverage 100.00% 100.00%
- Complexity 61 64 +3
===========================================
Files 6 6
Lines 143 146 +3
===========================================
+ Hits 143 146 +3 ☔ View full report in Codecov by Sentry. |
I've added the same fix for notices and deprecations. I don't think you can use While working on this, I found another issue, but it's a different thing and I don't know how it's meant to work so I'll probably open an issue to discuss it. |
|
Honestly, I only tried that because I couldn't think of a way to trigger a regular error on purpose. |
Easiest way is to search php-src for |
Thanks for this @kAlvaro! |
Warnings suppressed with
@
were still altering the test status.This is still not a full solution, because status is assigned separately for each error severity and I've only changed warnings. I wanted to get some feedback before spending more time on this.