File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -76,12 +76,16 @@ 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
83- <!-- phpunit.xml. dist -->
84+ <!-- phpunit.dist.xml -->
8485 <extensions >
86+ <!-- use this with PHPUnit 10 or newer -->
87+ <bootstrap class =" Symfony\Component\Panther\ServerExtension" />
88+ <!-- use this with legacy PHPUnit versions older than 10 -->
8589 <extension class =" Symfony\Component\Panther\ServerExtension" />
8690 </extensions >
8791
You can’t perform that action at this time.
0 commit comments