Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitc4e1eaa

Browse files
committed
Merge branch '7.2' into 7.3
* 7.2: Use phpunit 11 in Create Framework tutorial
2 parents5b70521 +6e59a25 commitc4e1eaa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎create_framework/unit_testing.rst

Lines 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)

[8]ページ先頭

©2009-2025 Movatter.jp