Skip to content

Commit 436f6e1

Browse files
committed
chore: style ci fixes
1 parent 1197c79 commit 436f6e1

11 files changed

+51
-51
lines changed

src/Javascript/JavascriptRulesTrait.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ abstract public function parseNamedParameters($parameters);
2323
/**
2424
* Confirmed rule is applied to confirmed attribute.
2525
*
26-
* @param $attribute
26+
* @param $attribute
2727
* @param array $parameters
2828
* @return array
2929
*/
@@ -38,7 +38,7 @@ protected function ruleConfirmed($attribute, array $parameters)
3838
/**
3939
* Returns Javascript parameters for After rule.
4040
*
41-
* @param $attribute
41+
* @param $attribute
4242
* @param array $parameters
4343
* @return array
4444
*/
@@ -54,7 +54,7 @@ protected function ruleAfter($attribute, array $parameters)
5454
/**
5555
* Returns Javascript parameters for Before rule.
5656
*
57-
* @param $attribute
57+
* @param $attribute
5858
* @param array $parameters
5959
* @return array
6060
*/

src/Javascript/JavascriptValidator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function __construct(ValidatorHandler $validator, $options = [])
5959
/**
6060
* Set default parameters.
6161
*
62-
* @param $options
62+
* @param $options
6363
* @return void
6464
*/
6565
protected function setDefaults($options)
@@ -116,7 +116,7 @@ public function __toString()
116116
/**
117117
* Gets value from view data.
118118
*
119-
* @param $name
119+
* @param $name
120120
* @return string
121121
*
122122
* @throws \Proengsoft\JsValidation\Exceptions\PropertyNotFoundException

src/Javascript/MessageParser.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function getMessage($attribute, $rule, $parameters)
5858
*
5959
* @param string $attribute
6060
* @param string $rule
61-
* @param $parameters
61+
* @param $parameters
6262
* @return array
6363
*/
6464
protected function fakeValidationData($attribute, $rule, $parameters)
@@ -74,9 +74,9 @@ protected function fakeValidationData($attribute, $rule, $parameters)
7474
/**
7575
* Generate fake data to get RequiredIf message.
7676
*
77-
* @param $data
78-
* @param $rule
79-
* @param $parameters
77+
* @param $data
78+
* @param $rule
79+
* @param $parameters
8080
* @return void
8181
*/
8282
private function fakeRequiredIfData($data, $rule, $parameters)
@@ -93,8 +93,8 @@ private function fakeRequiredIfData($data, $rule, $parameters)
9393
/**
9494
* Generate fake data to get file type messages.
9595
*
96-
* @param $data
97-
* @param $attribute
96+
* @param $data
97+
* @param $attribute
9898
* @return void
9999
*/
100100
private function fakeFileData($data, $attribute)

src/Javascript/RuleParser.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ public function __construct(DelegatedValidator $validator, $remoteToken = null)
6464
*
6565
* @param string $attribute
6666
* @param string $rule
67-
* @param $parameters
68-
* @param $rawRule
67+
* @param $parameters
68+
* @param $rawRule
6969
* @return array
7070
*/
7171
public function getRule($attribute, $rule, $parameters, $rawRule)
@@ -130,7 +130,7 @@ protected function isConditionalRule($attribute, $rule)
130130
*
131131
* @param string $attribute
132132
* @param string $rule
133-
* @param $parameters
133+
* @param $parameters
134134
* @return array
135135
*/
136136
protected function clientRule($attribute, $rule, $parameters)

src/Javascript/ValidatorHandler.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ protected function generateJavascriptValidations()
9191
/**
9292
* Make Laravel Validations compatible with JQuery Validation Plugin.
9393
*
94-
* @param $attribute
95-
* @param $rules
94+
* @param $attribute
95+
* @param $rules
9696
* @param bool $includeRemote
9797
* @return array
9898
*/
@@ -119,7 +119,7 @@ protected function jsConvertRules($attribute, $rules, $includeRemote)
119119
/**
120120
* Check if rule should be validated with javascript.
121121
*
122-
* @param $jsRule
122+
* @param $jsRule
123123
* @param bool $includeRemote
124124
* @return bool
125125
*/
@@ -131,7 +131,7 @@ protected function isValidatable($jsRule, $includeRemote)
131131
/**
132132
* Check if JS Validation is disabled for attribute.
133133
*
134-
* @param $attribute
134+
* @param $attribute
135135
* @return bool
136136
*/
137137
public function jsValidationEnabled($attribute)

src/JsValidatorFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct($app, array $options = [])
4545
}
4646

