sebastianbergmann / comparator

Provides the functionality to compare PHP values for equality.
BSD 3-Clause "New" or "Revised" License
6.99k stars 68 forks source link

Fix typo in test variable name #81

Closed bryceharrington closed 4 years ago

bryceharrington commented 4 years ago

book1->author is initialized twice, and book2->author not at all, resulting in this warning:

PHP Warning: Creating default object from empty value in /usr/local/src/comparator/tests/MockObjectComparatorTest.php on line 95

Fixes issue #80

codecov[bot] commented 4 years ago

Codecov Report

Merging #81 into master will not change coverage by %. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #81   +/-   ##
=========================================
  Coverage     99.30%   99.30%           
  Complexity      125      125           
=========================================
  Files            15       15           
  Lines           288      288           
=========================================
  Hits            286      286           
  Misses            2        2           

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 6b509ff...24be199. Read the comment docs.