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

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

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: 1.11
Ran 12 Nov 2016 11:08PM UTC
Files 233
Run time 11s
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: 86.442% (+0.05%) from 86.388%
SKIP_LINT_TEST_CASES=1 COMPOSER_FLAGS="--prefer-stable --prefer-lowest"

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

7498 of 8674 relevant lines covered (86.44%)

249.55 hits per line

Source Files on job 2140.1 (SKIP_LINT_TEST_CASES=1 COMPOSER_FLAGS="--prefer-stable --prefer-lowest")
  • 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.1
  • 74c223cd on github
  • Prev Job for SKIP_LINT_TEST_CASES=1 COMPOSER_FLAGS="--prefer-stable --prefer-lowest" on master (#2129.1)
  • Next Job for SKIP_LINT_TEST_CASES=1 COMPOSER_FLAGS="--prefer-stable --prefer-lowest" on master (#2153.1)
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