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

FriendsOfPHP / PHP-CS-Fixer / 5721
90%
master: 93%

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 01 Mar 2016 09:42PM UTC
Jobs 7
Files 162
Run time 56min
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
5721

push

travis-ci

keradus
minor #1682 ElseifFixer - handle comments (SpacePossum)

This PR was merged into the 1.12 branch.

Discussion
----------

ElseifFixer - handle comments

Make `ElseifFixer` work even if there are comments used between `if` and `else`.

Some optimizing;
* no need to check all tokens (the fixer looks for a token sequences of quite some tokens)
* don't iterate all tokens twice when on HHVM, but only re-modify tokens when needed (i.e. this fixer modified tokens).

Commits
-------

9fae8cf Handle comments

5121 of 5928 relevant lines covered (86.39%)

466.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5721.1 (COMPOSER_FLAGS="--prefer-stable --prefer-lowest") 01 Mar 2016 09:38PM UTC 0
84.52
Travis Job 5721.1
2 5721.2 (LINT_TEST_CASES=1) 01 Mar 2016 09:40PM UTC 0
89.52
Travis Job 5721.2
3 5721.3 01 Mar 2016 09:40PM UTC 0
76.6
Travis Job 5721.3
4 5721.4 01 Mar 2016 09:43PM UTC 0
85.51
Travis Job 5721.4
5 5721.5 01 Mar 2016 09:44PM UTC 0
85.62
Travis Job 5721.5
6 5721.6 01 Mar 2016 09:44PM UTC 0
85.8
Travis Job 5721.6
7 5721.7 (SYMFONY_VERSION="~2.8") 01 Mar 2016 09:45PM UTC 0
89.16
Travis Job 5721.7
Source Files on build 5721
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5721
  • 3b037a3c on github
  • Prev Build on 1.12 (#5716)
  • Next Build on 1.12 (#5791)
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