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

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

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 02 Feb 2018 10:23PM UTC
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

02 Feb 2018 10:10PM UTC coverage: 79.16% (+0.01%) from 79.146%
COLLECT_COVERAGE=1

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

Source Files on job 13745.5 (COLLECT_COVERAGE=1)
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13745
  • Travis Job 13745.5
  • 2396fe04 on github
  • Prev Job for COLLECT_COVERAGE=1 on 2.9 (#13732.5)
  • Next Job for COLLECT_COVERAGE=1 on 2.9 (#13751.5)
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