phug-php / phug

Phug - The Pug Template Engine for PHP
https://phug.selfbuild.fr
MIT License
62 stars 3 forks source link

Fix unit test compatibility with PHP 8 #75

Closed kylekatarnls closed 4 years ago

kylekatarnls commented 4 years ago

Due to the division-by-zero severity requalification, test must be aligned to pass with PHP 8 https://wiki.php.net/rfc/engine_warnings.#division_by_zero

codeclimate[bot] commented 4 years ago

Code Climate has analyzed commit 9043e324 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (80% is the threshold).

This pull request will bring the total coverage in the repository to 100.0% (0.0% change).

View more on Code Climate.

codecov[bot] commented 4 years ago

Codecov Report

Merging #75 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##              master       #75   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity      2809      2809           
===========================================
  Files            254       254           
  Lines           7355      7355           
===========================================
  Hits            7355      7355           

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 a6cd174...9043e32. Read the comment docs.