From 227256b9367484afd8d0f4044f7fe8ae50e73036 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Mon, 5 Apr 2021 16:53:47 +0200 Subject: [PATCH] fix phpstan issue --- src/Finder.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Finder.php b/src/Finder.php index 2c5dbbeefb7..fadf1829d10 100644 --- a/src/Finder.php +++ b/src/Finder.php @@ -38,6 +38,7 @@ public function getIterator() $this->name('~^'.$configFilenameRegex.'$~is'); $fx = \Closure::bind(function () { // rebound function can be called without assigment as of PHP 7 + // @phpstan-ignore-next-line, see https://github.com/phpstan/phpstan/issues/4808 return $this->ignore & static::IGNORE_DOT_FILES; }, $this, parent::class); $isDotFilesIgnored = $fx();