mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
Merge pull request #31314 from nextcloud/backport/31309/stable22
[stable22] Avoid PHP errors in the checkers drone step
This commit is contained in:
commit
c31e9583cd
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ foreach ($directories as $dir) {
|
|||
$it = new \RecursiveDirectoryIterator($dir);
|
||||
|
||||
foreach (new RecursiveIteratorIterator($it) as $file) {
|
||||
if ($file->getExtension() === 'map') {
|
||||
if (($file->getExtension() === 'map') || $file->isDir()) {
|
||||
continue;
|
||||
}
|
||||
$content = file_get_contents($file->getPathname());
|
||||
|
|
|
|||
Loading…
Reference in a new issue