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

azjezz / psl / 18738863461
98%

Build:
DEFAULT BRANCH: next
Ran 23 Oct 2025 05:49AM UTC
Jobs 1
Files 791
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

23 Oct 2025 05:48AM UTC coverage: 98.572% (+0.1%) from 98.462%
18738863461

push

github

web-flow
feat: add reflection-based type functions for class members (#543)

add 13 new type functions for validating class member names:

- `method_name_of`, `constant_name_of`, `property_name_of`, `enum_case_of`
- Visibility variants: `public_*`, `protected_*`, `private_*` for methods, properties, and constants

These types validate that a string is a valid member name and optionally check visibility.

Method names are case-insensitive as per PHP semantics. All types return `TypeInterface<non-empty-string>`.

The goal of these types is to allow static analysis tools to understand that a generic string is a valid member name of a given class/enum.

closes #541, #542

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

292 of 292 new or added lines in 26 files covered. (100.0%)

5799 of 5883 relevant lines covered (98.57%)

51.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 18738863461.1 23 Oct 2025 05:49AM UTC 791
98.57
GitHub Action Run
Source Files on build 18738863461
  • Tree
  • List 791
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 148cb5fa on github
  • Prev Build on next (#18583366721)
  • Next Build on next (#18739016760)
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