From 303bbaeaef095641d35129b772c30a69038a596c Mon Sep 17 00:00:00 2001 From: Samuel Levy Date: Mon, 16 Aug 2021 20:40:55 +1000 Subject: [PATCH 1/2] Added `prohibits` validation --- 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 6ee8d8d77af..53fe0a7eb81 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 being present.', 'same' => 'The :attribute and :other must match.', 'size' => [ 'numeric' => 'The :attribute must be :size.', From 792f15d474cbbec1d7c061e57d91cba2636283aa Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 31 Aug 2021 16:08:09 -0500 Subject: [PATCH 2/2] Update validation.php --- resources/lang/en/validation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index 53fe0a7eb81..21791139b6c 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -109,7 +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 being present.', + 'prohibits' => 'The :attribute field prohibits :other from being present.', 'same' => 'The :attribute and :other must match.', 'size' => [ 'numeric' => 'The :attribute must be :size.',