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

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

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

pending completion
21769

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

Jobs
ID Job ID Ran Files Coverage
7 21769.7 (DEFAULT_COMPOSER_FLAGS="--optimize-autoloader --no-interaction --no-progress" COMPOSER_FLAGS="") 19 Oct 2020 09:25AM UTC 0
91.71
Travis Job 21769.7
Source Files on build 21769
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #21769
  • c0967136 on github
  • Prev Build on 2.15 (#21763)
  • Next Build on 2.15 (#21775)
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