Skip to content

Commit

Permalink
Change namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
alies-dev committed Dec 6, 2021
1 parent 3d7a192 commit f242b21
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 32 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/backward-compatibility-check.yml

This file was deleted.

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Nova HTML Card

[![Latest Stable Version](https://poser.pugx.org/idf/nova-html-card/v/stable)](https://packagist.org/packages/idf/nova-html-card)
[![Total Downloads](https://poser.pugx.org/idf/nova-html-card/downloads)](https://packagist.org/packages/idf/nova-html-card)
[![Latest Stable Version](https://poser.pugx.org/interaction-design-foundation/nova-html-card/v/stable)](https://packagist.org/packages/interaction-design-foundation/nova-html-card)
[![Total Downloads](https://poser.pugx.org/interaction-design-foundation/nova-html-card/downloads)](https://packagist.org/packages/interaction-design-foundation/nova-html-card)

Adds a card to the Laravel Nova dashboard with any arbitrary HTML content.

Expand All @@ -13,7 +13,7 @@ Adds a card to the Laravel Nova dashboard with any arbitrary HTML content.
You can install the package in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

```bash
composer require idf/nova-html-card
composer require interaction-design-foundation/nova-html-card
```


Expand All @@ -22,7 +22,7 @@ composer require idf/nova-html-card
[Register your new card](https://nova.laravel.com/docs/2.0/customization/cards.html#registering-cards).

```php
use IDF\HtmlCard\HtmlCard;
use InteractionDesignFoundation\HtmlCard\HtmlCard;

public function cards()
{
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "idf/nova-html-card",
"name": "interaction-design-foundation/nova-html-card",
"description": "A Laravel Nova card to display arbitrary HTML content",
"keywords": [
"laravel",
Expand All @@ -26,18 +26,18 @@
],
"autoload": {
"psr-4": {
"IDF\\HtmlCard\\": "src/"
"InteractionDesignFoundation\\HtmlCard\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"IDF\\HtmlCard\\Tests\\": "tests"
"InteractionDesignFoundation\\HtmlCard\\Tests\\": "tests"
}
},
"extra": {
"laravel": {
"providers": [
"IDF\\HtmlCard\\CardServiceProvider"
"InteractionDesignFoundation\\HtmlCard\\CardServiceProvider"
]
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/CardServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace IDF\HtmlCard;
namespace InteractionDesignFoundation\HtmlCard;

use Laravel\Nova\Nova;
use Laravel\Nova\Events\ServingNova;
Expand Down
2 changes: 1 addition & 1 deletion src/HtmlCard.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace IDF\HtmlCard;
namespace InteractionDesignFoundation\HtmlCard;

use Illuminate\Support\Facades\App;
use Laravel\Nova\Card;
Expand Down
2 changes: 1 addition & 1 deletion src/LaravelMarkdownConverter.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace IDF\HtmlCard;
namespace InteractionDesignFoundation\HtmlCard;

use Illuminate\Mail\Markdown;

Expand Down
2 changes: 1 addition & 1 deletion src/MarkdownConverter.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace IDF\HtmlCard;
namespace InteractionDesignFoundation\HtmlCard;

interface MarkdownConverter
{
Expand Down
4 changes: 2 additions & 2 deletions tests/CardServiceProviderTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php declare(strict_types=1);

namespace IDF\HtmlCard\Tests;
namespace InteractionDesignFoundation\HtmlCard\Tests;

use IDF\HtmlCard\MarkdownConverter;
use InteractionDesignFoundation\HtmlCard\MarkdownConverter;
use Illuminate\Support\Facades\App;

final class CardServiceProviderTest extends TestCase
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php declare(strict_types=1);

namespace IDF\HtmlCard\Tests;
namespace InteractionDesignFoundation\HtmlCard\Tests;

use IDF\HtmlCard\CardServiceProvider;
use InteractionDesignFoundation\HtmlCard\CardServiceProvider;
use Orchestra\Testbench\TestCase as OrchestraTestCase;

abstract class TestCase extends OrchestraTestCase
Expand Down

0 comments on commit f242b21

Please sign in to comment.