66059[TASK] Fix phpstan checkFunctionArgumentTypes errors in ext:core Resource
Commit message
Review
-
Code review CR +2 Done
- Daniel Goerz +2
- Oliver Klee +1
-
Verified V +2 Done
- Daniel Goerz +2
- TYPO3com +1 CI
Issues 1
Files 16
- typo3/sysext/core/Classes/Resource/Driver/DriverRegistry.php+4 −1
- typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php3+8 −5
- typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php+3 −3
- typo3/sysext/core/Classes/Resource/Rendering/AudioTagRenderer.php+1 −1
- typo3/sysext/core/Classes/Resource/Rendering/VideoTagRenderer.php+1 −1
- typo3/sysext/core/Classes/Resource/Search/QueryRestrictions/SearchTermRestriction.php+1 −1
- typo3/sysext/core/Classes/Resource/Search/Result/FileSearchResult.php+1 −1
- typo3/sysext/core/Classes/Resource/Search/FileSearchQuery.php+6 −4
- typo3/sysext/core/Classes/Resource/Security/FileMetadataPermissionsAspect.php+3 −3
- typo3/sysext/core/Classes/Resource/Service/UserFileInlineLabelService.php+1 −1
- typo3/sysext/core/Classes/Resource/TextExtraction/PlainTextExtractor.php+1 −1
- typo3/sysext/core/Classes/Resource/Folder.php+1 −1
- typo3/sysext/core/Classes/Resource/ResourceCompressor.php+9 −9
- typo3/sysext/core/Classes/Resource/ResourceFactory.php+8 −8
- typo3/sysext/core/Classes/Resource/ResourceStorage.php+9 −7
- typo3/sysext/core/Classes/Resource/StorageRepository.php+2 −2
Review log 78
-
Daniel Goerz uploaded patch set 1 10/06/20, 14:52
-
Oliver Klee voted on patch set 1 CR +1 10/06/20, 15:10
-
TYPO3com voted on patch set 1 V +1 10/06/20, 15:13 Completed build in 17m 52s on Tue, 6 Oct, 03:13 PM Test Summary: 74820 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC104-584
-
Daniel Goerz voted on patch set 1 V +2 CR +2 10/06/20, 15:13
-
Daniel Goerz merged patch set 2 10/06/20, 15:13
-
Helmut Hummel commented on patch set 2 10/06/20, 17:04
-
Daniel Goerz commented on patch set 2 10/06/20, 18:12
LocalDriver.php:1237ReplyYou are right that this is a functional change as it returns false now for inaccessible or nonexistent folders. This change in behavior was unintended. My bad. It does not mute the PHP warning that is emitted when calling opendir() with an invalid path. I will fix this in the backport directly and return true instead, so the current behavior does not change. For master we can do the same and either add a log entry or even throw an exeption which of course would be breaking. What would be your suggestion/ expected behavior? -
Daniel Goerz commented on patch set 2 10/06/20, 18:14
LocalDriver.php:1237Reply UnresolvedForget the sentence about the backport, as this is already merged, I got ahead of myself -.- One can only process so many phpstan patches per day, I guess ...
LocalDriver.php:1237