• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FriendsOfPHP / PHP-CS-Fixer / 13411 / 8
82%
master: 93%

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 10 Jan 2018 02:20PM UTC
Files 282
Run time 13s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Jan 2018 02:04PM UTC coverage: 79.409% (+0.003%) from 79.406%
COLLECT_COVERAGE=1 SYMFONY_DEPRECATIONS_HELPER=weak

push

travis-ci

keradus
bug #3337 BracesFixer: nowdoc bug on template files (Slamdunk)

This PR was squashed before being merged into the 2.2 branch (closes #3337).

Discussion
----------

BracesFixer: nowdoc bug on template files

Currently the fixer breaks code if the php tag is closed after a nowdoc syntax:
```diff
 <?php
 if (true) {
     $var = <<<'JS'
-JS;
-?>
+JS; ?>
 <?php
 }
```

- [x] Prove the bug
- [x] Find a solution (I'm scared of BracesFixer source 😨)

Commits
-------

3b27b94d BracesFixer: nowdoc bug on template files

7439 of 9368 relevant lines covered (79.41%)

25.71 hits per line

Source Files on job 13411.8 (COLLECT_COVERAGE=1 SYMFONY_DEPRECATIONS_HELPER=weak)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13411
  • Travis Job 13411.8
  • 1fc607a0 on github
  • Prev Job for COLLECT_COVERAGE=1 SYMFONY_DEPRECATIONS_HELPER=weak on 2.2 (#13396.8)
  • Next Job for COLLECT_COVERAGE=1 SYMFONY_DEPRECATIONS_HELPER=weak on 2.2 (#13413.8)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc