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

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

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 10 Jan 2018 02:20PM UTC
Jobs 1
Files 282
Run time 14s
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

pending completion
13411

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

Jobs
ID Job ID Ran Files Coverage
8 13411.8 (COLLECT_COVERAGE=1 SYMFONY_DEPRECATIONS_HELPER=weak) 10 Jan 2018 02:13PM UTC 0
79.41
Travis Job 13411.8
Source Files on build 13411
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #13411
  • 1fc607a0 on github
  • Prev Build on 2.2 (#13396)
  • Next Build on 2.2 (#13413)
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