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

azjezz / psl / 18738760062
99%
next: 98%

Build:
Build:
LAST BUILD BRANCH: 5.5.0
DEFAULT BRANCH: next
Ran 23 Oct 2025 05:43AM 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:42AM UTC coverage: 98.538% (+0.08%) from 98.462%
18738760062

Pull #543

github

azjezz
feat: add reflection-based type functions for class members

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>
Pull Request #543: feat: add reflection-based type functions for class members

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

5797 of 5883 relevant lines covered (98.54%)

51.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 18738760062.1 23 Oct 2025 05:43AM UTC 791
98.54
GitHub Action Run
Source Files on build 18738760062
  • Tree
  • List 791
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #543
  • PR Base - next (#18583366721)
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