diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f893afe..d2e57f5 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] - laravel: [8, 9, 10, 11] + php: [7.4, '8.0', 8.1, 8.2, 8.3, 8.4] + laravel: [8, 9, 10, 11, 12] exclude: - php: 7.4 laravel: 9 @@ -19,18 +19,30 @@ jobs: laravel: 10 - php: 7.4 laravel: 11 + - php: 7.4 + laravel: 12 - php: '8.0' laravel: 10 - php: '8.0' laravel: 11 + - php: '8.0' + laravel: 12 - php: 8.1 laravel: 11 + - php: 8.1 + laravel: 12 - php: 8.2 laravel: 8 - php: 8.3 laravel: 8 - php: 8.3 laravel: 9 + - php: 8.4 + laravel: 8 + - php: 8.4 + laravel: 9 + - php: 8.4 + laravel: 10 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} diff --git a/composer.json b/composer.json index bcdf397..2c66162 100644 --- a/composer.json +++ b/composer.json @@ -17,12 +17,12 @@ "require": { "php": "^7.4|^8.0", "blade-ui-kit/blade-icons": "^1.1", - "illuminate/support": "^8.0|^9.0|^10.0|^11.0" + "illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0" }, "require-dev": { - "codeat3/blade-icon-generation-helpers": "^0.8", + "codeat3/blade-icon-generation-helpers": "^0.10", "codeat3/phpcs-styles": "^1.0", - "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0", + "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0", "phpunit/phpunit": "^9.0|^10.5|^11.0" }, "autoload": { diff --git a/tests/CompilesIconsTest.php b/tests/CompilesIconsTest.php index 5ec7ca4..768ae04 100644 --- a/tests/CompilesIconsTest.php +++ b/tests/CompilesIconsTest.php @@ -18,7 +18,7 @@ public function it_compiles_a_single_anonymous_component() // Note: the empty class here seems to be a Blade components bug. $expected = <<<'SVG' - + SVG; $this->assertSame($expected, $result); @@ -30,7 +30,7 @@ public function it_can_add_classes_to_icons() $result = svg('humble-aid', 'w-6 h-6 text-gray-500')->toHtml(); $expected = <<<'SVG' - + SVG; $this->assertSame($expected, $result); @@ -42,7 +42,7 @@ public function it_can_add_styles_to_icons() $result = svg('humble-aid', ['style' => 'color: #555'])->toHtml(); $expected = <<<'SVG' - + SVG; $this->assertSame($expected, $result); @@ -56,7 +56,7 @@ public function it_can_add_default_class_from_config() $result = svg('humble-aid')->toHtml(); $expected = <<<'SVG' - + SVG; $this->assertSame($expected, $result); @@ -70,7 +70,7 @@ public function it_can_merge_default_class_from_config() $result = svg('humble-aid', 'w-6 h-6')->toHtml(); $expected = <<<'SVG' - + SVG; $this->assertSame($expected, $result);