From 1fa69465c7d7723b7952a0b64f4897ac56d90df8 Mon Sep 17 00:00:00 2001 From: mscherer Date: Sat, 30 Nov 2024 18:14:37 +0100 Subject: [PATCH] Fix escaping. --- src/Command/BakeSimpleMigrationCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Command/BakeSimpleMigrationCommand.php b/src/Command/BakeSimpleMigrationCommand.php index 955b736b..ba891eb3 100644 --- a/src/Command/BakeSimpleMigrationCommand.php +++ b/src/Command/BakeSimpleMigrationCommand.php @@ -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); }