安装环境:
PHP:PHP7.3.7
PHPStorm:PhpStorm 2019.1.3
PHPUnit官网:
https://github.com/sebastianbergmann/phpunit/wiki/End-of-Life-for-PEAR-Installation-Method
不同版本安装方法:
https://phpunit.de/getting-started-with-phpunit.html
7.2版本以上用:
https://phpunit.de/getting-started/phpunit-8.html
使用Composer安装成功:
1.https://getcomposer.org/ 网站安装Composer
注:已经安装过得请跳过
https://getcomposer.org/download/ 下载软件:本次使用PHP语句安装:获得。phar文件
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') { echo 'Installer verified'; } else { echo 'Installer corrupt&