From 6ffb4b4db1da067ca88f98d8164940a570c2b2af Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 14 May 2026 19:56:23 +0900 Subject: feat(port): port PartialSecurityAdvisory.php --- crates/shirabe-php-shim/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crates/shirabe-php-shim') diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs index 758dd1c..56b29e5 100644 --- a/crates/shirabe-php-shim/src/lib.rs +++ b/crates/shirabe-php-shim/src/lib.rs @@ -220,6 +220,10 @@ impl PharData { } } +pub trait JsonSerializable { + fn json_serialize(&self) -> PhpMixed; +} + pub fn class_exists(name: &str) -> bool { todo!() } -- cgit v1.3.1