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

keradus / PHP-CS-Fixer / 289 / 3
78%
1.11: 82%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: 1.11
Ran 04 Jan 2015 04:09PM UTC
Files 89
Run time 42s
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

04 Jan 2015 04:08PM UTC coverage: 78.073% (+0.01%) from 78.059%
289.3

push

travis-ci

Dariusz Rumiński
bug #955 ParenthesisFixer - fix case with list call with trailing comma (keradus)

This PR was merged into the 1.4 branch.

Discussion
----------

ParenthesisFixer - fix case with list call with trailing comma

Fix #930
Clone #952

Consider following code:
`<?php list($path, $mode,) = foo();`

If we run MethodArgumentSpaceFixer on it, it will add a space after comma:
`<?php list($path, $mode, ) = foo();`

Then if we run ParenthesisFixer it will remove that space:
`<?php list($path, $mode,) = foo();`

This PR change behavior of ParenthesisFixer - stop removing space if there is trailing comma.
Also added a tests for it in both fixers.

Commits
-------

0db8e07 ParenthesisFixer - fix case with list call with trailing comma

2496 of 3197 relevant lines covered (78.07%)

42.76 hits per line

Source Files on job 289.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 289
  • Travis Job 289.3
  • c3ac18eb on github
  • Prev Job for on 1.4 (#283.3)
  • Next Job for on 1.4 (#319.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