From 5cb9d460d7dc6704da6e535d16608d533e0e89b3 Mon Sep 17 00:00:00 2001 From: brendt Date: Sat, 25 May 2024 08:00:11 +0200 Subject: [PATCH] Cleanup --- log/debug.log | 11 +++++++++++ src/Commands/LogCommands.php | 6 ------ tests/Fixtures/LogDebugCommand.php | 15 +++++++++++++++ 3 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 tests/Fixtures/LogDebugCommand.php diff --git a/log/debug.log b/log/debug.log index fef80b0..d8b3298 100644 --- a/log/debug.log +++ b/log/debug.log @@ -1094,3 +1094,14 @@ [time] 1716616624 +[a] +array:1 [ + "a" => 123 +] + +[b] +"abc" + +[time] +1716616793 + diff --git a/src/Commands/LogCommands.php b/src/Commands/LogCommands.php index aa1796e..641351a 100644 --- a/src/Commands/LogCommands.php +++ b/src/Commands/LogCommands.php @@ -76,10 +76,4 @@ public function debug(): void $offset = $newOffset; } } - - #[ConsoleCommand('log')] - public function log(): void - { - lw(a: ['a' => 123], b: 'abc', time: time()); - } } diff --git a/tests/Fixtures/LogDebugCommand.php b/tests/Fixtures/LogDebugCommand.php new file mode 100644 index 0000000..c2be161 --- /dev/null +++ b/tests/Fixtures/LogDebugCommand.php @@ -0,0 +1,15 @@ + 123], b: 'abc', time: time()); + } +} \ No newline at end of file