Subject: [PATCH 20/95] gnu: Add php-phpdocumentor-reflection-common.

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

* gnu/packages/php-xyz.scm (php-phpdocumentor-reflection-common): New variable.

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

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 87889eae11..5bcae5d4ed 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -537,3 +537,25 @@ (define-public php-phar-io-version
     (home-page "https://phar.io")
     (license license:bsd-3)))
 
+(define-public php-phpdocumentor-reflection-common
+  (package
+    (name "php-phpdocumentor-reflection-common")
+    (version "2.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/phpDocumentor/ReflectionCommon")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1q685cpwbfxqy42iz61xxv6zbcc1qskn07nkipflj6c5s935l8jy"))))
+    (build-system composer-build-system)
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (synopsis "Common reflection classes for phpdocumentor")
+    (description "This package contains common classes used by phpdocumentor
+to analyze the code structure.")
+    (home-page "http://www.phpdoc.org")
+    (license license:expat)))
+
-- 
2.41.0