From 12b0d46d5efacec2830e7233d911306c127a65bd Mon Sep 17 00:00:00 2001 From: Rougin Gutib Date: Sat, 19 Oct 2024 16:22:48 +0800 Subject: [PATCH] Fix styling issues in "migration.php" --- src/Manager.php | 4 ++-- tests/Fixture/Ciacme/config/migration.bak | 2 +- tests/Fixture/Ciacme/config/migration.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Manager.php b/src/Manager.php index b8f99bd..36cdab4 100644 --- a/src/Manager.php +++ b/src/Manager.php @@ -169,7 +169,7 @@ public function saveLatest($version) */ protected function startMigration() { - $this->setConfig('migration_enabled', 'true'); + $this->setConfig('migration_enabled', 'TRUE'); } /** @@ -177,7 +177,7 @@ protected function startMigration() */ protected function stopMigration() { - $this->setConfig('migration_enabled', 'false'); + $this->setConfig('migration_enabled', 'FALSE'); } /** diff --git a/tests/Fixture/Ciacme/config/migration.bak b/tests/Fixture/Ciacme/config/migration.bak index 03bc4b9..56e50cb 100644 --- a/tests/Fixture/Ciacme/config/migration.bak +++ b/tests/Fixture/Ciacme/config/migration.bak @@ -12,7 +12,7 @@ defined('BASEPATH') or exit('No direct script access allowed'); | and disable it back when you're done. | */ -$config['migration_enabled'] = true; +$config['migration_enabled'] = false; /* |-------------------------------------------------------------------------- diff --git a/tests/Fixture/Ciacme/config/migration.php b/tests/Fixture/Ciacme/config/migration.php index ecbc6f0..56e50cb 100644 --- a/tests/Fixture/Ciacme/config/migration.php +++ b/tests/Fixture/Ciacme/config/migration.php @@ -12,7 +12,7 @@ | and disable it back when you're done. | */ -$config['migration_enabled'] = FALSE; +$config['migration_enabled'] = false; /* |--------------------------------------------------------------------------