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

MyIntervals / emogrifier / 10862503830
96%

Build:
DEFAULT BRANCH: main
Ran 14 Sep 2024 12:44PM UTC
Jobs 1
Files 11
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 Sep 2024 12:43PM UTC coverage: 97.283% (+2.5%) from 94.785%
10862503830

push

github

web-flow
[CLEANUP] Add class for `preg_ function` error handling (#1308)

The new class uses functionality that previously existed in `CssInliner`.
The `preg_replace` wrapper is extended to also support arrays as the `$pattern`
and `$replacement` parameters, and to support the `$limit` and `$count`
parameters.  A `preg_replace_callback` wrapper is also added.

With these methods in a separate class, they can be independently tested,
which is duly done.

All calls to `preg_replace` and `preg_replace_callback` are changed to use the
new class.  This resolves a number of PHPStan errors.

Also extend tests of whether exception is thrown to cover both methods.

49 of 49 new or added lines in 4 files covered. (100.0%)

752 of 773 relevant lines covered (97.28%)

280.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10862503830.1 14 Sep 2024 12:44PM UTC 0
97.28
GitHub Action Run
Source Files on build 10862503830
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #10862503830
  • deefcc41 on github
  • Prev Build on main (#10862243457)
  • Next Build on main (#10869706087)
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