-
Notifications
You must be signed in to change notification settings - Fork 148
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
Silent failures (when ini_set('display_errors', 0)) #879
Comments
This is due to Same behaviour was experienced in GLPI (see glpi-project/glpi#9744). IMHO, atoum should register a proper error handler as soon as possible in the code to be able to exit with understandable error, even when |
Indeed, that is much more explcit; thank you very much @cedric-anne; I forget about that explicit |
It's unfortunately a quite common case: running tests fails without any error, causes can be multiple:
That's annoying, but syntax errors can be checked with
php -l
, and looking deep at the code permit to solve several other ones.This time, I'm trying to run my test suite with php 8.1 on github actions and it fails silently. I have absolutely no idea what goes wrong. Tests are just running fine locally :/
See for example:
https://github.com/galette/galette/runs/4053979832?check_suite_focus=true
Any idea how to get more info on that fail? Thanks!
The text was updated successfully, but these errors were encountered: