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

davidcole1340 / ext-php-rs / 14649493721

24 Apr 2025 06:56PM CUT coverage: 14.14% (+0.01%) from 14.129%
14649493721

Pull #426

github

Xenira
refactor(macro): use `#[php]` attribute for startup function

This unifies the behaviour of the `#[php_module]` macro and the other `#[php_*]` macros.

Refs: #423
Pull Request #426: refactor(macro): use `#[php]` attribute for startup function

0 of 5 new or added lines in 2 files covered. (0.0%)

1 existing line in 1 file now uncovered.

553 of 3911 relevant lines covered (14.14%)

1.3 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/crates/cli/src/main.rs
1
//! # `cargo-php` CLI
2
//!
3
//! Installs extensions and generates stub files for PHP extensions generated
4
//! with `ext-php-rs`. Use `cargo php --help` for more information.
5

6
/// Mock macro for the `allowed_bindings.rs` script.
7
#[cfg(not(windows))]
8
macro_rules! bind {
9
    ($($s: ident),*) => {
10
        cargo_php::stub_symbols!($($s),*);
11
    }
12
}
13

14
#[cfg(not(windows))]
15
include!("../allowed_bindings.rs");
16

17
fn main() -> cargo_php::CrateResult {
×
18
    cargo_php::run()
×
19
}
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