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

extphprs / ext-php-rs / 23734960734
66%
master: 66%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/cache-6
DEFAULT BRANCH: master
Ran 30 Mar 2026 08:23AM UTC
Jobs 1
Files 89
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

30 Mar 2026 08:20AM UTC coverage: 65.904% (+0.8%) from 65.13%
23734960734

push

github

ptondereau
fix(stubs): add type declarations for properties (#184)

Properties declared via `#[prop]` or `#[getter]`/`#[setter]` now emit
typed PHP stubs instead of untyped `public $foo`.

- Extract `<T as IntoZval>::TYPE` and `::NULLABLE` (compile-time consts)
  in the proc macros for field properties and getter/setter methods
- Thread type info through `PropertyInfo` → `ClassBuilder` → `describe::Property`
- Emit `?type` prefix for nullable properties (`Option<T>`)
- Emit `readonly` keyword for getter-only properties (no setter)
- Emit `@var` PHPDoc tag only when Rust doc comments are present

Closes #184

281 of 315 new or added lines in 6 files covered. (89.21%)

8068 of 12242 relevant lines covered (65.9%)

32.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
24
68.2
-4.68% src/builders/module.rs
6
91.51
-1.63% crates/macros/src/impl_.rs
4
76.3
0.27% src/builders/class.rs
Jobs
ID Job ID Ran Files Coverage
1 23734960734.1 30 Mar 2026 08:23AM UTC 89
65.9
GitHub Action Run
Source Files on build 23734960734
  • Tree
  • List 89
  • Changed 7
  • Source Changed 6
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23734960734
  • c2e91159 on github
  • Prev Build on master (#23718993739)
  • Next Build on fix/184-property-type-stubs (#23735045124)
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