[8.x] Added `prohibits` validation message (#5681)

* Added `prohibits` validation

* Update validation.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
This commit is contained in:
Samuel Levy 2021-09-01 07:08:19 +10:00 committed by GitHub
parent a36f02c4f2
commit 0bc525860c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@
'prohibited' => 'The :attribute field is prohibited.', 'prohibited' => 'The :attribute field is prohibited.',
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.', 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.', 'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
'prohibits' => 'The :attribute field prohibits :other from being present.',
'same' => 'The :attribute and :other must match.', 'same' => 'The :attribute and :other must match.',
'size' => [ 'size' => [
'numeric' => 'The :attribute must be :size.', 'numeric' => 'The :attribute must be :size.',