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

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

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 12 Nov 2020 08:30AM UTC
Jobs 1
Files 427
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
22183

push

travis-ci-com

keradus
minor #5236 Improve handling of unavailable code samples (julienfalque, keradus)

This PR was merged into the 2.15 branch.

Discussion
----------

Improve handling of unavailable code samples

Ref: https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/5209#issuecomment-720163602

When a code sample cannot be generated because the command runs on the wrong PHP version, the command will try to find it in the existing documentation file in case it was already generated in a previous run on the expected PHP version.

This might have weird results in case this happens when code samples are added or removed, but I think it's a better DX than to manually revert all _"Cannot generate diff..."_ that get added on every run.

Commits
-------

d7f33fac5 DocumentationGenerator - make re-using of previously generated docs mechanism available not only for tests, but also for DocumentationCommand
d3a21bb44 Improve handling of unavailable code samples

15015 of 16796 relevant lines covered (89.4%)

35.66 hits per line

Jobs
ID Job ID Ran Files Coverage
7 22183.7 (DEFAULT_COMPOSER_FLAGS="--optimize-autoloader --no-interaction --no-progress" COMPOSER_FLAGS="") 12 Nov 2020 08:24AM UTC 0
89.4
Travis Job 22183.7
Source Files on build 22183
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #22183
  • a618eee2 on github
  • Prev Build on 2.15 (#22114)
  • Next Build on 2.15 (#22222)
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

© 2025 Coveralls, Inc