Skip to content

Navigation Menu

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 6e59a25

Browse filesBrowse files
committed
minor #20930 Use PHPUnit 11 in "Create Framework" tutorial (alamirault)
This PR was merged into the 7.2 branch. Discussion ---------- Use PHPUnit 11 in "Create Framework" tutorial Follow #20929 with phpunit 10.x Symfony 7.2 "Requires: PHP 8.2.0 or higher", so let's use phpunit 11.x "php: >=8.2" in Create framewokr tutorial Commits ------- d371dcb Use phpunit 11 in Create Framework tutorial
2 parents d4e5f05 + d371dcb commit 6e59a25
Copy full SHA for 6e59a25

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.