Repository navigation
phpunit update - #446
phpunit update#446
Conversation
AbstractApiTest cleanup with ReflectionMethod createMock removed in ResultPagerTest like in #438 comment written
|
👍 this should fix the tests! If the build is restarted it should pass as |
trigger rebuild
|
Instead of duplicating the reflection code you could use the NSA lib: https://packagist.org/packages/nyholm/nsa The code gets more readable with it. |
|
Can you please take care of conflicts? |
|
conflicts fixxed about https://packagist.org/packages/nyholm/nsa it will be a new dependency, with just PHPUnit 4.0 support, which will be not realy helpful in both ways. |
|
Thank you! |
|
Yes, NSA would be a new dev dependency. I know it is just a matter of taste but using NSA would remove about half the code you added here AND make it more readable. What dev dependencies NSA has does not matter for us. We would only care about the hard requirements for our dependencies. Anyhow, Good work with this PR. I'll make a new PR with NSA and we could discuss it there. |
removed unit test shouldNotUpdateHookWithoutName for #442
AbstractApiTestcleanup withReflectionMethodcreateMockremoved in ResultPagerTest like in #438 comment written