Completed
Branch master (8d8119)
by Colin
14:56
created
src/ImageValidatorServiceProvider.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -7,10 +7,10 @@  discard block
 block discarded – undo
7 7
 {
8 8
 
9 9
 	/**
10
-	* Indicates if loading of the provider is deferred.
11
-	*
12
-	* @var bool
13
-	*/
10
+	 * Indicates if loading of the provider is deferred.
11
+	 *
12
+	 * @var bool
13
+	 */
14 14
 	protected $defer = false;
15 15
 
16 16
 	protected $rules = array(
@@ -20,10 +20,10 @@  discard block
 block discarded – undo
20 20
 
21 21
 
22 22
 	/**
23
-	* Bootstrap the application events.
24
-	*
25
-	* @return void
26
-	*/
23
+	 * Bootstrap the application events.
24
+	 *
25
+	 * @return void
26
+	 */
27 27
 	public function boot()
28 28
 	{
29 29
 		$this->loadTranslationsFrom(__DIR__.'/../lang', 'image-validator');
@@ -48,17 +48,17 @@  discard block
 block discarded – undo
48 48
 
49 49
 
50 50
 	/**
51
-	* Get the list of new rules being added to the validator.
52
-	* @return array
53
-	*/
51
+	 * Get the list of new rules being added to the validator.
52
+	 * @return array
53
+	 */
54 54
 	public function getRules()
55 55
 	{
56 56
 		return $this->rules;
57 57
 	}
58 58
 
59 59
 	/**
60
-	* Add new rules to the validator.
61
-	*/
60
+	 * Add new rules to the validator.
61
+	 */
62 62
 	protected function addNewRules()
63 63
 	{
64 64
 		foreach($this->getRules() as $rule)
@@ -69,10 +69,10 @@  discard block
 block discarded – undo
69 69
 
70 70
 
71 71
 	/**
72
-	* Extend the validator with new rules.
73
-	* @param  string $rule
74
-	* @return void
75
-	*/
72
+	 * Extend the validator with new rules.
73
+	 * @param  string $rule
74
+	 * @return void
75
+	 */
76 76
 	protected function extendValidator($rule)
77 77
 	{
78 78
 		$method = studly_case($rule);
@@ -83,20 +83,20 @@  discard block
 block discarded – undo
83 83
 
84 84
 
85 85
 	/**
86
-	* Register the service provider.
87
-	*
88
-	* @return void
89
-	*/
86
+	 * Register the service provider.
87
+	 *
88
+	 * @return void
89
+	 */
90 90
 	public function register()
91 91
 	{
92 92
 	}
93 93
 
94 94
 
95 95
 	/**
96
-	* Get the services provided by the provider.
97
-	*
98
-	* @return array
99
-	*/
96
+	 * Get the services provided by the provider.
97
+	 *
98
+	 * @return array
99
+	 */
100 100
 	public function provides()
101 101
 	{
102 102
 		return [];
Please login to merge, or discard this patch.
lang/zh-CN/validation.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return array(
4
-    'image_size'         => ':attribute 的宽度为 :width, 高度为 :height',
4
+	'image_size'         => ':attribute 的宽度为 :width, 高度为 :height',
5 5
     
6
-    'between'            => '必须在 :size1 和 :size2 像素之间',
7
-    'lessthan'           => '必须小于 :size 像素',
8
-    'lessthanorequal'    => '必须小于或等于 :size 像素',
9
-    'greaterthan'        => '必须大于 :size 像素',
10
-    'greaterthanorequal' => '必须大于或等于 :size 像素',
11
-    'equal'              => '必须等于 :size 像素',
12
-    'anysize'            => '可以为任意大小',
6
+	'between'            => '必须在 :size1 和 :size2 像素之间',
7
+	'lessthan'           => '必须小于 :size 像素',
8
+	'lessthanorequal'    => '必须小于或等于 :size 像素',
9
+	'greaterthan'        => '必须大于 :size 像素',
10
+	'greaterthanorequal' => '必须大于或等于 :size 像素',
11
+	'equal'              => '必须等于 :size 像素',
12
+	'anysize'            => '可以为任意大小',
13 13
     
14
-    'image_aspect'       => ':attribute 长宽比必须为 :aspect',
14
+	'image_aspect'       => ':attribute 长宽比必须为 :aspect',
15 15
 );
Please login to merge, or discard this patch.
lang/tr/validation.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return array(
4
-    'image_size'          => ':attribute :width genişliği ve :height yüksekliği olmalıdır.',
4
+	'image_size'          => ':attribute :width genişliği ve :height yüksekliği olmalıdır.',
5 5
 
6
-    'between'            => ':size1 ve :size2 piksel aralığında',
7
-    'lessthan'           => ':size pikselden az',
8
-    'lessthanorequal'    => ':size piksele eşit veya az',
9
-    'greaterthan'        => ':size pikselden fazla',
10
-    'greaterthanorequal' => ':size piksele eşit veya fazla',
11
-    'equal'              => ':size piksel',
12
-    'anysize'            => 'herhangi bir',
6
+	'between'            => ':size1 ve :size2 piksel aralığında',
7
+	'lessthan'           => ':size pikselden az',
8
+	'lessthanorequal'    => ':size piksele eşit veya az',
9
+	'greaterthan'        => ':size pikselden fazla',
10
+	'greaterthanorequal' => ':size piksele eşit veya fazla',
11
+	'equal'              => ':size piksel',
12
+	'anysize'            => 'herhangi bir',
13 13
 
14
-    'image_aspect'       => ':attribute en/boy oranı :aspect olmalıdır.',
14
+	'image_aspect'       => ':attribute en/boy oranı :aspect olmalıdır.',
15 15
 );
16 16
\ No newline at end of file
Please login to merge, or discard this patch.
lang/zh-tw/validation.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return array(
4
-    'image_size'          => ':attribute 欄位的寬度 :width, 而高度 :height',
4
+	'image_size'          => ':attribute 欄位的寬度 :width, 而高度 :height',
5 5
 
6
-    'between'            => '必須介於 :size1 與 :size2 像素之間',
7
-    'lessthan'           => '必須小於 :size 像素',
8
-    'lessthanorequal'    => '必須小於或等於 :size 像素',
9
-    'greaterthan'        => '必須大於 :size 像素',
10
-    'greaterthanorequal' => '必須大於或等於 :size 像素',
11
-    'equal'              => '必須等於 :size 像素',
12
-    'anysize'            => '可以是任意大小',
6
+	'between'            => '必須介於 :size1 與 :size2 像素之間',
7
+	'lessthan'           => '必須小於 :size 像素',
8
+	'lessthanorequal'    => '必須小於或等於 :size 像素',
9
+	'greaterthan'        => '必須大於 :size 像素',
10
+	'greaterthanorequal' => '必須大於或等於 :size 像素',
11
+	'equal'              => '必須等於 :size 像素',
12
+	'anysize'            => '可以是任意大小',
13 13
 
14
-    'image_aspect'       => ':attribute 欄位的長寬比必須是 :aspect',
14
+	'image_aspect'       => ':attribute 欄位的長寬比必須是 :aspect',
15 15
 );
16 16
\ No newline at end of file
Please login to merge, or discard this patch.