Commit 23b444af authored by catch's avatar catch
Browse files

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

parent 7f009300
Loading
Loading
Loading
Loading
+1 −1
Changes for core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterIterator.php: 1 added line, 1 removed line.
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
Changes for core/phpstan-baseline.neon: 0 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -235,11 +235,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