mirror of
https://github.com/symfony/symfony-docs.git
synced 2026-03-24 00:32:14 +01:00
Update Create Framework / Unit Testing page
This commit is contained in:
committed by
Javier Eguiluz
parent
7047b79640
commit
97bfcfc06c
@@ -12,7 +12,7 @@ using `PHPUnit`_. At first, install PHPUnit as a development dependency:
|
||||
|
||||
.. code-block:: terminal
|
||||
|
||||
$ composer require --dev phpunit/phpunit
|
||||
$ composer require --dev phpunit/phpunit:^9.6
|
||||
|
||||
Then, create a PHPUnit configuration file in ``example.com/phpunit.xml.dist``:
|
||||
|
||||
@@ -21,7 +21,7 @@ Then, create a PHPUnit configuration file in ``example.com/phpunit.xml.dist``:
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
|
||||
backupGlobals="false"
|
||||
colors="true"
|
||||
bootstrap="vendor/autoload.php"
|
||||
|
||||
Reference in New Issue
Block a user