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

keradus / PHP-CS-Fixer / 2140 / 3
93%
1.11: 82%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: 1.11
Ran 12 Nov 2016 11:16PM UTC
Files 233
Run time 9s
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

12 Nov 2016 09:08PM UTC coverage: 88.731% (+0.07%) from 88.666%
SKIP_LINT_TEST_CASES=1

push

travis-ci

keradus
minor #2291 Make fixers ready to use directly after creation (keradus)

This PR was merged into the 2.0-dev branch.

Discussion
----------

Make fixers ready to use directly after creation

Currently, if fixer is configurable then it's config claims to be an array, but actually it's a null until someone will call `configure`, so calling `->fix` will crash the execution.. This is bad and after mine change a default configuration is in use directly after instance creation.

Exception is header comment fixer, as the only possible default configuration is to drop the header, which is very dangerous.

Commits
-------

e47ce9f Make fixers ready to use directly after creation

7677 of 8652 relevant lines covered (88.73%)

262.77 hits per line

Source Files on job 2140.3 (SKIP_LINT_TEST_CASES=1)
  • Tree
  • List 0
  • Changed 23
  • Source Changed 6
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2140
  • Travis Job 2140.3
  • 74c223cd on github
  • Prev Job for SKIP_LINT_TEST_CASES=1 on master (#2129.3)
  • Next Job for SKIP_LINT_TEST_CASES=1 on master (#2153.3)
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