From af30b7119df25a0967eac927f526c079ba1bb961 Mon Sep 17 00:00:00 2001 From: Dennis Elsinga Date: Mon, 9 Sep 2024 15:56:14 +0200 Subject: [PATCH 1/4] Add `dd` `dump` `ray` arch test --- tests/Feature/ArchTest.php | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/Feature/ArchTest.php diff --git a/tests/Feature/ArchTest.php b/tests/Feature/ArchTest.php new file mode 100644 index 0000000..e6ef00f --- /dev/null +++ b/tests/Feature/ArchTest.php @@ -0,0 +1,5 @@ +expect(['dd', 'dump', 'ray']) + ->not->toBeUsed(); \ No newline at end of file From b393d14db8d7ab73179cd5eaba356b2a552f8e85 Mon Sep 17 00:00:00 2001 From: Dennis Elsinga Date: Mon, 9 Sep 2024 15:57:42 +0200 Subject: [PATCH 2/4] Add Archtest for architectural testing --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c2c59f3..b555e1e 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ Kickstart your project and save time with Larament! This time-saving starter kit - A custom profile page utilizes the password generation feature for streamlined user management. - A ready-to-use custom theme includes a sidebar separator for better UI organization. - All component labels are automatically translatable, so there’s no need to add `->translateLabel()` to individual components. +- Archtest is included for architectural testing. ## [Helpers](https://laravel-news.com/creating-helpers) I've set up a Helper file for you to use in your Laravel app. You can find it at `app\Helpers.php`. This file is ready for you to add your custom helper functions, which Composer will automatically include in your project. From 415d55a9a98e75f0d798b91645d09fd1111e2e73 Mon Sep 17 00:00:00 2001 From: CodeWithDennis Date: Mon, 9 Sep 2024 14:00:21 +0000 Subject: [PATCH 3/4] Fixes coding style --- tests/Feature/ArchTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/ArchTest.php b/tests/Feature/ArchTest.php index e6ef00f..1db75a5 100644 --- a/tests/Feature/ArchTest.php +++ b/tests/Feature/ArchTest.php @@ -2,4 +2,4 @@ test('Not debugging statements are left in our code.') ->expect(['dd', 'dump', 'ray']) - ->not->toBeUsed(); \ No newline at end of file + ->not->toBeUsed(); From aab22413d661c6ba08558a7b2178cf716a8e8817 Mon Sep 17 00:00:00 2001 From: Dennis Elsinga Date: Mon, 9 Sep 2024 16:01:45 +0200 Subject: [PATCH 4/4] Restart workflow