Skip to content

Commit 3e180f7

Browse files
committed
Tweaks
1 parent 58a981d commit 3e180f7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

testing/end_to_end.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,17 @@ When using the extension in conjunction with the ``PANTHER_ERROR_SCREENSHOT_DIR`
7676
environment variable, tests using the Panther client that fail or error (after the
7777
client is created) will automatically get a screenshot taken to help debugging.
7878

79-
To register the Panther extension, add the following lines to ``phpunit.xml.dist``:
79+
To register the Panther extension, add the following lines to ``phpunit.dist.xml``
80+
(in legacy PHPUnit versions older than 10, the file is named ``phpunit.xml.dist``):
8081

8182
.. code-block:: xml
8283
8384
<!-- phpunit.dist.xml -->
8485
<extensions>
86+
<!-- use this with PHPUnit 10 or newer -->
8587
<bootstrap class="Symfony\Component\Panther\ServerExtension"/>
88+
<!-- use this with legacy PHPUnit versions older than 10 -->
89+
<extension class="Symfony\Component\Panther\ServerExtension"/>
8690
</extensions>
8791
8892
Without the extension, the web server used by Panther to serve the application

0 commit comments

Comments
 (0)