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

keradus / PHP-CS-Fixer / 609 / 4
85%
1.11: 82%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: 1.11
Ran 14 Apr 2015 06:25PM UTC
Files 123
Run time 5s
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

14 Apr 2015 08:37AM UTC coverage: 84.202% (+0.8%) from 83.418%
609.4

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

3635 of 4317 relevant lines covered (84.2%)

62.09 hits per line

Source Files on job 609.4
  • Tree
  • List 0
  • Changed 18
  • Source Changed 8
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 609
  • Travis Job 609.4
  • 495d7e65 on github
  • Prev Job for on 1.7 (#603.4)
  • Next Job for on 1.7 (#624.2)
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