Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
frknasir authored and github-actions[bot] committed Jul 13, 2023
1 parent cd5259f commit d260c5a
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/Actions/CreateContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace Ally\Actions;

use Illuminate\Support\Facades\Validator;
use Ally\Ally;
use Ally\Contracts\CreatesContacts;
use Ally\Events\ContactCreated;
use Ally\Events\CreatingContact;
use Illuminate\Support\Facades\Validator;

class CreateContact implements CreatesContacts
{
Expand Down
2 changes: 1 addition & 1 deletion src/Actions/UpdateContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Ally\Actions;

use Illuminate\Support\Facades\Validator;
use Ally\Contracts\UpdatesContacts;
use Ally\Events\ContactUpdated;
use Ally\Events\UpdatingContact;
use Illuminate\Support\Facades\Validator;

class UpdateContact implements UpdatesContacts
{
Expand Down
4 changes: 2 additions & 2 deletions src/AllyServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace Ally;

use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;
use Ally\Actions\CreateContact;
use Ally\Actions\DeleteContact;
use Ally\Actions\UpdateContact;
use Ally\Commands\InstallCommand;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;

class AllyServiceProvider extends PackageServiceProvider
{
Expand Down
2 changes: 1 addition & 1 deletion src/Events/ContactCreated.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

class ContactCreated extends ContactEvent
{
}
}
2 changes: 1 addition & 1 deletion src/Events/ContactDeleted.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

class ContactDeleted extends ContactEvent
{
}
}
2 changes: 1 addition & 1 deletion src/Events/ContactEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ public function __construct(
public $data = []
) {
}
}
}
2 changes: 1 addition & 1 deletion src/Events/ContactUpdated.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

class ContactUpdated extends ContactEvent
{
}
}
2 changes: 1 addition & 1 deletion src/Events/CreatingContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

class CreatingContact extends ContactEvent
{
}
}
2 changes: 1 addition & 1 deletion src/Events/DeletingContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

class DeletingContact extends ContactEvent
{
}
}
2 changes: 1 addition & 1 deletion src/Events/UpdatingContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

class UpdatingContact extends ContactEvent
{
}
}
1 change: 0 additions & 1 deletion src/Http/Controllers/ContactController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Ally\Http\Controllers;

use Ally\Ally;
use Ally\Contact;
use Ally\Contracts\CreatesContacts;
use Ally\Contracts\DeletesContacts;
use Ally\Contracts\UpdatesContacts;
Expand Down
2 changes: 1 addition & 1 deletion tests/Mocks/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ protected static function newFactory()
'updated' => ContactUpdated::class,
'deleted' => ContactDeleted::class,
];
}
}
4 changes: 2 additions & 2 deletions tests/Mocks/ContactFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Ally\Tests\Mocks;

use Illuminate\Database\Eloquent\Factories\Factory;
use Ally\Ally;
use Illuminate\Database\Eloquent\Factories\Factory;

class ContactFactory extends Factory
{
Expand All @@ -25,4 +25,4 @@ public function definition()

return $defs;
}
}
}
2 changes: 1 addition & 1 deletion tests/Mocks/TeamModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Ally\Tests\Mocks;

use Illuminate\Database\Eloquent\Model;
use Ally\TeamHasContacts;
use Illuminate\Database\Eloquent\Model;

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

namespace Ally\Tests\Mocks;

use Ally\HasContacts;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Ally\HasContacts;

class TestProduct extends Model
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Mocks/TestProductFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ public function definition()
'name' => $this->faker->name,
];
}
}
}
2 changes: 1 addition & 1 deletion tests/Pest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

use Illuminate\Contracts\Auth\Authenticatable;
use Ally\Tests\TestCase;
use Illuminate\Contracts\Auth\Authenticatable;

uses(TestCase::class)->in(__DIR__);

Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace Ally\Tests;

use Ally\AllyServiceProvider;
use Ally\Tests\Mocks\TestUser;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Orchestra\Testbench\TestCase as Orchestra;
use Ally\AllyServiceProvider;
use Ally\Tests\Mocks\TestUser;

class TestCase extends Orchestra
{
Expand Down

0 comments on commit d260c5a

Please sign in to comment.