From 8a7cc1da16493f16c95fa076f18723ceeef7725f Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Tue, 17 Aug 2021 14:47:15 +0200 Subject: [PATCH] Drop instructions how to install phpunit Signed-off-by: Daniel Kesselberg --- developer_manual/core/unit-testing.rst | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/developer_manual/core/unit-testing.rst b/developer_manual/core/unit-testing.rst index f8aba2691..1fe00c439 100644 --- a/developer_manual/core/unit-testing.rst +++ b/developer_manual/core/unit-testing.rst @@ -8,27 +8,9 @@ PHP unit testing Getting PHPUnit ^^^^^^^^^^^^^^^ -Nextcloud uses PHPUnit >= 4.8 for unit testing. +Nextcloud uses PHPUnit >= 8.5 for unit testing. -To install it, either get it via your package manager:: - - sudo apt-get install phpunit - -or install it manually:: - - wget https://phar.phpunit.de/phpunit.phar - chmod +x phpunit.phar - sudo mv phpunit.phar /usr/local/bin/phpunit - -After the installation the **phpunit** command is available:: - - phpunit --version - -And you can update it using:: - - phpunit --self-update - -You can find more information in the PHPUnit documentation: https://phpunit.de/manual/current/en/installation.html +PHPUnit documentation: https://phpunit.de/documentation.html Writing PHP unit tests ^^^^^^^^^^^^^^^^^^^^^^