Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 726000a

Browse files
committed
bug EasyCorp#54 Fix EasyCorp#42 - Invalid argument supplied for foreach (cve)
This PR was merged into the 1.0.x-dev branch. Discussion ---------- Fix EasyCorp#42 - Invalid argument supplied for foreach Warning: Invalid argument supplied for foreach() Commits ------- c235bd0 Fix EasyCorp#42 - Invalid argument supplied for foreach when no shared files and dirs setup
2 parents 2ac5631 + c235bd0 commit 726000a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Configuration/DefaultConfiguration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ final class DefaultConfiguration extends AbstractConfiguration
5454
private $permissionMode = '0777';
5555
private $permissionUser;
5656
private $permissionGroup;
57-
private $sharedFiles;
58-
private $sharedDirs;
57+
private $sharedFiles = [];
58+
private $sharedDirs = [];
5959
private $resetOpCacheFor;
6060

6161
public function __construct(string $localProjectDir)

0 commit comments

Comments
 (0)