|
|
|
|
|
by kassner
40 days ago
|
|
> I would recommend declaring the phar dependency with phive +1. This eliminates a whole class of bugs in which you declared phpunit as a dev dependency but end up using a class that it brought in without declaring as a regular dependency. Without an external linter, you can’t really catch that until your production code doesn’t bring the class in and throws a fatal error. |
|
2. If you use phpunit class in prod code, you deserve to get a fatal error