-
-
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
No stack trace printed when PHPUnit is used from PHAR #4573
Labels
Comments
sebastianbergmann
added
feature/test-runner
CLI test runner
installation/phar
type/bug
Something is broken
labels
Jan 4, 2021
This was referenced Jan 26, 2021
sebastianbergmann
changed the title
shouldPrintFrame always returns FALSE for any file in backtrace
No stack trace printed when PHPUnit is used from PHAR
Jan 27, 2021
This was referenced Mar 12, 2021
Closed
This was referenced Mar 18, 2021
composer(deps-dev): update phpunit/phpunit requirement from ^9.5.2 to ^9.5.3
codedge/laravel-fpdf#78
Merged
Closed
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
$ tree
.
└── tests
└── Test.php
1 directory, 1 file
tests/Test.php
Run as phar:
output:
Expected:
Explanation
phpunit/src/Util/Filter.php
Line 94 in 9bf7654
Issue:
PHPunit always hide any element of backtrace if launched from phar.
Reason:
Filter::shouldPrintFrame() always returns NULL if PHPUNIT_PHAR_ROOT defined.
Expected behavior:
Backtrace stack output
The text was updated successfully, but these errors were encountered: