Skip to content

Commit 3de91bc

Browse files
sort validation rules alphabetically (laravel#5728)
1 parent 33ceba7 commit 3de91bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

resources/lang/en/validation.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@
100100
'numeric' => 'The :attribute must be a number.',
101101
'password' => 'The password is incorrect.',
102102
'present' => 'The :attribute field must be present.',
103+
'prohibited' => 'The :attribute field is prohibited.',
104+
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
105+
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
106+
'prohibits' => 'The :attribute field prohibits :other from being present.',
103107
'regex' => 'The :attribute format is invalid.',
104108
'required' => 'The :attribute field is required.',
105109
'required_if' => 'The :attribute field is required when :other is :value.',
@@ -108,10 +112,6 @@
108112
'required_with_all' => 'The :attribute field is required when :values are present.',
109113
'required_without' => 'The :attribute field is required when :values is not present.',
110114
'required_without_all' => 'The :attribute field is required when none of :values are present.',
111-
'prohibited' => 'The :attribute field is prohibited.',
112-
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
113-
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
114-
'prohibits' => 'The :attribute field prohibits :other from being present.',
115115
'same' => 'The :attribute and :other must match.',
116116
'size' => [
117117
'numeric' => 'The :attribute must be :size.',

0 commit comments

Comments
 (0)