Skip to content

Commit

Permalink
Merge pull request #6311 from barmax/deprecated-flag-type
Browse files Browse the repository at this point in the history
Fix message about deprecated in build-stage
  • Loading branch information
Naktibalda committed Jan 5, 2022
2 parents dcfc92e + f67d29d commit 04033cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Codeception/Command/Shared/FileSystem.php
Expand Up @@ -43,7 +43,7 @@ protected function removeSuffix($classname, $suffix)
return preg_replace("~$suffix$~", '', $classname);
}

protected function createFile($filename, $contents, $force = false, $flags = null)
protected function createFile($filename, $contents, $force = false, $flags = 0)
{
if (file_exists($filename) && !$force) {
return false;
Expand Down

0 comments on commit 04033cd

Please sign in to comment.