Subject: [bug#67902] [PATCH v5 36/54] gnu: Add php-sebastian-code-unit-reverse-lookup.

From: Nicolas Graves <[email-masked]>
Date: Fri, 18 Oct 2024 01:05:59 +0200

* gnu/packages/php-bootstrap.scm (php-sebastian-code-unit-reverse-lookup): New variable.
---
 gnu/packages/php-bootstrap.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index 63ff86349d..1fabfaf908 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -870,3 +870,25 @@ (define-public php-sebastian-code-unit
 represent the PHP code units.")
     (home-page "https://github.com/sebastianbergmann/code-unit")
     (license license:bsd-3)))
+
+(define-public php-sebastian-code-unit-reverse-lookup
+  (package
+    (name "php-sebastian-code-unit-reverse-lookup")
+    (version "2.0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sebastianbergmann/code-unit-reverse-lookup")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1zb5lwi46fgarrlbbbxp93md7wfwaxlrmrzvmrmxfqjmxjncpyp0"))))
+    (build-system composer-build-system)
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (synopsis "Look up function name from location")
+    (description "This package provides a facility to look up which function or
+method a line of code belongs to in PHP.")
+    (home-page "https://github.com/sebastianbergmann/code-unit-reverse-lookup")
+    (license license:bsd-3)))
-- 
2.46.0