Project

General

Profile

Actions

Bug #92498

closed

Behavior of LocalDriver->isFolderEmpty() changed unintendedly for invalid paths

Added by Daniel Goerz about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2020-10-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Yes
Sprint Focus:

Description

With #92264 the Behavior of the public function LocalDriver->isFolderEmpty() has been changed.
As this was an unintended change in behavior it should be corrected.

Reproduce:
  • Pass a path to a nonexisting folder to the function
  • function returns false

Before the patch it returned true


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #92264: Fix phpstan checkFunctionArgumentTypes errors in ext:core ResourceClosed2020-09-10

Actions
Actions

Also available in: Atom PDF