elliotchance / concise

✅ Concise is test framework for using plain English and minimal code, built on PHPUnit.
MIT License
45 stars 3 forks source link

mock() should disableConstructor() #266

Closed elliotchance closed 8 years ago

elliotchance commented 9 years ago

A mock() is totally empty, so it makes no sense to run the constructor which will possibly invoke methods that will cause the mock build to fail.

scrutinizer-notifier commented 8 years ago

The inspection completed: No new issues