diff --git a/CHANGELOG.md b/CHANGELOG.md index 6eb713e..f8c68bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.5 - 2021-05-12 +- Update craft-auto-migrate to use `project-config/apply` +- Code style cleanup + ## 1.0.4 - 2021-04-08 - Don't throw exception if no local volumes exist - Remove DB_TABLE_PREFIX check diff --git a/composer.json b/composer.json index ad131b2..157d30b 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "symfony/process": "^4.2 | ^5.0", "vlucas/phpdotenv": "^2.5.1 | ^3.4.0", "symfony/yaml": "^4.2 | ^5.0", - "fortrabbit/craft-auto-migrate":"^2.2.0" + "fortrabbit/craft-auto-migrate":"^2.3.0" }, "require-dev": { "phpstan/phpstan": "^0.12", diff --git a/src/Actions/SetupAction.php b/src/Actions/SetupAction.php index 94cedb7..812c8a2 100644 --- a/src/Actions/SetupAction.php +++ b/src/Actions/SetupAction.php @@ -40,7 +40,7 @@ class SetupAction extends Action public function run() { $this->input->setInteractive(true); - $app = $this->ask("What's the name of your fortrabbit App?", ""); + $app = $this->ask("What's the name of your fortrabbit App?", ''); $this->input->setInteractive($this->interactive); if (strlen($app) < 3 || strlen($app) > 16) { diff --git a/src/Actions/VolumesUpAction.php b/src/Actions/VolumesUpAction.php index bed375e..8097eb1 100644 --- a/src/Actions/VolumesUpAction.php +++ b/src/Actions/VolumesUpAction.php @@ -65,7 +65,6 @@ public function run(?string $stage = null, ?array $volumeHandles = null) return ExitCode::OK; } - foreach ($volumes as $volume) { $path = $this->prepareForRsync($volume->path);