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

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

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 14 Oct 2020 09:34AM 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
21693

push

travis-ci

SpacePossum
bug #5068 Fixed php-cs-fixer crashes on input file syntax error (GrahamCampbell)

This PR was merged into the 2.15 branch.

Discussion
----------

Fixed php-cs-fixer crashes on input file syntax error

1. Some tokenizing lintier errors on PHP 7.0-7.2 cause the entire PHP process to fatal error. This was fixed in PHP 7.3, and so we should only use this linter on PHP 7.3 (catching the new type of error it can raise, instead of crashing).
2. The above change highlighted the fact that some of the code samples in the tests are only valid on PHP 5, or are not valid at all. Those that are not valid on PHP 7, but are valid on PHP 5, I've updated to only run on PHP 5. Those that are not valid syntax, but can be corrected, I have corrected. Those that are just totally incorrect, have been removed.

---

Closes #5067.

Commits
-------

3502c8af7 - Detect compile errors correctly - Fixed invalid syntax of test cases

15056 of 16417 relevant lines covered (91.71%)

36.37 hits per line

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