> On Jan 2, 2017, at 08:14, Hari K T <
ktha...@gmail.com> wrote:
>
> Hey Steve,
>
> Aura packages should work with phpunit 4 and 5 versions I believe. I have noticed a few issues on some packages and those were fixed. ( It was with getMock method ) .
>
> We assumed phpunit is already installed and is global in the system. Basically it was to help with people who have low bandwidth. But I think that is not the case for now for composer keep things in cache. Also you can tell composer not to install require-dev dependencies.
>
> So you are right, may be we could add phpunit into composer.json . Lets see what Paul M Jones thinks about the same.
For a long long time, I have not like the idea of adding PHPUnit to every package, mostly because I have 40+ packages (most are Aura) and that's a lot of PHPUnit installs.
But I have reluctantly changed my mind.
Time to start adding "require-dev: phpunit/phpunit".
--
Paul M. Jones
pmjo...@gmail.com
http://paul-m-jones.com
Modernizing Legacy Applications in PHP
https://leanpub.com/mlaphp
Solving the N+1 Problem in PHP
https://leanpub.com/sn1php