@@ -226,24 +226,30 @@ related to deprecations.
226226
227227.. _write-assertions-about-deprecations :
228228
229- Deprecationnotices atautoloading time
229+ DeprecationNotices atAutoloading Time
230230~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
231231
232- By default, the PHPUnit Bridge uses ``DebugClassLoader `` from Debug component to
233- throw deprecation notices at autoloading time. It attempts to throw more helpful
234- exceptions when a class isn't found by the registered autoloaders.
235- All autoloaders that implement a findFile() method are replaced with a ``DebugClassLoader `` wrapper.
236- This can be disabled by setting ``debug-class-loader `` option to ``0 `` in ``phpunit.xml.dist ``.
232+ By default, the PHPUnit Bridge uses ``DebugClassLoader `` from the
233+ :doc: `Debug component </components/debug >` to throw deprecation notices at
234+ class autoloading time. This can be disabled with the ``debug-class-loader `` option.
237235
238236..code-block ::xml
239237
240- <listeners >
241- <listener class =" Symfony\Bridge\PhpUnit\SymfonyTestsListener" >
242- <arguments >
243- <array >
244- <element key =" debug-class-loader" ><integer >0</integer ></element >
245- ...
238+ <!-- phpunit.xml.dist-->
239+ <!-- ...-->
240+ <listeners >
241+ <listener class =" Symfony\Bridge\PhpUnit\SymfonyTestsListener" >
242+ <arguments >
243+ <array >
244+ <!-- set this option to 0 to disable the DebugClassLoader integration-->
245+ <element key =" debug-class-loader" ><integer >0</integer ></element >
246+ </array >
247+ </arguments >
248+ </listener >
249+ </listeners >
246250
251+ ..versionadded ::4.2
252+ The ``DebugClassLoader `` integration was introduced in Symfony 4.2.
247253
248254Write Assertions about Deprecations
249255-----------------------------------