@@ -141,14 +141,14 @@ public function migrateToDateTime(string $environment, DateTime $dateTime, bool
141141
142142 if ($ versionToMigrate === null ) {
143143 $ this ->getOutput ()->writeln (
144- 'No migrations to run '
144+ 'No migrations to run ' ,
145145 );
146146
147147 return ;
148148 }
149149
150150 $ this ->getOutput ()->writeln (
151- 'Migrating to version ' . $ versionToMigrate
151+ 'Migrating to version ' . $ versionToMigrate,
152152 );
153153 $ this ->migrate ($ environment , $ versionToMigrate , $ fake );
154154 }
@@ -220,7 +220,7 @@ public function markMigrated(int $version, string $path): bool
220220
221221 if (!$ migrationFile ) {
222222 throw new RuntimeException (
223- sprintf ('A migration file matching version number `%s` could not be found ' , $ version )
223+ sprintf ('A migration file matching version number `%s` could not be found ' , $ version ),
224224 );
225225 }
226226
@@ -309,16 +309,16 @@ public function markVersionsAsMigrated(string $path, array $versions, OutputInte
309309 try {
310310 $ this ->markMigrated ($ version , $ path );
311311 $ output ->writeln (
312- sprintf ('<info>Migration `%s` successfully marked migrated !</info> ' , $ version )
312+ sprintf ('<info>Migration `%s` successfully marked migrated !</info> ' , $ version ),
313313 );
314314 } catch (Exception $ e ) {
315315 $ adapter ->rollbackTransaction ();
316316 $ output ->writeln (
317317 sprintf (
318318 '<error>An error occurred while marking migration `%s` as migrated : %s</error> ' ,
319319 $ version ,
320- $ e ->getMessage ()
321- )
320+ $ e ->getMessage (),
321+ ),
322322 );
323323 $ output ->writeln ('<error>All marked migrations during this process were unmarked.</error> ' );
324324
0 commit comments