From c11c23403c5ab4f50317b20690f529191e62abec Mon Sep 17 00:00:00 2001 From: andrey-helldar Date: Tue, 28 Nov 2023 00:55:11 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=9D=EF=B8=8F=20Updated=20Laravel=20Fra?= =?UTF-8?q?mework=20master=20keys?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/framework/master/validation.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/framework/master/validation.php b/source/framework/master/validation.php index 8c4e27b3788..a11f7f24851 100644 --- a/source/framework/master/validation.php +++ b/source/framework/master/validation.php @@ -48,6 +48,7 @@ 'ends_with' => 'The :attribute field must end with one of the following: :values.', 'enum' => 'The selected :attribute is invalid.', 'exists' => 'The selected :attribute is invalid.', + 'extensions' => 'The :attribute field must have one of the following extensions: :values.', 'file' => 'The :attribute field must be a file.', 'filled' => 'The :attribute field must have a value.', 'gt' => [ @@ -62,6 +63,7 @@ 'numeric' => 'The :attribute field must be greater than or equal to :value.', 'string' => 'The :attribute field must be greater than or equal to :value characters.', ], + 'hex_color' => 'The :attribute field must be a valid hexadecimal color.', 'image' => 'The :attribute field must be an image.', 'in' => 'The selected :attribute is invalid.', 'in_array' => 'The :attribute field must exist in :other.', @@ -117,6 +119,10 @@ 'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.', ], 'present' => 'The :attribute field must be present.', + 'present_if' => 'The :attribute field must be present when :other is :value.', + 'present_unless' => 'The :attribute field must be present unless :other is :value.', + 'present_with' => 'The :attribute field must be present when :values is present.', + 'present_with_all' => 'The :attribute field must be present when :values are present.', '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.',