Completed
Push — master ( 84dfb3...7a7a2b )
by Sherif
27s
created
src/Modules/Core/ModelObservers/SettingsObserver.php 1 patch
Indentation   +54 added lines, -54 removed lines patch added patch discarded remove patch
@@ -6,67 +6,67 @@
 block discarded – undo
6 6
 class SettingsObserver
7 7
 {
8 8
 
9
-    public function saving($model)
10
-    {
11
-        //
12
-    }
9
+	public function saving($model)
10
+	{
11
+		//
12
+	}
13 13
 
14
-    public function saved($model)
15
-    {
16
-        //
17
-    }
14
+	public function saved($model)
15
+	{
16
+		//
17
+	}
18 18
 
19
-    /**
20
-     * Prevent the creating of the settings.
21
-     *
22
-     * @param  object $model the model beign created.
23
-     * @return void
24
-     */
25
-    public function creating($model)
26
-    {
27
-        \Errors::cannotCreateSetting();
28
-    }
19
+	/**
20
+	 * Prevent the creating of the settings.
21
+	 *
22
+	 * @param  object $model the model beign created.
23
+	 * @return void
24
+	 */
25
+	public function creating($model)
26
+	{
27
+		\Errors::cannotCreateSetting();
28
+	}
29 29
 
30
-    public function created($model)
31
-    {
32
-        //
33
-    }
30
+	public function created($model)
31
+	{
32
+		//
33
+	}
34 34
 
35
-    /**
36
-     * Prevent updating of the setting key.
37
-     *
38
-     * @param  object $model the model beign updated.
39
-     * @return void
40
-     */
41
-    public function updating($model)
42
-    {
43
-        if ($model->getOriginal('key') !== $model->key) {
44
-            \Errors::cannotUpdateSettingKey();
45
-        }
46
-    }
35
+	/**
36
+	 * Prevent updating of the setting key.
37
+	 *
38
+	 * @param  object $model the model beign updated.
39
+	 * @return void
40
+	 */
41
+	public function updating($model)
42
+	{
43
+		if ($model->getOriginal('key') !== $model->key) {
44
+			\Errors::cannotUpdateSettingKey();
45
+		}
46
+	}
47 47
 
48
-    public function updated($model)
49
-    {
50
-        //
51
-    }
48
+	public function updated($model)
49
+	{
50
+		//
51
+	}
52 52
 
53
-    public function deleting($model)
54
-    {
55
-        //
56
-    }
53
+	public function deleting($model)
54
+	{
55
+		//
56
+	}
57 57
 
58
-    public function deleted($model)
59
-    {
60
-        //
61
-    }
58
+	public function deleted($model)
59
+	{
60
+		//
61
+	}
62 62
 
63
-    public function restoring($model)
64
-    {
65
-        //
66
-    }
63
+	public function restoring($model)
64
+	{
65
+		//
66
+	}
67 67
 
68
-    public function restored($model)
69
-    {
70
-        //
71
-    }
68
+	public function restored($model)
69
+	{
70
+		//
71
+	}
72 72
 }
Please login to merge, or discard this patch.
src/Modules/Users/Proxy/LoginProxy.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
         $response = \ApiConsumer::post('/oauth/token', $data);
51 51
 
