Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hemphill committed Dec 18, 2019
2 parents d17261a + 321d75f commit 073c0d6
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 🌿 Hemp Presenter

[![Chipper CI Status for davidhemphill/presenter](https://app.chipperci.com/projects/f02344ae-0f4d-4373-9006-d73b692735a1/status/master](https://app.chipperci.com/projects/f062d498-08f7-469a-aece-88c4afbbf516)
[![Chipper CI Status for davidhemphill/presenter](https://app.chipperci.com/projects/f02344ae-0f4d-4373-9006-d73b692735a1/status/master)](https://app.chipperci.com/projects/f062d498-08f7-469a-aece-88c4afbbf516)

This package makes it fast, fun, and profitable to decorate your Eloquent models for presentation in views, PDFs, CSV files, or anywhere else in your project.

Expand Down
6 changes: 3 additions & 3 deletions src/Presenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
namespace Hemp\Presenter;

use ArrayAccess;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Contracts\Support\Jsonable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Contracts\Support\Jsonable;
use Illuminate\Contracts\Support\Arrayable;
use Mockery\Exception\BadMethodCallException;

abstract class Presenter implements ArrayAccess, Arrayable, Jsonable
Expand Down
2 changes: 1 addition & 1 deletion tests/Fixtures/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace Hemp\Presenter\Tests\Fixtures;

use Hemp\Presenter\Presentable;
use Illuminate\Notifications\Notifiable;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;

class User extends Authenticatable
{
Expand Down
2 changes: 1 addition & 1 deletion tests/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Hemp\Presenter\Tests;

use Orchestra\Testbench\TestCase;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Route;
use Orchestra\Testbench\TestCase;

abstract class IntegrationTest extends TestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Migrations/2019_03_07_000000_create_users_table.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateUsersTable extends Migration
{
Expand Down
10 changes: 5 additions & 5 deletions tests/PresenterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

use BadMethodCallException;
use Hemp\Presenter\Presenter;
use Illuminate\Support\Carbon;
use Illuminate\Support\Collection;
use Hemp\Presenter\Tests\Fixtures\CamelCaseAttributesPresenter;
use Hemp\Presenter\Tests\Fixtures\HiddenAndVisibleAttributesPresenter;
use Hemp\Presenter\Tests\Fixtures\HiddenAttributesPresenter;
use Hemp\Presenter\Tests\Fixtures\User;
use Hemp\Presenter\Tests\Fixtures\UserProfilePresenter;
use Hemp\Presenter\Tests\Fixtures\UserWithDefaultPresenter;
use Hemp\Presenter\Tests\Fixtures\HiddenAttributesPresenter;
use Hemp\Presenter\Tests\Fixtures\CamelCaseAttributesPresenter;
use Hemp\Presenter\Tests\Fixtures\HiddenAndVisibleAttributesPresenter;
use Illuminate\Support\Carbon;
use Illuminate\Support\Collection;

class PresenterTest extends IntegrationTest
{
Expand Down

0 comments on commit 073c0d6

Please sign in to comment.