Commit ecb9ad9c authored by catch's avatar catch
Browse files

Issue #3317223 by mondrake, longwave: Fix RecursiveExtensionFilterIterator PHPStan L0 issues

(cherry picked from commit 23b444af)
parent f7a76585
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@ public function accept() {
    if ($name[0] == '.') {
      return FALSE;
    }
    if ($this->isDir()) {
    if ($this->current()->isDir()) {
      // If this is a subdirectory of a base search path, only recurse into the
      // fixed list of expected extension type directory names. Required for
      // scanning the top-level/root directory; without this condition, we would
+0 −5
Original line number Diff line number Diff line
@@ -245,11 +245,6 @@ parameters:
			count: 2
			path: lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php

		-
			message: "#^Call to an undefined method Drupal\\\\Core\\\\Extension\\\\Discovery\\\\RecursiveExtensionFilterIterator\\:\\:isDir\\(\\)\\.$#"
			count: 1
			path: lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterIterator.php

		-
			message: "#^Method Drupal\\\\Core\\\\Field\\\\FieldItemBase\\:\\:generateSampleValue\\(\\) should return array but return statement is missing\\.$#"
			count: 1