Skip to content

Commit

Permalink
bug #54 Fix #42 - Invalid argument supplied for foreach (cve)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.0.x-dev branch.

Discussion
----------

Fix #42 - Invalid argument supplied for foreach

 Warning: Invalid argument supplied for foreach()

Commits
-------

c235bd0 Fix #42 - Invalid argument supplied for foreach when no shared files and dirs setup
  • Loading branch information
javiereguiluz committed Apr 21, 2018
2 parents 2ac5631 + c235bd0 commit 726000a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Configuration/DefaultConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ final class DefaultConfiguration extends AbstractConfiguration
private $permissionMode = '0777';
private $permissionUser;
private $permissionGroup;
private $sharedFiles;
private $sharedDirs;
private $sharedFiles = [];
private $sharedDirs = [];
private $resetOpCacheFor;

public function __construct(string $localProjectDir)
Expand Down

0 comments on commit 726000a

Please sign in to comment.