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

azjezz / psl / 17692471180
98%
next: 98%

Build:
Build:
LAST BUILD BRANCH: precedence
DEFAULT BRANCH: next
Ran 13 Sep 2025 05:42AM UTC
Jobs 1
Files 765
Run time 2min
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

13 Sep 2025 05:41AM UTC coverage: 98.446% (-0.04%) from 98.481%
17692471180

push

github

azjezz
refactor: improve type inference for `Iter` and `Regex`

This commit refines the PHPDoc return types for several functions in the `Psl\Iter` and `Psl\Regex` namespaces to provide more accurate information to static analysis tools like Mago and Psalm.

By leveraging conditional types, Mago can now correctly infer non-nullable return types when operating on non-empty arrays and more precise match structures in regex functions.
This improves developer experience by reducing false positives and eliminating the need for redundant user-land assertions.

Signed-off-by: azjezz <azjezz@protonmail.com>

5510 of 5597 relevant lines covered (98.45%)

52.23 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
79.17
-8.33% src/Psl/DateTime/Internal/high_resolution_time.php
Jobs
ID Job ID Ran Files Coverage
1 17692471180.1 13 Sep 2025 05:42AM UTC 765
98.45
GitHub Action Run
Source Files on build 17692471180
  • Tree
  • List 765
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 13211aad on github
  • Prev Build on next (#17434738299)
  • Next Build on type-infer (#17692529561)
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