summaryrefslogtreecommitdiffstats
path: root/php-file-iterator-php8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-file-iterator-php8.patch')
-rw-r--r--php-file-iterator-php8.patch11
1 files changed, 11 insertions, 0 deletions
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();