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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/cache-6
DEFAULT BRANCH: master
Ran 30 Mar 2026 08:13AM 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:10AM UTC coverage: 65.831% (+0.7%) from 65.13%
23734603938

Pull #705

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
Pull Request #705: fix(stubs): add type declarations for properties

248 of 276 new or added lines in 6 files covered. (89.86%)

46 existing lines in 2 files now uncovered.

8034 of 12204 relevant lines covered (65.83%)

32.13 hits per line

Uncovered Changes

Lines Coverage ∆ File
18
69.25
-3.62% src/builders/module.rs
6
91.51
-1.63% crates/macros/src/impl_.rs
4
76.21
0.18% src/builders/class.rs

Coverage Regressions

Lines Coverage ∆ File
33
76.21
0.18% src/builders/class.rs
13
69.25
-3.62% src/builders/module.rs
Jobs
ID Job ID Ran Files Coverage
1 23734603938.1 30 Mar 2026 08:13AM UTC 89
65.83
GitHub Action Run
Source Files on build 23734603938
  • 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 #23734603938
  • Pull Request #705
  • PR Base - master (#23718993739)
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