2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

PhpStorm で PHPUnit を動かすために phar ファイルを指定したけどエラーになる

Posted at

PhpStorm > preference > Languages & Frameworks > PHP > PHPUnit に 設定をするが、
path to phpunit.phar で phar へのパスを設定するとき、指定するファイルの拡張子が .phar になっていないと怒られる

現在公式推薦のインストール方法が

wget https://phar.phpunit.de/phpunit.phar
chmod +x phpunit.phar
mv phpunit.phar /usr/local/bin/phpunit
phpunit --version

と、コピー先で拡張子を消すようになっているので、ハマる人いそう

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?