Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

upgrade phpunit windows

Tags:

phpunit

I want to install PHPUnit 3.7 on my windows server. I followed the various instructions here and ended up with PHPUnit 3.4.1. When I try to install it again using:

pear update channels
pear install --alldeps phpunit/PHPUnit

I get:

phpunit/PHPUnit is already installed and is the same as the released version 3.4.15
install failed

I know that 3.4.15 is not the latest version... How can I convince PEAR that it should find an upgrade somewhere?

like image 290
user385762 Avatar asked Jan 13 '12 13:01

user385762


People also ask

How to check PHPUnit version in Windows?

To verify PHPUnit has been installed type phpunit --version in command prompt.


1 Answers

You probably want the --force (or -f) option on pear install:

pear install -a -f phpunit/PHPUnit

I was running into problems with PHPUnit until I found this post

like image 124
Brad Orego Avatar answered Oct 26 '22 09:10

Brad Orego