From 0bc525860ccb093f0d452b410b2549b3e01432e7 Mon Sep 17 00:00:00 2001 From: Samuel Levy Date: Wed, 1 Sep 2021 07:08:19 +1000 Subject: [PATCH] [8.x] Added `prohibits` validation message (#5681) * Added `prohibits` validation * Update validation.php Co-authored-by: Taylor Otwell --- resources/lang/en/validation.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index 6ee8d8d7..21791139 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -109,6 +109,7 @@ 'prohibited' => 'The :attribute field is prohibited.', 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.', '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.', 'size' => [ 'numeric' => 'The :attribute must be :size.',