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`
76
76
environment variable, tests using the Panther client that fail or error (after the
77
77
client is created) will automatically get a screenshot taken to help debugging.
78
78
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 ``):
80
81
81
82
.. code-block :: xml
82
83
83
84
<!-- phpunit.dist.xml -->
84
85
<extensions >
86
+ <!-- use this with PHPUnit 10 or newer -->
85
87
<bootstrap class =" Symfony\Component\Panther\ServerExtension" />
88
+ <!-- use this with legacy PHPUnit versions older than 10 -->
89
+ <extension class =" Symfony\Component\Panther\ServerExtension" />
86
90
</extensions >
87
91
88
92
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