Skip to content

Commit

Permalink
Fix Laravel 11 validation sources
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubka committed Oct 27, 2024
1 parent f41b5f5 commit 3a2e2fe
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions resources/lang/en/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
'alpha_num' => 'The :attribute field must only contain letters and numbers.',
'array' => 'The :attribute field must be an array.',
'ascii' => 'The :attribute field must only contain single-byte alphanumeric characters and symbols.',
'attributes' => [],
'before' => 'The :attribute field must be a date before :date.',
'before_or_equal' => 'The :attribute field must be a date before or equal to :date.',
'between' => [
Expand All @@ -37,11 +36,6 @@
'confirmed' => 'The :attribute field confirmation does not match.',
'contains' => 'The :attribute field is missing a required value.',
'current_password' => 'The password is incorrect.',
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
'date' => 'The :attribute field must be a valid date.',
'date_equals' => 'The :attribute field must be a date equal to :date.',
'date_format' => 'The :attribute field must match the format :format.',
Expand Down Expand Up @@ -160,11 +154,11 @@
'starts_with' => 'The :attribute field must start with one of the following: :values.',
'string' => 'The :attribute field must be a string.',
'timezone' => 'The :attribute field must be a valid timezone.',
'ulid' => 'The :attribute field must be a valid ULID.',
'unique' => 'The :attribute has already been taken.',
'uploaded' => 'The :attribute failed to upload.',
'uppercase' => 'The :attribute field must be uppercase.',
'url' => 'The :attribute field must be a valid URL.',
'ulid' => 'The :attribute field must be a valid ULID.',
'uuid' => 'The :attribute field must be a valid UUID.',

'single' => 'When using :attribute it must be the only parameter in this request body',
Expand Down

0 comments on commit 3a2e2fe

Please sign in to comment.