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

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

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

14 Oct 2020 09:15AM UTC coverage: 91.71% (-0.01%) from 91.72%
DEFAULT_COMPOSER_FLAGS="--optimize-autoloader --no-interaction --no-progress" COMPOSER_FLAGS=""

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

Source Files on job 21693.7 (DEFAULT_COMPOSER_FLAGS="--optimize-autoloader --no-interaction --no-progress" COMPOSER_FLAGS="")
  • Tree
  • List 0
  • Changed 14
  • Source Changed 2
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16611
  • Travis Job 21693.7
  • b6f3e4f9 on github
  • Prev Job for DEFAULT_COMPOSER_FLAGS="--optimize-autoloader --no-interaction --no-progress" COMPOSER_FLAGS="" on 2.15 (#21671.7)
  • Next Job for DEFAULT_COMPOSER_FLAGS="--optimize-autoloader --no-interaction --no-progress" COMPOSER_FLAGS="" on 2.15 (#21694.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