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

FriendsOfPHP / PHP-CS-Fixer / 3095
85%
master: 93%

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 14 Apr 2015 08:44AM UTC
Jobs 4
Files 123
Run time 56s
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
3095

push

travis-ci

keradus
bug #1151 Prevent token collection corruption by fixers (stof, keradus)

This PR was merged into the 1.7 branch.

Discussion
----------

Prevent token collection corruption by fixers

This prevents replacing token content with unrelated content (hacky fix) in places which should override tokens. Given that the Tokens collection is cached and will be reused by the following fixer, a corrupted collection could break the following fixer as it expects token types to be valid.

The goal is to prevent having to deal with cases like that: https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1097#discussion_r27307639

Replaces #1098

Commits
-------

f0583ad Fix collection corruption in fixers
2732e86 Prevent token collection corruption by fixers

3880 of 4556 relevant lines covered (85.16%)

181.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3095.1 14 Apr 2015 08:41AM UTC 0
83.65
Travis Job 3095.1
3 3095.3 14 Apr 2015 08:41AM UTC 0
84.09
Travis Job 3095.3
4 3095.4 14 Apr 2015 08:41AM UTC 0
84.2
Travis Job 3095.4
6 3095.6 14 Apr 2015 08:42AM UTC 0
76.98
Travis Job 3095.6
Source Files on build 3095
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3095
  • 495d7e65 on github
  • Prev Build on 1.7 (#3087)
  • Next Build on 1.7 (#3109)
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