From 90b9016133eb0a9f2e2fa63591cb6f2cc023f90e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 31 Mar 2023 09:02:19 +0200 Subject: minimal fix for PHP 8 --- php-file-iterator-php8.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 php-file-iterator-php8.patch (limited to 'php-file-iterator-php8.patch') diff --git a/php-file-iterator-php8.patch b/php-file-iterator-php8.patch new file mode 100644 index 0000000..4d96826 --- /dev/null +++ b/php-file-iterator-php8.patch @@ -0,0 +1,11 @@ +diff -up ./File/Iterator.php.old ./File/Iterator.php +--- ./File/Iterator.php.old 2023-03-31 08:58:25.848491706 +0200 ++++ ./File/Iterator.php 2023-03-31 08:58:39.908447317 +0200 +@@ -73,6 +73,7 @@ class File_Iterator extends FilterIterat + /** + * @return bool + */ ++ #[\ReturnTypeWillChange] + public function accept() + { + $current = $this->getInnerIterator()->current(); -- cgit