Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit 43c56a3

Browse files
stevebaumanStyleCIBot
authored andcommitted
Applied fixes from StyleCI
1 parent 8d08f2a commit 43c56a3

File tree

5 files changed

+5
-9
lines changed

5 files changed

+5
-9
lines changed

src/AdldapAuthUserProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Adldap\Laravel\Facades\Adldap;
66
use Adldap\Models\User;
7-
use Adldap\Schemas\ActiveDirectory;
87
use Illuminate\Auth\EloquentUserProvider;
98
use Illuminate\Contracts\Auth\Authenticatable;
109
use Illuminate\Database\Eloquent\Model;

src/AdldapServiceProvider.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
use Adldap\Adldap;
66
use Adldap\Connections\Configuration;
77
use Adldap\Connections\Manager;
8+
use Adldap\Connections\Provider;
89
use Adldap\Contracts\AdldapInterface;
910
use Adldap\Laravel\Exceptions\ConfigurationMissingException;
10-
use Adldap\Connections\Provider;
1111
use Illuminate\Contracts\Foundation\Application;
1212
use Illuminate\Support\ServiceProvider;
1313

@@ -58,10 +58,9 @@ public function register()
5858

5959
// Go through each connection and construct a Provider.
6060
foreach ($connections as $name => $settings) {
61-
6261
$ldap = new $settings['connection']();
6362
$configuration = new Configuration($settings['connection_settings']);
64-
$schema = new $settings['schema'];
63+
$schema = new $settings['schema']();
6564

6665
// Construct a new connection Provider with its settings.
6766
$provider = new Provider($ldap, $configuration, $schema);

src/Config/auth.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
'connection' => 'default',
1717

18-
1918
/*
2019
|--------------------------------------------------------------------------
2120
| Username Attribute

tests/AdldapTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,17 @@
22

33
namespace Adldap\Laravel\Tests;
44

5+
use Adldap\Auth\Guard;
56
use Adldap\Connections\Manager;
6-
use Adldap\Laravel\Facades\Adldap;
77
use Adldap\Connections\Provider;
8+
use Adldap\Laravel\Facades\Adldap;
89
use Adldap\Laravel\Tests\Models\User as EloquentUser;
910
use Adldap\Models\User;
10-
use Adldap\Auth\Guard;
1111
use Adldap\Query\Builder;
1212
use Adldap\Schemas\Schema;
1313
use Adldap\Search\Factory;
1414
use Illuminate\Support\Facades\App;
1515
use Illuminate\Support\Facades\Auth;
16-
use Mockery;
1716

1817
class AdldapTest extends FunctionalTestCase
1918
{

tests/FunctionalTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace Adldap\Laravel\Tests;
44

55
use Illuminate\Support\Facades\Schema;
6-
use Orchestra\Testbench\TestCase;
76
use Mockery;
7+
use Orchestra\Testbench\TestCase;
88

99
class FunctionalTestCase extends TestCase
1010
{

0 commit comments

Comments
 (0)