Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd3c8438

Browse files
committed
Minor reword
1 parent938cdaa commitd3c8438

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

‎components/phpunit_bridge.rst‎

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -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-
<listenerclass="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
242-
<arguments>
243-
<array>
244-
<elementkey="debug-class-loader"><integer>0</integer></element>
245-
...
238+
<!-- phpunit.xml.dist-->
239+
<!-- ...-->
240+
<listeners>
241+
<listenerclass="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
242+
<arguments>
243+
<array>
244+
<!-- set this option to 0 to disable the DebugClassLoader integration-->
245+
<elementkey="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

248254
Write Assertions about Deprecations
249255
-----------------------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp