-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
In callback there is no "file" in trace #5822
Conversation
Thank you for your pull request. Please include a minimal, self-contained, reproducing test case that shows the problem you are aiming to solve. Also note that pull requests for bug fixes should not target |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 11.1 #5822 +/- ##
=========================================
Coverage 89.86% 89.86%
- Complexity 6560 6562 +2
=========================================
Files 693 693
Lines 19850 19850
=========================================
Hits 17838 17838
Misses 2012 2012 ☔ View full report in Codecov by Sentry. |
I've rebased this PR to Speaking about tests I'm really not sure how to write proper one for phpunit.
Can anyone please help me to write test for this for phpunit lib ? |
Added testcase which after fix will no more fail, but before fix fails. |
In callback there is no "file" in trace
b7797cf
to
d2a4b10
Compare
@sebastianbergmann this PR should be retarget instead of closed |
@DarkSide666 I did not intend to close this. Please send a new PR against the |
Merged manually into |
In callback there is no "file" in trace.
For example, trace will look like
and
[1]
element has only function, class and type attributes, but no file and line.