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

keradus / PHP-CS-Fixer / 660 / 2
94%
1.11: 82%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: 1.11
Ran 25 Apr 2015 03:40PM UTC
Files 133
Run time 2min
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

25 Apr 2015 03:37PM UTC coverage: 86.984% (+0.2%) from 86.828%
660.2

push

travis-ci

Dariusz Rumiński
minor #1102 Enhancement: List errors occurred before, during and after fixing (localheinz)

This PR was squashed before being merged into the 2.0-dev branch (closes #1102).

Discussion
----------

Enhancement: List errors occurred before, during and after fixing

This PR

* [x] moves a fixture into a sub-directory and updates the test using it, so we can add an invalid file which will not affect this test, but can be used in a different one
* [x] implements error as a value object
* [x] reports and lists pre-fixing linting errors as external errors

Related to #1100.

## Before

See https://travis-ci.org/localheinz/php-cs-fixer-demo/builds/59380234#L154.

```
$ vendor/bin/php-cs-fixer fix --config-file=.php_cs --diff --verbose --dry-run
Loaded config from ".php_cs"
I
Legend: ?-unknown, I-invalid file syntax, file ignored, S-Skipped, .-no changes, F-fixed, E-error
Fixed all files in 0.108 seconds, 6.750 MB memory used
The command "vendor/bin/php-cs-fixer fix --config-file=.php_cs --diff --verbose --dry-run" exited with 0.
```

#### :bulb: Note

> The command "vendor/bin/php-cs-fixer fix --config-file=.php_cs --diff --verbose --dry-run" exited with 0.

## After

See https://travis-ci.org/localheinz/php-cs-fixer-demo/builds/59380885#L159

```
$ vendor/bin/php-cs-fixer fix --config-file=.php_cs --diff --verbose --dry-run
Loaded config from ".php_cs"
I
Legend: ?-unknown, I-invalid file syntax, file ignored, S-Skipped, .-no changes, F-fixed, E-error
Fixed all files in 0.183 seconds, 6.750 MB memory used
Files that were not fixed due to errors reported during linting before fixing:
   1) src/Invalid.php
The command "vendor/bin/php-cs-fixer fix --config-file=.php_cs --diff --verbose --dry-run" exited with 0.
```

#### :bulb: Note

> The command "vendor/bin/php-cs-fixer fix --config-file=.php_cs --diff --verbose --dry-run" exited with 0.

Commits
-------

fced0cc Enhancement: List errors occurred before, during and after fixing

4043 of 4648 relevant lines covered (86.98%)

88.12 hits per line

Source Files on job 660.2
  • Tree
  • List 0
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 660
  • Travis Job 660.2
  • 9e212ed7 on github
  • Prev Job for on master (#621.2)
  • Next Job for on master (#672.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