File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -76,13 +76,17 @@ When using the extension in conjunction with the ``PANTHER_ERROR_SCREENSHOT_DIR`
7676environment variable, tests using the Panther client that fail or error (after the
7777client 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
You can’t perform that action at this time.
0 commit comments