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

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

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 24 Feb 2016 01:11AM UTC
Jobs 7
Files 141
Run time 6min
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
5669

push

travis-ci

keradus
bug #1776 EofEndingFixer - new line on end line comment is allowed (Slamdunk)

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

Discussion
----------

EofEndingFixer - new line on end line comment is allowed

The new line of a comment in the last line is indeed a new line and no other new lines should be attached.

As of yet, this code (I will expand line-feeds):
```php
<?php[\n]
return true;[\n]
// Comment[\n]
```
is fixed like
```php
<?php[\n]
return true;[\n]
// Comment[\n]
[\n]
```
Which breaks the statement of the fixer:
`A file must always end with a single empty line feed.`
and also the Unix file management.

Commits
-------

a249688 EofEndingFixer - new line on end line comment is allowed

4512 of 5392 relevant lines covered (83.68%)

412.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5669.1 (COMPOSER_FLAGS="--prefer-stable --prefer-lowest") 24 Feb 2016 01:07AM UTC 0
79.03
Travis Job 5669.1
2 5669.2 24 Feb 2016 01:10AM UTC 0
86.1
Travis Job 5669.2
3 5669.3 24 Feb 2016 01:12AM UTC 0
86.27
Travis Job 5669.3
4 5669.4 (SYMFONY_VERSION="~2.7") 24 Feb 2016 01:12AM UTC 0
86.47
Travis Job 5669.4
5 5669.5 (SYMFONY_VERSION="~3.0@dev" COMPOSER_FLAGS="--prefer-stable") 24 Feb 2016 01:12AM UTC 0
86.47
Travis Job 5669.5
6 5669.6 24 Feb 2016 01:12AM UTC 0
90.13
Travis Job 5669.6
7 5669.7 24 Feb 2016 01:15AM UTC 0
78.72
Travis Job 5669.7
Source Files on build 5669
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5669
  • 3c7ab34f on github
  • Prev Build on 1.11 (#5615)
  • Next Build on 1.11 (#5685)
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