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
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: