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

FriendsOfPHP / PHP-CS-Fixer / 20185 / 7
89%
master: 93%

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 18 Feb 2020 08:16AM UTC
Files 386
Run time 45s
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

18 Feb 2020 07:54AM UTC coverage: 81.337% (+0.008%) from 81.329%
20185.7

push

travis-ci

SpacePossum
bug #4813 BracesFixer - fix invalid code generation on alternative syntax (SpacePossum)

This PR was squashed before being merged into the 2.15 branch (closes #4813).

Discussion
----------

BracesFixer - fix invalid code generation on alternative syntax

Fixes #4811

Basically this skips some edge cases when using alternative syntax. For now I don't want to add a lot of logic to support this case fully as we are splitting this fixer in the future anyway. Secondly we don't support alternative syntax in a lot of cases in the project.

For those interested; `BracesFixer::findStatementEnd` doesn't find the correct index for some of the alternative syntax expressions (see utests)

Commits
-------

fd5a1cfe BracesFixer - fix invalid code generation on alternative syntax

13127 of 16139 relevant lines covered (81.34%)

34.97 hits per line

Source Files on job 20185.7
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 15663
  • Travis Job 20185.7
  • 1294c5d6 on github
  • Prev Job for on 2.15 (#20184.7)
  • Next Job for on 2.15 (#20186.7)
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