Skip to content

Commit e464182

Browse files
authored
Add prohibited validation rule (laravel#5569)
1 parent 57ddc0e commit e464182

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/lang/en/validation.php

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
'required_with_all' => 'The :attribute field is required when :values are present.',
105105
'required_without' => 'The :attribute field is required when :values is not present.',
106106
'required_without_all' => 'The :attribute field is required when none of :values are present.',
107+
'prohibited' => 'The :attribute field is prohibited.',
107108
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
108109
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
109110
'same' => 'The :attribute and :other must match.',

0 commit comments

Comments
 (0)