Subject: [bug#67902] [PATCH 48/95] gnu: Add php-sebastian-object-enumerator.

From: Nicolas Graves <[email-masked]>
Date: Tue, 19 Dec 2023 14:57:29 +0100

* gnu/packages/php-xyz.scm (php-sebastian-object-enumerator): New variable.

Change-Id: I7117290def9ed314359a69c5aded24d7ae5e5158
---
 gnu/packages/php-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index c2bbaa061c..21bb663ee2 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -1218,3 +1218,27 @@ (define-public php-sebastian-lines-of-code
     (home-page "https://github.com/sebastianbergmann/lines-of-code")
     (license license:bsd-3)))
 
+(define-public php-sebastian-object-enumerator
+  (package
+    (name "php-sebastian-object-enumerator")
+    (version "4.0.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sebastianbergmann/object-enumerator")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1f3zghb32g2mrh2abkasi79y6cq1aisp2dam5hnv0y76sddkrsd6"))))
+    (build-system composer-build-system)
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (inputs
+     (list php-sebastian-recursion-context php-sebastian-object-reflector))
+    (synopsis "Enumerate PHP objects")
+    (description "This package allows PHP programs to traverse array structures
+and object graphs to enumerate all referenced objects.")
+    (home-page "https://github.com/sebastianbergmann/object-enumerator/")
+    (license license:bsd-3)))
+
-- 
2.41.0