4747
/**
48-
* @param $options
48+
* @param $options
4949
* @return void
5050
*/
5151
protected function setOptions($options)
@@ -121,7 +121,7 @@ protected function getValidationData(array $rules, array $customAttributes = [])
121121
/**
122122
* Creates JsValidator instance based on FormRequest.
123123
*
124-
* @param $formRequest
124+
* @param $formRequest
125125
* @param null|string $selector
126126
* @return \Proengsoft\JsValidation\Javascript\JavascriptValidator
127127
*

src/Remote/Resolver.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function __construct(ValidationFactory $factory, $escape = false)
4444
/**
4545
* Closure used to resolve Validator instance.
4646
*
47-
* @param $field
47+
* @param $field
4848
* @return \Closure
4949
*/
5050
public function resolver($field)
@@ -57,12 +57,12 @@ public function resolver($field)
5757
/**
5858
* Resolves Validator instance.
5959
*
60-
* @param $translator
61-
* @param $data
62-
* @param $rules
63-
* @param $messages
64-
* @param $customAttributes
65-
* @param $field
60+
* @param $translator
61+
* @param $data
62+
* @param $rules
63+
* @param $messages
64+
* @param $customAttributes
65+
* @param $field
6666
* @return \Illuminate\Validation\Validator
6767
*/
6868
protected function resolve($translator, $data, $rules, $messages, $customAttributes, $field)
@@ -78,11 +78,11 @@ protected function resolve($translator, $data, $rules, $messages, $customAttribu
7878
/**
7979
* Create new validator instance.
8080
*
81-
* @param $translator
82-
* @param $data
83-
* @param $rules
84-
* @param $messages
85-
* @param $customAttributes
81+
* @param $translator
82+
* @param $data
83+
* @param $rules
84+
* @param $messages
85+
* @param $customAttributes
8686
* @return \Illuminate\Validation\Validator
8787
*/
8888
protected function createValidator($translator, $data, $rules, $messages, $customAttributes)

src/Remote/Validator.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public function __construct(BaseValidator $validator, $escape = false)
4848
/**
4949
* Validate request.
5050
*
51-
* @param $field
52-
* @param $parameters
51+
* @param $field
52+
* @param $parameters
5353
* @return void
5454
*
5555
* @throws \Illuminate\Validation\ValidationException
@@ -86,7 +86,7 @@ protected function throwValidationException($result, $validator)
8686
/**
8787
* Parse Validation input request data.
8888
*
89-
* @param $data
89+
* @param $data
9090
* @return array
9191
*/
9292
protected function parseAttributeName($data)
@@ -101,7 +101,7 @@ protected function parseAttributeName($data)
101101
/**
102102
* Parse Validation parameters.
103103
*
104-
* @param $parameters
104+
* @param $parameters
105105
* @return array
106106
*/
107107
protected function parseParameters($parameters)
@@ -117,7 +117,7 @@ protected function parseParameters($parameters)
117117
/**
118118
* Validate remote Javascript Validations.
119119
*
120-
* @param $attribute
120+
* @param $attribute
121121
* @param array $parameters
122122
* @return array|bool
123123
*/
@@ -144,7 +144,7 @@ protected function validateJsRemoteRequest($attribute, $parameters)
144144
/**
145145
* Sets data for validate remote rules.
146146
*
147-
* @param $attribute
147+
* @param $attribute
148148
* @param bool $validateAll
149149
* @return void
150150
*/
@@ -167,7 +167,7 @@ protected function setRemoteValidation($attribute, $validateAll = false)
167167
/**
168168
* Remove rules that should not be validated remotely.
169169
*
170-
* @param $rules
170+
* @param $rules
171171
* @param BaseValidator $validator
172172
* @return mixed
173173
*/

src/Support/AccessProtectedTrait.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ trait AccessProtectedTrait
99
/**
1010
* Create closure to call inaccessible method.
1111
*
12-
* @param $instance
12+
* @param $instance
1313
* @return \Closure
1414
*/
1515
protected function createProtectedCaller($instance)
@@ -26,8 +26,8 @@ protected function createProtectedCaller($instance)
2626
/**
2727
* Gets inaccessible property.
2828
*
29-
* @param $instance
30-
* @param $property
29+
* @param $instance
30+
* @param $property
3131
* @return \Closure
3232
*/
3333
protected function getProtected($instance, $property)
@@ -44,8 +44,8 @@ protected function getProtected($instance, $property)
4444
* Calls inaccessible method.
4545
*
4646
* @param object|\Closure $instance
47-
* @param $method
48-
* @param $args
47+
* @param $method
48+
* @param $args
4949
* @return mixed
5050
*/
5151
protected function callProtected($instance, $method, $args = [])

src/Support/DelegatedValidator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ public function sometimes($attribute, $rules, callable $callback)
193193
/**
194194
* Delegate method calls to validator instance.
195195
*
196-
* @param $method
197-
* @param $params
196+
* @param $method
197+
* @param $params
198198
* @return mixed
199199
*/
200200
public function __call($method, $params)

src/Support/RuleListTrait.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ trait RuleListTrait
4545
/**
4646
* Returns if rule is validated using Javascript.
4747
*
48-
* @param $rule
48+
* @param $rule
4949
* @return bool
5050
*/
5151
protected function isImplemented($rule)
@@ -56,7 +56,7 @@ protected function isImplemented($rule)
5656
/**
5757
* Check if rule must be validated in server-side.
5858
*
59-
* @param $rule
59+
* @param $rule
6060
* @return bool
6161
*/
6262
protected function isRemoteRule($rule)
@@ -79,7 +79,7 @@ protected function isFormRequestRule($rule)
7979
/**
8080
* Check if rule disables rule processing.
8181
*
82-
* @param $rule
82+
* @param $rule
8383
* @return bool
8484
*/
8585
protected function isDisableRule($rule)
@@ -90,7 +90,7 @@ protected function isDisableRule($rule)
9090
/**
9191
* Check if rules should be validated.
9292
*
93-
* @param $rules
93+
* @param $rules
9494
* @return bool
9595
*/
9696
protected function validationDisabled($rules)
@@ -103,7 +103,7 @@ protected function validationDisabled($rules)
103103
/**
104104
* Check if rules is for input file type.
105105
*
106-
* @param $rule
106+
* @param $rule
107107
* @return bool
108108
*/
109109
protected function isFileRule($rule)

0 commit comments

Comments
 (0)