From 21c418304585bde9bea91008766a21be851f7ea2 Mon Sep 17 00:00:00 2001 From: primus852 Date: Mon, 8 Jul 2019 16:16:56 +0200 Subject: [PATCH] Higher visibility for updated or created entities --- src/FileManager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/FileManager.php b/src/FileManager.php index 4ff2810cf..c687cc641 100644 --- a/src/FileManager.php +++ b/src/FileManager.php @@ -61,16 +61,16 @@ public function dumpFile(string $filename, string $content) $newFile = !$this->fileExists($filename); $existingContent = $newFile ? '' : file_get_contents($absolutePath); - $comment = $newFile ? 'created' : 'updated'; + $comment = $newFile ? 'created' : 'updated'; if ($existingContent === $content) { - $comment = 'no change'; + $comment = 'no change'; } $this->fs->dumpFile($absolutePath, $content); if ($this->io) { $this->io->comment(sprintf( - '%s: %s', + '%s: %s', $comment, $this->relativizePath($filename) ));