Sitelet https://github.com/codeat3/blade-codicons/commit/43ce1b340dd0a7b99b3f40e96ccfc4b5c1e18359
Skip to content

Commit 43ce1b3

Browse files
committed
laravel 13 compatibility
1 parent fdc3380 commit 43ce1b3

3 files changed

Lines changed: 27 additions & 13 deletions

File tree

‎.github/workflows/tests.yml‎

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
strategy:
1111
fail-fast: true
1212
matrix:
13-
php: [7.4, '8.0', 8.1, 8.2, 8.3, 8.4]
14-
laravel: [8, 9, 10, 11, 12]
13+
php: [7.4, '8.0', 8.1, 8.2, 8.3, 8.4, 8.5]
14+
laravel: [8, 9, 10, 11, 12, 13]
1515
exclude:
1616
- php: 7.4
1717
laravel: 9
@@ -43,6 +43,22 @@ jobs:
4343
laravel: 9
4444
- php: 8.4
4545
laravel: 10
46+
- php: 8.5
47+
laravel: 8
48+
- php: 8.5
49+
laravel: 9
50+
- php: 8.5
51+
laravel: 10
52+
- php: 8.5
53+
laravel: 11
54+
- php: 7.4
55+
laravel: 13
56+
- php: '8.0'
57+
laravel: 13
58+
- php: 8.1
59+
laravel: 13
60+
- php: 8.2
61+
laravel: 13
4662

4763
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
4864

‎composer.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
"require": {
1818
"php": "^7.4|^8.0",
1919
"blade-ui-kit/blade-icons": "^1.1",
20-
"illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0"
20+
"illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0|^13.0"
2121
},
2222
"require-dev": {
23-
"codeat3/blade-icon-generation-helpers": "^0.10",
23+
"codeat3/blade-icon-generation-helpers": "^0.12",
2424
"codeat3/phpcs-styles": "^1.0",
25-
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0",
26-
"phpunit/phpunit": "^9.0|^10.5|^11.0"
25+
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
26+
"phpunit/phpunit": "^9.0|^10.5|^11.0|^12.0"
2727
},
2828
"autoload": {
2929
"psr-4": {

‎tests/CompilesIconsTest.php‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class CompilesIconsTest extends TestCase
1313
{
1414
/** @test */
15-
public function it_compiles_a_single_anonymous_component()
15+
public function test_it_compiles_a_single_anonymous_component()
1616
{
1717
$result = svg('codicon-account')->toHtml();
1818

@@ -25,7 +25,7 @@ public function it_compiles_a_single_anonymous_component()
2525
}
2626

2727
/** @test */
28-
public function it_can_add_classes_to_icons()
28+
public function test_it_can_add_classes_to_icons()
2929
{
3030
$result = svg('codicon-account', 'w-6 h-6 text-gray-500')->toHtml();
3131

@@ -37,7 +37,7 @@ public function it_can_add_classes_to_icons()
3737
}
3838

3939
/** @test */
40-
public function it_can_add_styles_to_icons()
40+
public function test_it_can_add_styles_to_icons()
4141
{
4242
$result = svg('codicon-account', ['style' => 'color: #555'])->toHtml();
4343

@@ -49,7 +49,7 @@ public function it_can_add_styles_to_icons()
4949
}
5050

5151
/** @test */
52-
public function it_can_add_default_class_from_config()
52+
public function test_it_can_add_default_class_from_config()
5353
{
5454
Config::set('blade-codicon.class', 'awesome');
5555

@@ -60,11 +60,10 @@ public function it_can_add_default_class_from_config()
6060
SVG;
6161

6262
$this->assertSame($expected, $result);
63-
6463
}
6564

6665
/** @test */
67-
public function it_can_merge_default_class_from_config()
66+
public function test_it_can_merge_default_class_from_config()
6867
{
6968
Config::set('blade-codicon.class', 'awesome');
7069

@@ -75,7 +74,6 @@ public function it_can_merge_default_class_from_config()
7574
SVG;
7675

7776
$this->assertSame($expected, $result);
78-
7977
}
8078

8179
protected function getPackageProviders($app)

0 commit comments

Comments
 (0)