phug-php / phug

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

Refactor duplicated code #72

Closed kylekatarnls closed 4 years ago

codecov[bot] commented 4 years ago

Codecov Report

Merging #72 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##              master       #72   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity      2794      2800    +6     
===========================================
  Files            250       254    +4     
  Lines           7325      7324    -1     
===========================================
- Hits            7325      7324    -1     
Impacted Files Coverage Δ Complexity Δ
src/Phug/Compiler/Compiler.php 100.00% <100.00%> (ø) 101.00 <0.00> (-1.00)
src/Phug/Compiler/Compiler/Event/OutputEvent.php 100.00% <100.00%> (ø) 18.00 <0.00> (ø)
src/Phug/Compiler/CompilerException.php 100.00% <100.00%> (ø) 1.00 <1.00> (?)
src/Phug/Formatter/Formatter/AbstractFormat.php 100.00% <100.00%> (ø) 161.00 <0.00> (ø)
...c/Phug/Formatter/Formatter/Element/CodeElement.php 100.00% <100.00%> (ø) 20.00 <0.00> (ø)
src/Phug/Lexer/Lexer/State.php 100.00% <100.00%> (ø) 51.00 <0.00> (-1.00)
src/Phug/Lexer/LexerException.php 100.00% <100.00%> (ø) 1.00 <1.00> (?)
src/Phug/Parser/Parser/State.php 100.00% <100.00%> (ø) 64.00 <0.00> (-1.00)
src/Phug/Parser/ParserException.php 100.00% <100.00%> (ø) 3.00 <1.00> (+1.00)
src/Phug/Phug/Phug/Partial/ExtensionsTrait.php 100.00% <100.00%> (ø) 42.00 <17.00> (+1.00)
... and 9 more

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 79d9507...a18b4ad. Read the comment docs.

codeclimate[bot] commented 4 years ago

Code Climate has analyzed commit a18b4ad4 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.