1

こんにちは、PHPUnitを使用してインストールしました

curl https://phar.phpunit.de/phpunit.phar -o phpunit.phar
chmod +x phpunit.phar
mv phpunit.phar /usr/local/bin/phpunit

私は PHPUnit 、 Eclipse 、および Makegood を使用しています。

Makegood が PHPUnit phar で動作しないことがわかったため、テスト フォルダー内のコンポーザーを使用して別の PHPUnit をインストールしました。

現在、このエラーがあります。

  [PHPUnit_Framework_Exception]                                                                                           
  Argument #3 (No Value) of PHPUnit_TextUI_ResultPrinter::__construct() must be a value from "never", "auto" or "always"  



phpunit [-p|--preload-script="..."] [-c|--config="..."] [-R|--recursive] [-a|--autotest] [-w|--watch-dir="..."] [-m|--notify] [-d|--detailed-progress] [-s|--stop-on-failure] [--log-junit="..."] [--log-junit-realtime] [--test-file-pattern="..."] [--test-method="..."] [--test-class="..."] [--phpunit-config="..."] [test_directory_or_file1] ... [test_directory_or_fileN]

1 つの提案は、PHPUnit.phar インストールを削除することでした。

古い PHPunit インストールを完全に削除するために使用できるコマンドはありますか。私はたくさん検索しましたが、何も見つかりませんでした。

前もって感謝します 。

4

0 に答える 0