Skip to content

Commit 51a7373

Browse files
authored
feat: ensure cache.default will alway default to array (#106)
3118093 Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent 6df48c0 commit 51a7373

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bin/sync

+5
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,8 @@ transform([
5151
Queue::createPayloadUsing(null);
5252
}'.PHP_EOL, 2),
5353
], fn ($changes) => $files->replaceInFile(array_keys($changes), array_values($changes), "{$workingPath}/src/Illuminate/Foundation/Testing/Concerns/InteractsWithTestCaseLifecycle.php"));
54+
55+
// Configure `config/cache.php` file
56+
transform([
57+
line("'default' => env('CACHE_STORE', 'database'),", 1) => line("'default' => env('CACHE_STORE', 'array'),", 1),
58+
], fn ($changes) => $files->replaceInFile(array_keys($changes), array_values($changes), "{$workingPath}/config/cache.php"));

0 commit comments

Comments
 (0)