From e4325de6958db780b2a3fb21443b35d3b5451982 Mon Sep 17 00:00:00 2001 From: Swapnil Sarwe Date: Sat, 21 Mar 2026 18:47:56 +0530 Subject: [PATCH] laravel 13 compatibility --- .composer.json.swp | Bin 12288 -> 0 bytes .github/workflows/tests.yml | 20 ++++++++++++++++++-- composer.json | 8 ++++---- tests/CompilesIconsTest.php | 10 +++++----- 4 files changed, 27 insertions(+), 11 deletions(-) delete mode 100644 .composer.json.swp diff --git a/.composer.json.swp b/.composer.json.swp deleted file mode 100644 index c7dd90e875272b3f0015505acaa0096077f3e421..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI2zmMER6vrn>NI(c6Xi%zQpaGrjJuV3$6o`Z71ScVFE=}%Mnzd(dCu@70nekp$ z;XnfZhDeBxjtWsBQBhHVM1xWhS_%Y66zL-1`)u#-CAqs4RG_i+^^fuMd-FbiV`;T- z*t@i`$zP3o4BJzTef7mH_2I8CKJxo-jJZ8ol{$|d-8*L6lAG__b6you-HxTEsEkuKzT!-IWUz1}5C{a8 z1ZqEu&YxmyFRwOB{dw^mf9C0}<^6CL2m}IwKp+qZ1OkCTAP@)y0{?pgzB<7^K$Z`6 znV##8C+<0Rm*Efy1OkCTAP@)y0)apv5C{YUfj}S-2m}KEK>{*k?DC_Gz5N&_kN^MY zzyJSwlCdA50$PLqe1fr`pzok>piiMOv;*~_9`yGq#%@D@KtDr2K%YScbOqXiUV!dA z&e-?RC(sS(W9TaMI&>C_p=Y6opBYKBvaGQ*M4h8!G$x{N9abK$X!Lw$xG`WO{gQii=j5&frr{`>2cb2 zSaVqH#G58l(ywiAuTwW`ziD9I+Mu4+Lx%dwPIao@wPva_WtT|EpQyTFn%QMG42yMI8iwpomsdLvi2r7GK&b?0~s8fGevVYeQ>NM z&Vk7b6bzLB6;4wMa5O-_@_U2TUVIk&)wm}J%94z+=@>a$nNURyRhf<{{NNRO>OAf6 zd{+kaq)6MBMIlg{&d>6u48(wZudv1aWoL4X(RaOkeGRu#7LD;+WW+C#RTq_Rx8dmQ zKYh0|L!kcwYXKk-KoxRho(~dhnLG4!zr9+_K;N6FZ zd&8AsK-Pc2KUGkZ!E$mC3A diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d2e57f5..6533704 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,8 +10,8 @@ jobs: strategy: fail-fast: true matrix: - php: [7.4, '8.0', 8.1, 8.2, 8.3, 8.4] - laravel: [8, 9, 10, 11, 12] + php: [7.4, '8.0', 8.1, 8.2, 8.3, 8.4, 8.5] + laravel: [8, 9, 10, 11, 12, 13] exclude: - php: 7.4 laravel: 9 @@ -43,6 +43,22 @@ jobs: laravel: 9 - php: 8.4 laravel: 10 + - php: 8.5 + laravel: 8 + - php: 8.5 + laravel: 9 + - php: 8.5 + laravel: 10 + - php: 8.5 + laravel: 11 + - php: 7.4 + laravel: 13 + - php: '8.0' + laravel: 13 + - php: 8.1 + laravel: 13 + - php: 8.2 + laravel: 13 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} diff --git a/composer.json b/composer.json index 4aa7e6d..1bb5728 100644 --- a/composer.json +++ b/composer.json @@ -17,13 +17,13 @@ "require": { "php": "^7.4|^8.0", "blade-ui-kit/blade-icons": "^1.1", - "illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0" + "illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0|^13.0" }, "require-dev": { - "codeat3/blade-icon-generation-helpers": "^0.10", + "codeat3/blade-icon-generation-helpers": "^0.12", "codeat3/phpcs-styles": "^1.0", - "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0", - "phpunit/phpunit": "^9.0|^10.5|^11.0" + "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "phpunit/phpunit": "^9.0|^10.5|^11.0|^12.0" }, "autoload": { "psr-4": { diff --git a/tests/CompilesIconsTest.php b/tests/CompilesIconsTest.php index 04a9a88..c07c0ba 100644 --- a/tests/CompilesIconsTest.php +++ b/tests/CompilesIconsTest.php @@ -12,7 +12,7 @@ class CompilesIconsTest extends TestCase { /** @test */ - public function it_compiles_a_single_anonymous_component() + public function test_it_compiles_a_single_anonymous_component() { $result = svg('sui-alarm-clock')->toHtml(); @@ -25,7 +25,7 @@ public function it_compiles_a_single_anonymous_component() } /** @test */ - public function it_can_add_classes_to_icons() + public function test_it_can_add_classes_to_icons() { $result = svg('sui-alarm-clock', 'w-6 h-6 text-gray-500')->toHtml(); @@ -37,7 +37,7 @@ public function it_can_add_classes_to_icons() } /** @test */ - public function it_can_add_styles_to_icons() + public function test_it_can_add_styles_to_icons() { $result = svg('sui-alarm-clock', ['style' => 'color: #555'])->toHtml(); @@ -49,7 +49,7 @@ public function it_can_add_styles_to_icons() } /** @test */ - public function it_can_add_default_class_from_config() + public function test_it_can_add_default_class_from_config() { Config::set('blade-system-uicons.class', 'awesome'); @@ -64,7 +64,7 @@ public function it_can_add_default_class_from_config() } /** @test */ - public function it_can_merge_default_class_from_config() + public function test_it_can_merge_default_class_from_config() { Config::set('blade-system-uicons.class', 'awesome');