doctrine / dbal

Doctrine Database Abstraction Layer
https://www.doctrine-project.org/projects/dbal.html
MIT License
9.45k stars 1.33k forks source link

Display warnings when running PHPUnit in CI #6431

Closed stof closed 3 months ago

stof commented 3 months ago
Q A
Type improvement
Fixed issues

Summary

As the configuration files are configured to make PHPUnit fail on warning, not displaying them makes it hard to debug failures. PHPUnit 10 does not show them by default (even when it triggers failures because of them).

stof commented 3 months ago

I just found that the XML config file supports a displayDetailsOnTestsThatTriggerWarnings setting. This could be used instead of the CLI flag if you prefer.

stof commented 3 months ago

this has initially been done as part of #6428 where it was the only way I could figure out why the OCI job was failing...