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

FriendsOfPHP / PHP-CS-Fixer / 5224
83%
master: 93%

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 19 Jan 2016 08:18PM UTC
Jobs 7
Files 140
Run time 15min
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
5224

push

travis-ci

keradus
bug #1680 NewWithBracesFixer - End tags  (SpacePossum)

This PR was submitted for the 1.12 branch but it was merged into the 1.11 branch instead (closes #1680).

Discussion
----------

NewWithBracesFixer - End tags

Little bug fix for the `NewWithBracesFixer`;
Input
```php
<?php $a = new \Exception?> <?php echo 1;
```
gets fixed to;
```php
<?php $a = new \Exception?> <?php echo 1();
```
which breaks valid code.

Additional fix in this PR is for;
input:
```php
<?php $x = new Z /**/;//
```

get fixed to:
```php
<?php $x = new Z() /**/;//
```

Commits
-------

cf25364 NewWithBracesFixer - End tags

4494 of 5366 relevant lines covered (83.75%)

411.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5224.1 (COMPOSER_FLAGS="--prefer-stable --prefer-lowest") 19 Jan 2016 08:14PM UTC 0
79.09
Travis Job 5224.1
2 5224.2 19 Jan 2016 08:16PM UTC 0
86.2
Travis Job 5224.2
3 5224.3 19 Jan 2016 08:15PM UTC 0
86.36
Travis Job 5224.3
4 5224.4 (SYMFONY_VERSION="~2.7") 19 Jan 2016 08:16PM UTC 0
86.57
Travis Job 5224.4
5 5224.5 (SYMFONY_VERSION="~3.0@dev" COMPOSER_FLAGS="--prefer-stable") 19 Jan 2016 08:16PM UTC 0
86.57
Travis Job 5224.5
6 5224.6 19 Jan 2016 08:19PM UTC 0
90.27
Travis Job 5224.6
7 5224.7 19 Jan 2016 08:20PM UTC 0
78.89
Travis Job 5224.7
Source Files on build 5224
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5224
  • 31c00d45 on github
  • Prev Build on 1.11 (#5220)
  • Next Build on 1.11 (#5243)
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