phug-php / phug

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

Disallow new line in interpolations #74

Closed kylekatarnls closed 4 years ago

kylekatarnls commented 4 years ago

Fix #70

codecov[bot] commented 4 years ago

Codecov Report

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

Impacted file tree graph

@@             Coverage Diff             @@
##              master       #74   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity      2799      2808    +9     
===========================================
  Files            254       254           
  Lines           7322      7340   +18     
===========================================
+ Hits            7322      7340   +18     
Impacted Files Coverage Δ Complexity Δ
src/Phug/Lexer/Lexer.php 100.00% <100.00%> (ø) 37.00 <0.00> (ø)
src/Phug/Lexer/Lexer/Analyzer/LineAnalyzer.php 100.00% <100.00%> (ø) 33.00 <16.00> (+4.00)
.../Phug/Lexer/Lexer/Scanner/InterpolationScanner.php 100.00% <100.00%> (ø) 17.00 <9.00> (+5.00)

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 f86900b...3b3df3c. Read the comment docs.

codeclimate[bot] commented 4 years ago

Code Climate has analyzed commit 3b3df3ce and detected 7 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 7

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.