Completed
Push — master ( fcae4c...6f6645 )
by Andrea Marco
02:23
created
src/Http/Middleware/Honeypot.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 	 */
23 23
 	public function handle($request, Closure $next)
24 24
 	{
25
-		if(config('_auth.honeypot.enabled'))
25
+		if (config('_auth.honeypot.enabled'))
26 26
 		{
27 27
 			$value = $request->input(config('_auth.honeypot.field'));
28 28
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 	 */
42 42
 	protected function checkHoneypot($value)
43 43
 	{
44
-		if($value !== null)
44
+		if ($value !== null)
45 45
 		{
46 46
 			throw new DisplayException('auth::honeypot.error');
47 47
 		}
Please login to merge, or discard this patch.
src/Exceptions/DisplaysExceptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 
29 29
 		foreach ($this->display as $exception)
30 30
 		{
31
-			if($e instanceof $exception)
31
+			if ($e instanceof $exception)
32 32
 			{
33 33
 				return back()->withInput()->withError($e->getMessage());
34 34
 			}
Please login to merge, or discard this patch.
src/Pipes/Login/Throttle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
 		$throttler->incrementAttempts();
21 21
 
22
-		if($throttler->tooManyAttempts() || $throttler->lockedOut())
22
+		if ($throttler->tooManyAttempts() || $throttler->lockedOut())
23 23
 		{
24 24
 			$throttler->lockOut();
25 25
 
Please login to merge, or discard this patch.
src/Pipes/Register/Hash.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 	 */
15 15
 	public function before(Hasher $hasher, $job)
16 16
 	{
17
-		if($hasher->needsRehash($password = $job->attributes['password']))
17
+		if ($hasher->needsRehash($password = $job->attributes['password']))
18 18
 		{
19 19
 			$job->attributes['password'] = $hasher->make($password);
20 20
 		}
Please login to merge, or discard this patch.
src/Pipes/AbstractPipe.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,9 +69,9 @@
 block discarded – undo
69 69
 	 */
70 70
 	private function callIfExistsAndEnabled($method, array $parameters = [])
71 71
 	{
72
-		if( ! $this->isEnabled()) return;
72
+		if (!$this->isEnabled()) return;
73 73
 
74
-		if(method_exists($this, $method) && $this->{"{$method}IsEnabled"}())
74
+		if (method_exists($this, $method) && $this->{"{$method}IsEnabled"}())
75 75
 		{
76 76
 			$this->container->call([$this, $method], $parameters);
77 77
 		}
Please login to merge, or discard this patch.
src/Jobs/LoginJob.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 	 */
38 38
 	public function handle(Guard $auth)
39 39
 	{
40
-		if( ! $auth->attempt($this->credentials, $this->remember))
40
+		if (!$auth->attempt($this->credentials, $this->remember))
41 41
 		{
42 42
 			throw new DisplayException('auth::login.error');
43 43
 		}
Please login to merge, or discard this patch.
src/Jobs/ResetJob.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 	 */
39 39
 	public function handle(UserRepositoryInterface $users, Hasher $hasher)
40 40
 	{
41
-		if( ! $user = $users->findByResetToken($this->token))
41
+		if (!$user = $users->findByResetToken($this->token))
42 42
 		{
43 43
 			throw new DisplayException('auth::reset.error');
44 44
 		}
Please login to merge, or discard this patch.
src/AuthServiceProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -16,15 +16,15 @@  discard block
 block discarded – undo
16 16
 	 */
17 17
 	public function boot()
18 18
 	{
19
-		$this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'auth');
19
+		$this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'auth');
20 20
 
21
-		$this->publishes([__DIR__.'/../config/_auth.php' => config_path('_auth.php')], 'config');
21
+		$this->publishes([__DIR__ . '/../config/_auth.php' => config_path('_auth.php')], 'config');
22 22
 
23
-		$this->publishes([__DIR__.'/../database/migrations/' => database_path('migrations')], 'migration');
23
+		$this->publishes([__DIR__ . '/../database/migrations/' => database_path('migrations')], 'migration');
24 24
 
25
-		$this->publishes([__DIR__.'/../resources/lang/' => base_path('resources/lang/vendor/auth')], 'lang');
25
+		$this->publishes([__DIR__ . '/../resources/lang/' => base_path('resources/lang/vendor/auth')], 'lang');
26 26
 
27
-		include __DIR__.'/Http/routes.php';
27
+		include __DIR__ . '/Http/routes.php';
28 28
 	}
29 29
 
30 30
 	/**
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 	 */
35 35
 	public function register()
36 36
 	{
37
-		$this->mergeConfigFrom(__DIR__.'/../config/_auth.php', 'auth');
37
+		$this->mergeConfigFrom(__DIR__ . '/../config/_auth.php', 'auth');
38 38
 
39 39
 		$this->registerUserRepository();
40 40
 
Please login to merge, or discard this patch.