Skip to content

Commit 9699baf

Browse files
committed
testsuite fixes
1 parent ab4bd7d commit 9699baf

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22

33
on:
44
push:
5-
branches: [3.x, 4.x, 5.x]
5+
branches: [3.x, 4.x, 5.x, 6.x]
66
pull_request:
77
branches: ['*']
88
workflow_dispatch:

src/Command/FileRenameCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ protected function renameSubFolders(string $path): void
196196
$folders = ['Layout', 'Element', 'Cell', 'Email', 'Plugin', 'Flash'];
197197

198198
foreach ($folders as $folder) {
199+
if (!is_dir($path . '/' . $folder)) {
200+
continue;
201+
}
199202
$dirIter = new RecursiveDirectoryIterator(
200203
$path,
201204
RecursiveDirectoryIterator::UNIX_PATHS,

0 commit comments

Comments
 (0)