.. include:: /Includes.rst.txt .. _task-1791144622: ================================================= Task: Let the tests fail on Doctrine deprecations ================================================= Description =========== Doctrine reports deprecations only when asked to, and PHPUnit counted neither those of migrations, which run before the first test, nor those of test classes. The test configuration now asks Doctrine to report every deprecated call, treats migrations and tests as first-party code, and a deprecation raised while the test schema is migrated stops the run with the calls listed. Impact ====== Using a deprecated Doctrine API in code, migrations or tests fails the unit and functional suites. .. index:: Database, package:adsum-testing