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

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

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: 1.11
Ran 04 Jan 2015 04:08PM UTC
Jobs 5
Files 89
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
289

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

2658 of 3359 relevant lines covered (79.13%)

169.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 289.1 04 Jan 2015 04:07PM UTC 0
77.67
Travis Job 289.1
2 289.2 04 Jan 2015 04:07PM UTC 0
77.95
Travis Job 289.2
3 289.3 04 Jan 2015 04:07PM UTC 0
78.07
Travis Job 289.3
4 289.4 04 Jan 2015 04:07PM UTC 0
78.07
Travis Job 289.4
5 289.5 04 Jan 2015 04:07PM UTC 0
69.09
Travis Job 289.5
Source Files on build 289
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #289
  • c3ac18eb on github
  • Prev Build on 1.4 (#283)
  • Next Build on 1.4 (#319)
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