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

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

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

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

4223 of 4817 relevant lines covered (87.67%)

350.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 660.1 25 Apr 2015 03:34PM UTC 0
86.7
Travis Job 660.1
2 660.2 25 Apr 2015 03:34PM UTC 0
86.98
Travis Job 660.2
3 660.3 25 Apr 2015 03:34PM UTC 0
87.11
Travis Job 660.3
4 660.4 25 Apr 2015 03:34PM UTC 0
87.22
Travis Job 660.4
6 660.6 25 Apr 2015 03:35PM UTC 0
81.21
Travis Job 660.6
Source Files on build 660
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #660
  • 9e212ed7 on github
  • Prev Build on master (#621)
  • Next Build on master (#672)
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