Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
update XML member from <extension... to <bootstrap ...
Also clarify: phpunit configuration name can have either .xml or .xml.dist extension.
  • Loading branch information
unixat authored Aug 1, 2025
commit a5d08001ca02faf9830886ba671fe233a32e446f
6 changes: 3 additions & 3 deletions testing/end_to_end.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ When using the extension in conjunction with the ``PANTHER_ERROR_SCREENSHOT_DIR`
environment variable, tests using the Panther client that fail or error (after the
client is created) will automatically get a screenshot taken to help debugging.

To register the Panther extension, add the following lines to ``phpunit.xml.dist``:
To register the Panther extension, add the following lines to ``phpunit.xml`` or ``phpunit.xml.dist``:

.. code-block:: xml

<!-- phpunit.xml.dist -->
<!-- phpunit.xml or phpunit.xml.dist -->
<extensions>
<extension class="Symfony\Component\Panther\ServerExtension"/>
<bootstrap class="Symfony\Component\Panther\ServerExtension"/>
</extensions>

Without the extension, the web server used by Panther to serve the application
Expand Down