mjaschen / phpgeo

Simple Yet Powerful Geo Library for PHP
https://phpgeo.marcusjaschen.de
MIT License
1.56k stars 195 forks source link

Change assertEquals() to assertEqualsWithDelta() #65

Closed majebry closed 4 years ago

majebry commented 4 years ago

Change assertEquals() to assertEqualsWithDelta() inside testCalcauleLength()

PHPUnit was showing the following warning

The optional $delta parameter of assertEquals() is deprecated and will be removed in PHPUnit 9. Refactor your test to use assertEqualsWithDelta() instead.
mjaschen commented 4 years ago

Hi,

thanks for your pull request!

Adjustments for newer versions of PHPUnit are already made in the branch milestone/3.0.