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

FriendsOfPHP / PHP-CS-Fixer / 21769 / 7
89%
master: 93%

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 19 Oct 2020 09:32AM UTC
Files 391
Run time 1min
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

19 Oct 2020 09:05AM UTC coverage: 91.705% (-0.005%) from 91.71%
DEFAULT_COMPOSER_FLAGS="--optimize-autoloader --no-interaction --no-progress" COMPOSER_FLAGS=""

push

travis-ci

SpacePossum
minor #5174 Corrected linting error messages (GrahamCampbell)

This PR was merged into the 2.15 branch.

Discussion
----------

Corrected linting error messages

The reason for the trimming of the error message and the prefix normalisation is because the PHP parser, when compiled on macos vs linux, has different error messages and also additional whitespace at the start:

```
 ✘ graham@Grahams-MacBook-Pro  ~  php -l test.php

Parse error: syntax error, unexpected end of file, expecting '{' in test.php on line 4
Errors parsing test.php
 ✘ graham@Grahams-MacBook-Pro  ~  php -l test2.php

Fatal error: Multiple access type modifiers are not allowed in test2.php on line 5
 ✘ graham@Grahams-MacBook-Pro  ~  php74 -l test.php
PHP Parse error:  syntax error, unexpected end of file, expecting '{' in test.php on line 4
Errors parsing test.php
 ✘ graham@Grahams-MacBook-Pro  ~  php74 -l test2.php
PHP Fatal error:  Multiple access type modifiers are not allowed in test2.php on line 5
```

`php` is running macos php, and `php74` is running in docker (linux).

Commits
-------

3d0058b73 Corrected linting error messages

15069 of 16432 relevant lines covered (91.71%)

36.32 hits per line

Source Files on job 21769.7 (DEFAULT_COMPOSER_FLAGS="--optimize-autoloader --no-interaction --no-progress" COMPOSER_FLAGS="")
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16638
  • Travis Job 21769.7
  • c0967136 on github
  • Prev Job for DEFAULT_COMPOSER_FLAGS="--optimize-autoloader --no-interaction --no-progress" COMPOSER_FLAGS="" on 2.15 (#21763.7)
  • Next Job for DEFAULT_COMPOSER_FLAGS="--optimize-autoloader --no-interaction --no-progress" COMPOSER_FLAGS="" on 2.15 (#21775.7)
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