-
-
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
PHP Unit test case showing indirect error not showing exact line number in file. #5082
Comments
Thank you for your report. Please provide a minimal, self-contained, reproducing test case that shows the problem you are reporting. Without such a minimal, self-contained, reproducing test case I will not be able to investigate this issue. |
Is there any general way to debug issue or get full stack trace via command? |
I cannot help you without a minimal, self-contained, reproducing test case that shows the problem you are reporting. You are not even showing a complete message. If |
PHP UNIT VERSION: 9.5.25
PHP VERSION: 8.1
installed method: composer
Summary
While running phpunit test case getting indirect error like below
1x: strtr(): Passing null to parameter #1 ($string) of type string is deprecated
Using Command: /vendor/bin/phpunit -c core modules/custom/custom module/tests/src/Unit/Form/filename.php
Problem
Is there any way to get exact error line number or complete stack trace via command ?
The text was updated successfully, but these errors were encountered: