Skip to content

Commit

Permalink
fix: package name clash
Browse files Browse the repository at this point in the history
  • Loading branch information
frknasir committed May 26, 2024
1 parent a8e73bb commit 3b9a30f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "stefangalescu/statamic-heroicons",
"name": "starfolksoftware/statamic-heroicons",
"description": "Use and easily customize Heroicons in your Statamic templates",
"license": "MIT",
"autoload": {
"psr-4": {
"StefanGalescu\\Heroicons\\": "src"
"StatamicHeroicons\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"StefanGalescu\\Heroicons\\Tests\\": "tests"
"StatamicHeroicons\\Tests\\": "tests"
}
},
"extra": {
Expand All @@ -19,7 +19,7 @@
},
"laravel": {
"providers": [
"StefanGalescu\\Heroicons\\ServiceProvider"
"StatamicHeroicons\\ServiceProvider"
]
}
},
Expand Down
4 changes: 2 additions & 2 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace StefanGalescu\Heroicons;
namespace StatamicHeroicons;

use Statamic\Providers\AddonServiceProvider;

class ServiceProvider extends AddonServiceProvider
{
protected $tags = [
\StefanGalescu\Heroicons\Tags\Heroicon::class,
\StatamicHeroicons\Tags\Heroicon::class,
];

public function bootAddon()
Expand Down
2 changes: 1 addition & 1 deletion src/Tags/Heroicon.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace StefanGalescu\Heroicons\Tags;
namespace StatamicHeroicons\Tags;

use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Blade;
Expand Down
2 changes: 1 addition & 1 deletion tests/HeroiconTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace StefanGalescu\Heroicons\Tests;
namespace StatamicHeroicons\Tests;

use Statamic\Statamic;

Expand Down
6 changes: 2 additions & 4 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace StefanGalescu\Heroicons\Tests;
namespace StatamicHeroicons\Tests;

use BladeUI\Heroicons\BladeHeroiconsServiceProvider;
use BladeUI\Icons\BladeIconsServiceProvider;
use Statamic\Testing\AddonTestCase;
use StefanGalescu\Heroicons\ServiceProvider;
use StatamicHeroicons\ServiceProvider;

abstract class TestCase extends AddonTestCase
{
Expand All @@ -23,7 +23,5 @@ protected function getPackageProviders($app)
protected function resolveApplicationConfiguration($app)
{
parent::resolveApplicationConfiguration($app);

$app['config']->set('statamic.antlers.version', 'runtime');
}
}

0 comments on commit 3b9a30f

Please sign in to comment.