sebastianbergmann / phpunit-mock-objects

Mock Object library for PHPUnit
https://phpunit.de/
Other
4.98k stars 154 forks source link

Fix Warning message when mocking final, static, protected methods [#358] #380

Closed nikhilkuria closed 6 years ago

nikhilkuria commented 6 years ago

https://github.com/sebastianbergmann/phpunit-mock-objects/issues/358

codecov-io commented 6 years ago

Codecov Report

Merging #380 into master will decrease coverage by 0.06%. The diff coverage is 83.33%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #380      +/-   ##
============================================
- Coverage      69.5%   69.44%   -0.07%     
- Complexity      432      435       +3     
============================================
  Files            27       27              
  Lines          1246     1250       +4     
============================================
+ Hits            866      868       +2     
- Misses          380      382       +2
Impacted Files Coverage Δ Complexity Δ
src/Builder/InvocationMocker.php 77.21% <0%> (ø) 24 <0> (ø) :arrow_down:
src/Generator.php 78.58% <100%> (-0.22%) 183 <3> (+3)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2f789b5...73a70bb. Read the comment docs.

sebastianbergmann commented 6 years ago

Thank you for your contribution. I am sorry that I did not get around to review/merge this sooner. Please send a new pull request against current master.