Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c4e1eaa

Browse filesBrowse files
committed
Merge branch '7.2' into 7.3
* 7.2: Use phpunit 11 in Create Framework tutorial
2 parents 5b70521 + 6e59a25 commit c4e1eaa
Copy full SHA for c4e1eaa

File tree

1 file changed

+4
-4
lines changed
Filter options

1 file changed

+4
-4
lines changed

‎create_framework/unit_testing.rst

Copy file name to clipboardExpand all lines: create_framework/unit_testing.rst
+4-4Lines changed: 4 additions & 4 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.