Subject: [PATCH 26/95] gnu: Add php-phpunit-php-file-iterator.

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

* gnu/packages/php-xyz.scm (php-phpunit-php-file-iterator): New variable.

Change-Id: I489c9ff48dbe98d174ed5bc33add2788b343f6a0
---
 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 2fddac6c77..2c26699230 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -720,3 +720,25 @@ (define-public php-phpunit-php-code-coverage
     (home-page "https://github.com/sebastianbergmann/php-code-coverage")
     (license license:bsd-3)))
 
+(define-public php-phpunit-php-file-iterator
+  (package
+    (name "php-phpunit-php-file-iterator")
+    (version "3.0.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sebastianbergmann/php-file-iterator")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0s5n9z3a50n2vclb14l89ifvgh9amffig2y34h1yslzas07ar22w"))))
+    (build-system composer-build-system)
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (synopsis "Filter file by extension")
+    (description "This package contains a @code{FilterIterator} implementation
+that filters files based on a list of suffixes.")
+    (home-page "https://github.com/sebastianbergmann/php-file-iterator/")
+    (license license:bsd-3)))
+
-- 
2.41.0