52
-        if (! $response->isSuccessful()) {
52
+        if ( ! $response->isSuccessful()) {
53 53
             if ($grantType == 'refresh_token') {
54 54
                 \Errors::invalidRefreshToken();
55 55
             }
Please login to merge, or discard this patch.
Indentation   +53 added lines, -53 removed lines patch added patch discarded remove patch
@@ -7,64 +7,64 @@
 block discarded – undo
7 7
 
8 8
 class LoginProxy
9 9
 {
10
-    /**
11
-     * Attempt to create an access token using user credentials.
12
-     *
13
-     * @param  string  $email
14
-     * @param  string  $password
15
-     * @return array
16
-     */
17
-    public function login($email, $password)
18
-    {
19
-        return $this->proxy('password', [
20
-            'username' => $email,
21
-            'password' => $password
22
-        ]);
23
-    }
10
+	/**
11
+	 * Attempt to create an access token using user credentials.
12
+	 *
13
+	 * @param  string  $email
14
+	 * @param  string  $password
15
+	 * @return array
16
+	 */
17
+	public function login($email, $password)
18
+	{
19
+		return $this->proxy('password', [
20
+			'username' => $email,
21
+			'password' => $password
22
+		]);
23
+	}
24 24
 
25
-    /**
26
-     * Attempt to refresh the access token using the given refresh token.
27
-     *
28
-     * @param  string $refreshToken
29
-     * @return array
30
-     */
31
-    public function refreshToken($refreshToken)
32
-    {
33
-        return $this->proxy('refresh_token', [
34
-            'refresh_token' => $refreshToken
35
-        ]);
36
-    }
25
+	/**
26
+	 * Attempt to refresh the access token using the given refresh token.
27
+	 *
28
+	 * @param  string $refreshToken
29
+	 * @return array
30
+	 */
31
+	public function refreshToken($refreshToken)
32
+	{
33
+		return $this->proxy('refresh_token', [
34
+			'refresh_token' => $refreshToken
35
+		]);
36
+	}
37 37
 
38
-    /**
39
-     * Proxy a request to the OAuth server.
40
-     *
41
-     * @param string $grantType what type of grant type should be proxied
42
-     * @param array
43
-     */
44
-    public function proxy($grantType, array $data = [])
45
-    {
46
-        $data = array_merge($data, [
47
-            'client_id'     => config('user.passport_client_id'),
48
-            'client_secret' => config('user.passport_client_secret'),
49
-            'grant_type'    => $grantType
50
-        ]);
38
+	/**
39
+	 * Proxy a request to the OAuth server.
40
+	 *
41
+	 * @param string $grantType what type of grant type should be proxied
42
+	 * @param array
43
+	 */
44
+	public function proxy($grantType, array $data = [])
45
+	{
46
+		$data = array_merge($data, [
47
+			'client_id'     => config('user.passport_client_id'),
48
+			'client_secret' => config('user.passport_client_secret'),
49
+			'grant_type'    => $grantType
50
+		]);
51 51
 
52
-        $response = \ApiConsumer::post('/oauth/token', $data);
52
+		$response = \ApiConsumer::post('/oauth/token', $data);
53 53
 
54
-        if (! $response->isSuccessful()) {
55
-            if ($grantType == 'refresh_token') {
56
-                \Errors::invalidRefreshToken();
57
-            }
54
+		if (! $response->isSuccessful()) {
55
+			if ($grantType == 'refresh_token') {
56
+				\Errors::invalidRefreshToken();
57
+			}
58 58
 
59
-            \Errors::loginFailed();
60
-        }
59
+			\Errors::loginFailed();
60
+		}
61 61
 
62
-        $data = json_decode($response->getContent());
62
+		$data = json_decode($response->getContent());
63 63
 
64
-        return [
65
-            'access_token'  => $data->access_token,
66
-            'refresh_token' => $data->refresh_token,
67
-            'expires_in'    => $data->expires_in
68
-        ];
69
-    }
64
+		return [
65
+			'access_token'  => $data->access_token,
66
+			'refresh_token' => $data->refresh_token,
67
+			'expires_in'    => $data->expires_in
68
+		];
69
+	}
70 70
 }
Please login to merge, or discard this patch.
src/Modules/Users/ModelObservers/AclUserObserver.php 2 patches
Indentation   +48 added lines, -48 removed lines patch added patch discarded remove patch
@@ -6,61 +6,61 @@
 block discarded – undo
6 6
 class AclUserObserver
7 7
 {
8 8
 
9
-    public function saving($model)
10
-    {
11
-        if ($model->isDirty('profile_picture')) {
12
-            \Media::deleteImage($model->getOriginal('profile_picture'));
13
-        }
14
-    }
9
+	public function saving($model)
10
+	{
11
+		if ($model->isDirty('profile_picture')) {
12
+			\Media::deleteImage($model->getOriginal('profile_picture'));
13
+		}
14
+	}
15 15
 
16
-    public function saved($model)
17
-    {
18
-        //
19
-    }
16
+	public function saved($model)
17
+	{
18
+		//
19
+	}
20 20
 
21
-    public function creating($model)
22
-    {
23
-        //
24
-    }
21
+	public function creating($model)
22
+	{
23
+		//
24
+	}
25 25
 
26
-    public function created($model)
27
-    {
28
-        //
29
-    }
26
+	public function created($model)
27
+	{
28
+		//
29
+	}
30 30
 
31
-    public function updating($model)
32
-    {
33
-        //
34
-    }
31
+	public function updating($model)
32
+	{
33
+		//
34
+	}
35 35
 
36
-    public function updated($model)
37
-    {
38
-        if ($model->isDirty('blocked') && $model->blocked) {
39
-            $model->tokens()->each(function ($token) {
40
-                \Core::oauthClients()->revokeAccessToken($token);
41
-            });
42
-        }
43
-    }
36
+	public function updated($model)
37
+	{
38
+		if ($model->isDirty('blocked') && $model->blocked) {
39
+			$model->tokens()->each(function ($token) {
40
+				\Core::oauthClients()->revokeAccessToken($token);
41
+			});
42
+		}
43
+	}
44 44
 
45
-    public function deleting($model)
46
-    {
47
-        if ($model->getOriginal('id') == \Auth::id()) {
48
-            \Errors::noPermissions();
49
-        }
50
-    }
45
+	public function deleting($model)
46
+	{
47
+		if ($model->getOriginal('id') == \Auth::id()) {
48
+			\Errors::noPermissions();
49
+		}
50
+	}
51 51
 
52
-    public function deleted($model)
53
-    {
54
-        //
55
-    }
52
+	public function deleted($model)
53
+	{
54
+		//
55
+	}
56 56
 
57
-    public function restoring($model)
58
-    {
59
-        //
60
-    }
57
+	public function restoring($model)
58
+	{
59
+		//
60
+	}
61 61
 
62
-    public function restored($model)
63
-    {
64
-        //
65
-    }
62
+	public function restored($model)
63
+	{
64
+		//
65
+	}
66 66
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     public function updated($model)
37 37
     {
38 38
         if ($model->isDirty('blocked') && $model->blocked) {
39
-            $model->tokens()->each(function ($token) {
39
+            $model->tokens()->each(function($token) {
40 40
                 \Core::oauthClients()->revokeAccessToken($token);
41 41
             });
42 42
         }
Please login to merge, or discard this patch.
src/Modules/Reporting/ModelObservers/ReportObserver.php 1 patch
Indentation   +49 added lines, -49 removed lines patch added patch discarded remove patch
@@ -6,53 +6,53 @@
 block discarded – undo
6 6
 class ReportObserver
7 7
 {
8 8
 
9
-    public function saving($model)
10
-    {
11
-        //
12
-    }
13
-
14
-    public function saved($model)
15
-    {
16
-        //
17
-    }
18
-
19
-    public function creating($model)
20
-    {
21
-        //
22
-    }
23
-
24
-    public function created($model)
25
-    {
26
-        //
27
-    }
28
-
29
-    public function updating($model)
30
-    {
31
-        //
32
-    }
33
-
34
-    public function updated($model)
35
-    {
36
-        //
37
-    }
38
-
39
-    public function deleting($model)
40
-    {
41
-        //
42
-    }
43
-
44
-    public function deleted($model)
45
-    {
46
-        //
47
-    }
48
-
49
-    public function restoring($model)
50
-    {
51
-        //
52
-    }
53
-
54
-    public function restored($model)
55
-    {
56
-        //
57
-    }
9
+	public function saving($model)
10
+	{
11
+		//
12
+	}
13
+
14
+	public function saved($model)
15
+	{
16
+		//
17
+	}
18
+
19
+	public function creating($model)
20
+	{
21
+		//
22
+	}
23
+
24
+	public function created($model)
25
+	{
26
+		//
27
+	}
28
+
29
+	public function updating($model)
30
+	{
31
+		//
32
+	}
33
+
34
+	public function updated($model)
35
+	{
36
+		//
37
+	}
38
+
39
+	public function deleting($model)
40
+	{
41
+		//
42
+	}
43
+
44
+	public function deleted($model)
45
+	{
46
+		//
47
+	}
48
+
49
+	public function restoring($model)
50
+	{
51
+		//
52
+	}
53
+
54
+	public function restored($model)
55
+	{
56
+		//
57
+	}
58 58
 }
Please login to merge, or discard this patch.
src/Modules/Reporting/Services/ReportService.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,9 +43,9 @@
 block discarded – undo
43 43
         /**
44 44
          * Check report existance and permission.
45 45
          */
46
-        if (! $report) {
46
+        if ( ! $report) {
47 47
             \Errors::notFound('report');
48
-        } elseif (! $skipPermission && ! $this->userService->can($report->view_name, 'report')) {
48
+        } elseif ( ! $skipPermission && ! $this->userService->can($report->view_name, 'report')) {
49 49
             \Errors::noPermissions();
50 50
         }
51 51
 
Please login to merge, or discard this patch.
Indentation   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -9,49 +9,49 @@
 block discarded – undo
9 9
 
10 10
 class ReportService extends BaseService
11 11
 {
12
-    /**
13
-     * @var UserService
14
-     */
15
-    protected $userService;
12
+	/**
13
+	 * @var UserService
14
+	 */
15
+	protected $userService;
16 16
 
17
-    /**
18
-     * Init new object.
19
-     *
20
-     * @param   ReportRepository $repo
21
-     * @return  void
22
-     */
23
-    public function __construct(ReportRepository $repo, UserService $userService, Session $session)
24
-    {
25
-        $this->userService = $userService;
26
-        parent::__construct($repo, $session);
27
-    }
17
+	/**
18
+	 * Init new object.
19
+	 *
20
+	 * @param   ReportRepository $repo
21
+	 * @return  void
22
+	 */
23
+	public function __construct(ReportRepository $repo, UserService $userService, Session $session)
24
+	{
25
+		$this->userService = $userService;
26
+		parent::__construct($repo, $session);
27
+	}
28 28
 
29
-    /**
30
-     * Render the given report db view based on the given
31
-     * condition.
32
-     *
33
-     * @param  string  $reportName
34
-     * @param  array   $conditions
35
-     * @param  integer $perPage
36
-     * @param  boolean $skipPermission
37
-     * @return object
38
-     */
39
-    public function getReport($reportName, $conditions = [], $perPage = 0, $skipPermission = false)
40
-    {
41
-        /**
42
-         * Fetch the report from db.
43
-         */
44
-        $report = $this->repo->first(['report_name' => $reportName]);
29
+	/**
30
+	 * Render the given report db view based on the given
31
+	 * condition.
32
+	 *
33
+	 * @param  string  $reportName
34
+	 * @param  array   $conditions
35
+	 * @param  integer $perPage
36
+	 * @param  boolean $skipPermission
37
+	 * @return object
38
+	 */
39
+	public function getReport($reportName, $conditions = [], $perPage = 0, $skipPermission = false)
40
+	{
41
+		/**
42
+		 * Fetch the report from db.
43
+		 */
44
+		$report = $this->repo->first(['report_name' => $reportName]);
45 45
 
46
-        /**
47
-         * Check report existance and permission.
48
-         */
49
-        if (! $report) {
50
-            \Errors::notFound('report');
51
-        } elseif (! $skipPermission && ! $this->userService->can($report->view_name, 'report')) {
52
-            \Errors::noPermissions();
53
-        }
46
+		/**
47
+		 * Check report existance and permission.
48
+		 */
49
+		if (! $report) {
50
+			\Errors::notFound('report');
51
+		} elseif (! $skipPermission && ! $this->userService->can($report->view_name, 'report')) {
52
+			\Errors::noPermissions();
53
+		}
54 54
 
55
-        return $this->repo->renderReport($report, $conditions, $perPage);
56
-    }
55
+		return $this->repo->renderReport($report, $conditions, $perPage);
56
+	}
57 57
 }
Please login to merge, or discard this patch.
lang/en/passwords.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 return [
4 4
 
5
-    /*
5
+	/*
6 6
     |--------------------------------------------------------------------------
7 7
     | Password Reset Language Lines
8 8
     |--------------------------------------------------------------------------
@@ -13,10 +13,10 @@  discard block
 block discarded – undo
13 13
     |
14 14
     */
15 15
 
16
-    'password' => 'Passwords must be at least six characters and match the confirmation.',
17
-    'reset' => 'Your password has been reset!',
18
-    'sent' => 'We have e-mailed your password reset link!',
19
-    'token' => 'This password reset token is invalid.',
20
-    'user' => "We can't find a user with that e-mail address.",
16
+	'password' => 'Passwords must be at least six characters and match the confirmation.',
17
+	'reset' => 'Your password has been reset!',
18
+	'sent' => 'We have e-mailed your password reset link!',
19
+	'token' => 'This password reset token is invalid.',
20
+	'user' => "We can't find a user with that e-mail address.",
21 21
 
22 22
 ];
Please login to merge, or discard this patch.
lang/en/pagination.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 return [
4 4
 
5
-    /*
5
+	/*
6 6
     |--------------------------------------------------------------------------
7 7
     | Pagination Language Lines
8 8
     |--------------------------------------------------------------------------
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     |
14 14
     */
15 15
 
16
-    'previous' => '« Previous',
17
-    'next'     => 'Next »',
16
+	'previous' => '« Previous',
17
+	'next'     => 'Next »',
18 18
 
19 19
 ];
Please login to merge, or discard this patch.
lang/en/auth.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 return [
4 4
 
5
-    /*
5
+	/*
6 6
     |--------------------------------------------------------------------------
7 7
     | Authentication Language Lines
8 8
     |--------------------------------------------------------------------------
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     |
14 14
     */
15 15
 
16
-    'failed' => 'These credentials do not match our records.',
17
-    'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
16
+	'failed' => 'These credentials do not match our records.',
17
+	'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
18 18
 
19 19
 ];
Please login to merge, or discard this patch.
lang/en/validation.php 1 patch
Indentation   +75 added lines, -75 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 return [
4 4
 
5
-    /*
5
+	/*
6 6
     |--------------------------------------------------------------------------
7 7
     | Validation Language Lines
8 8
     |--------------------------------------------------------------------------
@@ -13,74 +13,74 @@  discard block
 block discarded – undo
13 13
     |
14 14
     */
15 15
 
16
-    'accepted'             => 'The :attribute must be accepted.',
17
-    'active_url'           => 'The :attribute is not a valid URL.',
18
-    'after'                => 'The :attribute must be a date after :date.',
19
-    'alpha'                => 'The :attribute may only contain letters.',
20
-    'alpha_dash'           => 'The :attribute may only contain letters, numbers, and dashes.',
21
-    'alpha_num'            => 'The :attribute may only contain letters and numbers.',
22
-    'array'                => 'The :attribute must be an array.',
23
-    'before'               => 'The :attribute must be a date before :date.',
24
-    'between'              => [
25
-        'numeric' => 'The :attribute must be between :min and :max.',
26
-        'file'    => 'The :attribute must be between :min and :max kilobytes.',
27
-        'string'  => 'The :attribute must be between :min and :max characters.',
28
-        'array'   => 'The :attribute must have between :min and :max items.',
29
-    ],
30
-    'boolean'              => 'The :attribute field must be true or false.',
31
-    'confirmed'            => 'The :attribute confirmation does not match.',
32
-    'date'                 => 'The :attribute is not a valid date.',
33
-    'date_format'          => 'The :attribute does not match the format :format.',
34
-    'different'            => 'The :attribute and :other must be different.',
35
-    'digits'               => 'The :attribute must be :digits digits.',
36
-    'digits_between'       => 'The :attribute must be between :min and :max digits.',
37
-    'distinct'             => 'The :attribute field has a duplicate value.',
38
-    'email'                => 'The :attribute must be a valid email address.',
39
-    'exists'               => 'The selected :attribute is invalid.',
40
-    'filled'               => 'The :attribute field is required.',
41
-    'image'                => 'The :attribute must be an image.',
42
-    'in'                   => 'The selected :attribute is invalid.',
43
-    'in_array'             => 'The :attribute field does not exist in :other.',
44
-    'integer'              => 'The :attribute must be an integer.',
45
-    'ip'                   => 'The :attribute must be a valid IP address.',
46
-    'json'                 => 'The :attribute must be a valid JSON string.',
47
-    'max'                  => [
48
-        'numeric' => 'The :attribute may not be greater than :max.',
49
-        'file'    => 'The :attribute may not be greater than :max kilobytes.',
50
-        'string'  => 'The :attribute may not be greater than :max characters.',
51
-        'array'   => 'The :attribute may not have more than :max items.',
52
-    ],
53
-    'mimes'                => 'The :attribute must be a file of type: :values.',
54
-    'min'                  => [
55
-        'numeric' => 'The :attribute must be at least :min.',
56
-        'file'    => 'The :attribute must be at least :min kilobytes.',
57
-        'string'  => 'The :attribute must be at least :min characters.',
58
-        'array'   => 'The :attribute must have at least :min items.',
59
-    ],
60
-    'not_in'               => 'The selected :attribute is invalid.',
61
-    'numeric'              => 'The :attribute must be a number.',
62
-    'present'              => 'The :attribute field must be present.',
63
-    'regex'                => 'The :attribute format is invalid.',
64
-    'required'             => 'The :attribute field is required.',
65
-    'required_if'          => 'The :attribute field is required when :other is :value.',
66
-    'required_unless'      => 'The :attribute field is required unless :other is in :values.',
67
-    'required_with'        => 'The :attribute field is required when :values is present.',
68
-    'required_with_all'    => 'The :attribute field is required when :values is present.',
69
-    'required_without'     => 'The :attribute field is required when :values is not present.',
70
-    'required_without_all' => 'The :attribute field is required when none of :values are present.',
71
-    'same'                 => 'The :attribute and :other must match.',
72
-    'size'                 => [
73
-        'numeric' => 'The :attribute must be :size.',
74
-        'file'    => 'The :attribute must be :size kilobytes.',
75
-        'string'  => 'The :attribute must be :size characters.',
76
-        'array'   => 'The :attribute must contain :size items.',
77
-    ],
78
-    'string'               => 'The :attribute must be a string.',
79
-    'timezone'             => 'The :attribute must be a valid zone.',
80
-    'unique'               => 'The :attribute has already been taken.',
81
-    'url'                  => 'The :attribute format is invalid.',
16
+	'accepted'             => 'The :attribute must be accepted.',
17
+	'active_url'           => 'The :attribute is not a valid URL.',
18
+	'after'                => 'The :attribute must be a date after :date.',
19
+	'alpha'                => 'The :attribute may only contain letters.',
20
+	'alpha_dash'           => 'The :attribute may only contain letters, numbers, and dashes.',
21
+	'alpha_num'            => 'The :attribute may only contain letters and numbers.',
22
+	'array'                => 'The :attribute must be an array.',
23
+	'before'               => 'The :attribute must be a date before :date.',
24
+	'between'              => [
25
+		'numeric' => 'The :attribute must be between :min and :max.',
26
+		'file'    => 'The :attribute must be between :min and :max kilobytes.',
27
+		'string'  => 'The :attribute must be between :min and :max characters.',
28
+		'array'   => 'The :attribute must have between :min and :max items.',
29
+	],
30
+	'boolean'              => 'The :attribute field must be true or false.',
31
+	'confirmed'            => 'The :attribute confirmation does not match.',
32
+	'date'                 => 'The :attribute is not a valid date.',
33
+	'date_format'          => 'The :attribute does not match the format :format.',
34
+	'different'            => 'The :attribute and :other must be different.',
35
+	'digits'               => 'The :attribute must be :digits digits.',
36
+	'digits_between'       => 'The :attribute must be between :min and :max digits.',
37
+	'distinct'             => 'The :attribute field has a duplicate value.',
38
+	'email'                => 'The :attribute must be a valid email address.',
39
+	'exists'               => 'The selected :attribute is invalid.',
40
+	'filled'               => 'The :attribute field is required.',
41
+	'image'                => 'The :attribute must be an image.',
42
+	'in'                   => 'The selected :attribute is invalid.',
43
+	'in_array'             => 'The :attribute field does not exist in :other.',
44
+	'integer'              => 'The :attribute must be an integer.',
45
+	'ip'                   => 'The :attribute must be a valid IP address.',
46
+	'json'                 => 'The :attribute must be a valid JSON string.',
47
+	'max'                  => [
48
+		'numeric' => 'The :attribute may not be greater than :max.',
49
+		'file'    => 'The :attribute may not be greater than :max kilobytes.',
50
+		'string'  => 'The :attribute may not be greater than :max characters.',
51
+		'array'   => 'The :attribute may not have more than :max items.',
52
+	],
53
+	'mimes'                => 'The :attribute must be a file of type: :values.',
54
+	'min'                  => [
55
+		'numeric' => 'The :attribute must be at least :min.',
56
+		'file'    => 'The :attribute must be at least :min kilobytes.',
57
+		'string'  => 'The :attribute must be at least :min characters.',
58
+		'array'   => 'The :attribute must have at least :min items.',
59
+	],
60
+	'not_in'               => 'The selected :attribute is invalid.',
61
+	'numeric'              => 'The :attribute must be a number.',
62
+	'present'              => 'The :attribute field must be present.',
63
+	'regex'                => 'The :attribute format is invalid.',
64
+	'required'             => 'The :attribute field is required.',
65
+	'required_if'          => 'The :attribute field is required when :other is :value.',
66
+	'required_unless'      => 'The :attribute field is required unless :other is in :values.',
67
+	'required_with'        => 'The :attribute field is required when :values is present.',
68
+	'required_with_all'    => 'The :attribute field is required when :values is present.',
69
+	'required_without'     => 'The :attribute field is required when :values is not present.',
70
+	'required_without_all' => 'The :attribute field is required when none of :values are present.',
71
+	'same'                 => 'The :attribute and :other must match.',
72
+	'size'                 => [
73
+		'numeric' => 'The :attribute must be :size.',
74
+		'file'    => 'The :attribute must be :size kilobytes.',
75
+		'string'  => 'The :attribute must be :size characters.',
76
+		'array'   => 'The :attribute must contain :size items.',
77
+	],
78
+	'string'               => 'The :attribute must be a string.',
79
+	'timezone'             => 'The :attribute must be a valid zone.',
80
+	'unique'               => 'The :attribute has already been taken.',
81
+	'url'                  => 'The :attribute format is invalid.',
82 82
 
83
-    /*
83
+	/*
84 84
     |--------------------------------------------------------------------------
85 85
     | Custom Validation Language Lines
86 86
     |--------------------------------------------------------------------------
@@ -91,13 +91,13 @@  discard block
 block discarded – undo
91 91
     |
92 92
     */
93 93
 
94
-    'custom' => [
95
-        'attribute-name' => [
96
-            'rule-name' => 'custom-message',
97
-        ],
98
-    ],
94
+	'custom' => [
95
+		'attribute-name' => [
96
+			'rule-name' => 'custom-message',
97
+		],
98
+	],
99 99
 
100
-    /*
100
+	/*
101 101
     |--------------------------------------------------------------------------
102 102
     | Custom Validation Attributes
103 103
     |--------------------------------------------------------------------------
@@ -108,6 +108,6 @@  discard block
 block discarded – undo
108 108
     |
109 109
     */
110 110
 
111
-    'attributes' => [],
111
+	'attributes' => [],
112 112
 
113 113
 ];
Please login to merge, or discard this patch.