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

FriendsOfPHP / PHP-CS-Fixer / 13745
79%
master: 93%

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 02 Feb 2018 10:23PM UTC
Jobs 1
Files 319
Run time 1min
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
13745

push

travis-ci

keradus
bug #3265 YodaFixer - fix problems of block statements followed by ternary statements (weareoutman, keradus, SpacePossum)

This PR was squashed before being merged into the 2.9 branch (closes #3265).

Discussion
----------

YodaFixer - fix problems of block statements followed by ternary statements

Fix #3264.

Solution:

In YodaStyleFixer::findComparisonStart(), during traversing tokens backward, when we met a block curly brace, If already found a non-block-brace meaningful token on the left side of the comparison, we can tell that the comparison started here.

Commits
-------

da812302 YodaFixer - fix problems of block statements followed by ternary statements

9295 of 11742 relevant lines covered (79.16%)

35.26 hits per line

Jobs
ID Job ID Ran Files Coverage
5 13745.5 (COLLECT_COVERAGE=1) 02 Feb 2018 10:15PM UTC 0
79.16
Travis Job 13745.5
Source Files on build 13745
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #13745
  • 2396fe04 on github
  • Prev Build on 2.9 (#13732)
  • Next Build on 2.9 (#13751)
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