Skip to content

Commit

Permalink
chore: psalm stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
caneco committed Aug 24, 2020
1 parent f13cc8e commit 7174de2
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 7 deletions.
1 change: 1 addition & 0 deletions src/Commands/CacheIconsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public function handle()
foreach (simplexml_load_file($file)->children() as $node) {
$icon .= $node->asXML();
}

return [$name => $icon];
});

Expand Down
2 changes: 0 additions & 2 deletions tests/CacheCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Caneco\Blicons;

use Caneco\Blicons\TestCase;

class CacheCommandTest extends TestCase
{
/** @test */
Expand Down
1 change: 0 additions & 1 deletion tests/IconComponentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Caneco\Blicons;

use Caneco\Blicons\TestCase;
use Caneco\Blicons\Components\Icon;

class IconComponentTest extends TestCase
Expand Down
4 changes: 1 addition & 3 deletions tests/IconListComponentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

namespace Caneco\Blicons;

use Caneco\Blicons\TestCase;
use Caneco\Blicons\Components\Icon;
use Illuminate\Support\Facades\View;
use Caneco\Blicons\Components\IconList;

class IconListComponentTest extends TestCase
Expand All @@ -14,7 +12,7 @@ public function it_can_render_an_empty_icon_list()
{
$compiled = $this->renderComponent(IconList::class, []);

$expected = <<<HTML
$expected = <<<HTML
<svg hidden>
<defs>
</defs>
Expand Down
1 change: 0 additions & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Caneco\Blicons;

use Illuminate\Support\Str;
use Caneco\Blicons\BliconsServiceProvider;
use Orchestra\Testbench\TestCase as Orchestra;

abstract class TestCase extends Orchestra
Expand Down

0 comments on commit 7174de2

Please sign in to comment.