Skip to content

Commit d371dcb

Browse files
committed
Use phpunit 11 in Create Framework tutorial
1 parent d4e5f05 commit d371dcb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

create_framework/unit_testing.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ using `PHPUnit`_. At first, install PHPUnit as a development dependency:
1212

1313
.. code-block:: terminal
1414
15-
$ composer require --dev phpunit/phpunit:^10.0
15+
$ composer require --dev phpunit/phpunit:^11.0
1616
1717
Then, create a PHPUnit configuration file in ``example.com/phpunit.xml.dist``:
1818

@@ -21,7 +21,7 @@ Then, create a PHPUnit configuration file in ``example.com/phpunit.xml.dist``:
2121
<?xml version="1.0" encoding="UTF-8"?>
2222
<phpunit
2323
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
24+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd"
2525
backupGlobals="false"
2626
colors="true"
2727
bootstrap="vendor/autoload.php"
@@ -212,6 +212,6 @@ Symfony code.
212212
Now that we are confident (again) about the code we have written, we can
213213
safely think about the next batch of features we want to add to our framework.
214214

215-
.. _`PHPUnit`: https://docs.phpunit.de/en/10.0/
216-
.. _`test doubles`: https://docs.phpunit.de/en/10.0/test-doubles.html
215+
.. _`PHPUnit`: https://docs.phpunit.de/en/11.0/
216+
.. _`test doubles`: https://docs.phpunit.de/en/11.0/test-doubles.html
217217
.. _`XDebug`: https://xdebug.org/

0 commit comments

Comments
 (0)