phpunit upgrade woes
While in the middle of a conference call with my offshore team, I had this bright idea of upgrading my current installation of phpunit into whatever the latest one is. Should be a straight forward upgrade from 3.4.13 to 3.5.3 right? Not! The steps I followed were pretty easy. uninstall current version and its dependencies using the “pear uninstall” command, then reinstall using “pear install -a”. I typed “which phpunit” and the console gave me the expected result. I then followed up with “phpunit -v” which should give me the upgraded version and everything in the world will be right, but it had different plans. The moment i pressed the return key after typing that command, I got an error message mentioning that the required fileloader.php file is missing. 5 minutes in, I decided that I can’t give it much thought since I was still in the middle of a conference call So I let things go and concentrated on my call. After that was done I went through a series of uninstalls/reinstalls of phpunit but to no avail. Three hours and a couple of interruptions later, I decided to trace through all the dependencies and found out that all […]