Subject: [PATCH v5 24/54] gnu: Add php-phpunit-php-file-iterator.

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

* gnu/packages/php-bootstrap.scm (php-phpunit-php-file-iterator): New variable.
---
 gnu/packages/php-bootstrap.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index 0fb149ac77..14c368a461 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -616,3 +616,26 @@ (define-public php-phpunit-php-code-coverage
 processing, and rendering functionality for PHP code coverage information.")
     (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.46.0