Skip to content

Commit

Permalink
Merge pull request #782 from cakephp/4.x-fix-escaping
Browse files Browse the repository at this point in the history
Revert glob escaping.
  • Loading branch information
markstory authored Dec 1, 2024
2 parents e78bcc0 + 1fa6946 commit 4f7e770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/BakeSimpleMigrationCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function fileName($name): string
/** @psalm-suppress PossiblyNullArgument */
$path = $this->getPath($this->args);
$offset = 0;
while (glob($path . $timestamp . '_*\\.php')) {
while (glob($path . $timestamp . '_*.php')) {
$timestamp = Util::getCurrentTimestamp(++$offset);
}

Expand Down

0 comments on commit 4f7e770

Please sign in to comment.