From 2b03afdb22d01fa66c31c9b4f5b9e0fde19e81c1 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Fri, 10 Mar 2023 13:03:16 +0000 Subject: [PATCH 1/8] Apply fixes from StyleCI --- src/Rules/ValidBase64.php | 5 +- src/Rules/ValidBitcoinAddress.php | 5 +- src/Rules/ValidCapitalCharWithNumber.php | 5 +- src/Rules/ValidCarNumber.php | 5 +- src/Rules/ValidCartNumberIran.php | 5 +- src/Rules/ValidDiscordUsername.php | 5 +- src/Rules/ValidDuplicate.php | 5 +- src/Rules/ValidDuplicateCharacter.php | 5 +- src/Rules/ValidEvenNumber.php | 5 +- src/Rules/ValidHashtag.php | 5 +- src/Rules/ValidHexColor.php | 5 +- src/Rules/ValidHtmlTag.php | 5 +- src/Rules/ValidImei.php | 7 +-- src/Rules/ValidIpAddressIPV4.php | 5 +- src/Rules/ValidIpAddressIPV6.php | 5 +- src/Rules/ValidJalaliDate.php | 7 +-- src/Rules/ValidJwt.php | 5 +- src/Rules/ValidNameDaysWeek.php | 5 +- src/Rules/ValidNationalCard.php | 5 +- src/Rules/ValidOddNumber.php | 5 +- src/Rules/ValidPattern.php | 5 +- src/Rules/ValidPhoneNumber.php | 5 +- src/Rules/ValidPort.php | 5 +- src/Rules/ValidSlashEndOfString.php | 5 +- src/Rules/ValidSlug.php | 5 +- src/Rules/ValidStrongPassword.php | 5 +- src/Rules/ValidUlid.php | 5 +- src/Rules/ValidUrl.php | 5 +- src/Rules/ValidUsername.php | 5 +- src/Rules/ValidUuid.php | 5 +- src/lang/It/validate.php | 58 ++++++++++++------------ src/lang/ar/validate.php | 58 ++++++++++++------------ src/lang/en/validate.php | 58 ++++++++++++------------ src/lang/fa/validate.php | 58 ++++++++++++------------ src/lang/fr/validate.php | 58 ++++++++++++------------ src/lang/hi/validate.php | 58 ++++++++++++------------ src/lang/ja/validate.php | 58 ++++++++++++------------ src/lang/ko/validate.php | 58 ++++++++++++------------ src/lang/ru/validate.php | 58 ++++++++++++------------ src/lang/zh_CN/validate.php | 58 ++++++++++++------------ tests/BaseTest.php | 3 +- 41 files changed, 384 insertions(+), 353 deletions(-) diff --git a/src/Rules/ValidBase64.php b/src/Rules/ValidBase64.php index 460e53cd..b2bb6ec8 100644 --- a/src/Rules/ValidBase64.php +++ b/src/Rules/ValidBase64.php @@ -9,8 +9,9 @@ class ValidBase64 implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidBitcoinAddress.php b/src/Rules/ValidBitcoinAddress.php index 3c0ee29d..7f38ff48 100644 --- a/src/Rules/ValidBitcoinAddress.php +++ b/src/Rules/ValidBitcoinAddress.php @@ -9,8 +9,9 @@ class ValidBitcoinAddress implements Rule /** * Check bitcoin address. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCapitalCharWithNumber.php b/src/Rules/ValidCapitalCharWithNumber.php index dd1e26b3..f3cc7a9c 100644 --- a/src/Rules/ValidCapitalCharWithNumber.php +++ b/src/Rules/ValidCapitalCharWithNumber.php @@ -9,8 +9,9 @@ class ValidCapitalCharWithNumber implements Rule /** * Check all words are capital & with hyphen & number. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCarNumber.php b/src/Rules/ValidCarNumber.php index 6aed527f..e1d75c13 100644 --- a/src/Rules/ValidCarNumber.php +++ b/src/Rules/ValidCarNumber.php @@ -9,8 +9,9 @@ class ValidCarNumber implements Rule /** * Check car number is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCartNumberIran.php b/src/Rules/ValidCartNumberIran.php index 74fa388c..9bd6c746 100644 --- a/src/Rules/ValidCartNumberIran.php +++ b/src/Rules/ValidCartNumberIran.php @@ -9,8 +9,9 @@ class ValidCartNumberIran implements Rule /** * Check cart number is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDiscordUsername.php b/src/Rules/ValidDiscordUsername.php index d72cce7c..25087ab9 100644 --- a/src/Rules/ValidDiscordUsername.php +++ b/src/Rules/ValidDiscordUsername.php @@ -9,8 +9,9 @@ class ValidDiscordUsername implements Rule /** * Check discord username is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDuplicate.php b/src/Rules/ValidDuplicate.php index fa802ee0..9a1c0742 100644 --- a/src/Rules/ValidDuplicate.php +++ b/src/Rules/ValidDuplicate.php @@ -9,8 +9,9 @@ class ValidDuplicate implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDuplicateCharacter.php b/src/Rules/ValidDuplicateCharacter.php index 5e6a58c2..4dca9ddd 100644 --- a/src/Rules/ValidDuplicateCharacter.php +++ b/src/Rules/ValidDuplicateCharacter.php @@ -9,8 +9,9 @@ class ValidDuplicateCharacter implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidEvenNumber.php b/src/Rules/ValidEvenNumber.php index 18f3258f..82864195 100644 --- a/src/Rules/ValidEvenNumber.php +++ b/src/Rules/ValidEvenNumber.php @@ -9,8 +9,9 @@ class ValidEvenNumber implements Rule /** * Check number is even. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHashtag.php b/src/Rules/ValidHashtag.php index 48d3a642..9a2d0379 100644 --- a/src/Rules/ValidHashtag.php +++ b/src/Rules/ValidHashtag.php @@ -9,8 +9,9 @@ class ValidHashtag implements Rule /** * Check value contains hashtag. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHexColor.php b/src/Rules/ValidHexColor.php index 8a132a27..e8ffe89c 100644 --- a/src/Rules/ValidHexColor.php +++ b/src/Rules/ValidHexColor.php @@ -9,8 +9,9 @@ class ValidHexColor implements Rule /** * Check hex color is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHtmlTag.php b/src/Rules/ValidHtmlTag.php index 8d24933d..4dbbf403 100644 --- a/src/Rules/ValidHtmlTag.php +++ b/src/Rules/ValidHtmlTag.php @@ -9,8 +9,9 @@ class ValidHtmlTag implements Rule /** * Check html tag is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidImei.php b/src/Rules/ValidImei.php index 73207b3c..b808b3a4 100644 --- a/src/Rules/ValidImei.php +++ b/src/Rules/ValidImei.php @@ -9,15 +9,16 @@ class ValidImei implements Rule /** * Check jwt is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) { $imei = $value; - if (strlen($imei) != 15 || ! ctype_digit($imei)) { + if (strlen($imei) != 15 || !ctype_digit($imei)) { return false; } diff --git a/src/Rules/ValidIpAddressIPV4.php b/src/Rules/ValidIpAddressIPV4.php index da364c28..5597feb3 100644 --- a/src/Rules/ValidIpAddressIPV4.php +++ b/src/Rules/ValidIpAddressIPV4.php @@ -9,8 +9,9 @@ class ValidIpAddressIPV4 implements Rule /** * Check ip address (ipv4) is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidIpAddressIPV6.php b/src/Rules/ValidIpAddressIPV6.php index d9486ac6..3db78a32 100644 --- a/src/Rules/ValidIpAddressIPV6.php +++ b/src/Rules/ValidIpAddressIPV6.php @@ -9,8 +9,9 @@ class ValidIpAddressIPV6 implements Rule /** * Check ip address (ipv6) is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidJalaliDate.php b/src/Rules/ValidJalaliDate.php index 2fa79d45..ba1063b0 100644 --- a/src/Rules/ValidJalaliDate.php +++ b/src/Rules/ValidJalaliDate.php @@ -10,13 +10,14 @@ class ValidJalaliDate implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) { - if (! is_string($value)) { + if (!is_string($value)) { return false; } diff --git a/src/Rules/ValidJwt.php b/src/Rules/ValidJwt.php index a84ee7e4..e8a34a3f 100644 --- a/src/Rules/ValidJwt.php +++ b/src/Rules/ValidJwt.php @@ -9,8 +9,9 @@ class ValidJwt implements Rule /** * Check jwt is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidNameDaysWeek.php b/src/Rules/ValidNameDaysWeek.php index bf9d36c4..1bd2062f 100644 --- a/src/Rules/ValidNameDaysWeek.php +++ b/src/Rules/ValidNameDaysWeek.php @@ -9,8 +9,9 @@ class ValidNameDaysWeek implements Rule /** * Check day is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidNationalCard.php b/src/Rules/ValidNationalCard.php index dc1dafcc..8ce7ed86 100644 --- a/src/Rules/ValidNationalCard.php +++ b/src/Rules/ValidNationalCard.php @@ -9,8 +9,9 @@ class ValidNationalCard implements Rule /** * Check national card is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidOddNumber.php b/src/Rules/ValidOddNumber.php index fbac8603..edea3535 100644 --- a/src/Rules/ValidOddNumber.php +++ b/src/Rules/ValidOddNumber.php @@ -9,8 +9,9 @@ class ValidOddNumber implements Rule /** * Check number is odd. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPattern.php b/src/Rules/ValidPattern.php index 09362349..2feae322 100644 --- a/src/Rules/ValidPattern.php +++ b/src/Rules/ValidPattern.php @@ -15,8 +15,9 @@ public function __construct( /** * Check texts with specific pattern. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPhoneNumber.php b/src/Rules/ValidPhoneNumber.php index 6542aa7e..0ab489c8 100644 --- a/src/Rules/ValidPhoneNumber.php +++ b/src/Rules/ValidPhoneNumber.php @@ -9,8 +9,9 @@ class ValidPhoneNumber implements Rule /** * Check phone number is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPort.php b/src/Rules/ValidPort.php index a5279ec9..af9644b3 100644 --- a/src/Rules/ValidPort.php +++ b/src/Rules/ValidPort.php @@ -9,8 +9,9 @@ class ValidPort implements Rule /** * Check port is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidSlashEndOfString.php b/src/Rules/ValidSlashEndOfString.php index 1df0369e..2b211cd9 100644 --- a/src/Rules/ValidSlashEndOfString.php +++ b/src/Rules/ValidSlashEndOfString.php @@ -9,8 +9,9 @@ class ValidSlashEndOfString implements Rule /** * Check write slash at the end of string. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidSlug.php b/src/Rules/ValidSlug.php index 9645cf0b..4f0d15b3 100644 --- a/src/Rules/ValidSlug.php +++ b/src/Rules/ValidSlug.php @@ -9,8 +9,9 @@ class ValidSlug implements Rule /** * Check slug is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidStrongPassword.php b/src/Rules/ValidStrongPassword.php index 4fda294e..4a8633f0 100644 --- a/src/Rules/ValidStrongPassword.php +++ b/src/Rules/ValidStrongPassword.php @@ -9,8 +9,9 @@ class ValidStrongPassword implements Rule /** * Check password started by capital letters & contains lowercase letters & contains number. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUlid.php b/src/Rules/ValidUlid.php index 620d51d1..3ba8854d 100644 --- a/src/Rules/ValidUlid.php +++ b/src/Rules/ValidUlid.php @@ -9,8 +9,9 @@ class ValidUlid implements Rule /** * Check ulid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUrl.php b/src/Rules/ValidUrl.php index 9738b758..3cec2943 100644 --- a/src/Rules/ValidUrl.php +++ b/src/Rules/ValidUrl.php @@ -9,8 +9,9 @@ class ValidUrl implements Rule /** * Check url is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUsername.php b/src/Rules/ValidUsername.php index 9e1c8b40..cbd2befb 100644 --- a/src/Rules/ValidUsername.php +++ b/src/Rules/ValidUsername.php @@ -9,8 +9,9 @@ class ValidUsername implements Rule /** * It checks that the length of the username must be between 3 and 15 characters without spaces. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUuid.php b/src/Rules/ValidUuid.php index 2501d85c..3e5697f3 100644 --- a/src/Rules/ValidUuid.php +++ b/src/Rules/ValidUuid.php @@ -9,8 +9,9 @@ class ValidUuid implements Rule /** * Check uuid is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/lang/It/validate.php b/src/lang/It/validate.php index 8ca5520e..6a504f82 100644 --- a/src/lang/It/validate.php +++ b/src/lang/It/validate.php @@ -1,34 +1,34 @@ ':attribute non è valido.', - 'bitcoin-address' => ':attribute non è valido.', + 'base64' => ':attribute non è valido.', + 'bitcoin-address' => ':attribute non è valido.', 'capital-char-with-number' => ':attribute non è valido.', - 'car-number' => ':attribute non è valido.', - 'cart-number-iran' => ':attribute non è valido.', - 'discord-username' => ':attribute non è valido.', - 'even-number' => ':attribute non è valido.', - 'hashtag' => ':attribute non è valido.', - 'hex-color' => ':attribute non è valido.', - 'html-tag' => ':attribute non è valido.', - 'imei' => ':attribute non è valido.', - 'ipv4' => ':attribute non è valido.', - 'ipv6' => ':attribute non è valido.', - 'jwt' => ':attribute non è valido.', - 'name-days-week' => ':attribute non è valido.', - 'national-card' => ':attribute non è valido.', - 'odd-number' => ':attribute non è valido.', - 'phone-number' => ':attribute non è valido.', - 'port' => ':attribute non è valido.', - 'slash-end-of-string' => ':attribute non è valido.', - 'slug' => ':attribute non è valido.', - 'strong-password' => ':attribute non è valido.', - 'url' => ':attribute non è valido.', - 'username' => ':attribute non è valido.', - 'uuid' => ':attribute non è valido.', - 'jalali_date' => ':attribute non è valido.', - 'duplicate_character' => ':attribute non è valido.', - 'pattern' => ':attribute non è valido.', - 'duplicate' => ':attribute non è valido.', - 'ulid' => ':attribute non è valido.', + 'car-number' => ':attribute non è valido.', + 'cart-number-iran' => ':attribute non è valido.', + 'discord-username' => ':attribute non è valido.', + 'even-number' => ':attribute non è valido.', + 'hashtag' => ':attribute non è valido.', + 'hex-color' => ':attribute non è valido.', + 'html-tag' => ':attribute non è valido.', + 'imei' => ':attribute non è valido.', + 'ipv4' => ':attribute non è valido.', + 'ipv6' => ':attribute non è valido.', + 'jwt' => ':attribute non è valido.', + 'name-days-week' => ':attribute non è valido.', + 'national-card' => ':attribute non è valido.', + 'odd-number' => ':attribute non è valido.', + 'phone-number' => ':attribute non è valido.', + 'port' => ':attribute non è valido.', + 'slash-end-of-string' => ':attribute non è valido.', + 'slug' => ':attribute non è valido.', + 'strong-password' => ':attribute non è valido.', + 'url' => ':attribute non è valido.', + 'username' => ':attribute non è valido.', + 'uuid' => ':attribute non è valido.', + 'jalali_date' => ':attribute non è valido.', + 'duplicate_character' => ':attribute non è valido.', + 'pattern' => ':attribute non è valido.', + 'duplicate' => ':attribute non è valido.', + 'ulid' => ':attribute non è valido.', ]; diff --git a/src/lang/ar/validate.php b/src/lang/ar/validate.php index 0dbed312..093f189b 100644 --- a/src/lang/ar/validate.php +++ b/src/lang/ar/validate.php @@ -1,34 +1,34 @@ ':attribute غير صالح.', - 'bitcoin-address' => ':attribute غير صالح.', + 'base64' => ':attribute غير صالح.', + 'bitcoin-address' => ':attribute غير صالح.', 'capital-char-with-number' => ':attribute غير صالح.', - 'car-number' => ':attribute غير صالح.', - 'cart-number-iran' => ':attribute غير صالح.', - 'discord-username' => ':attribute غير صالح.', - 'even-number' => ':attribute غير صالح.', - 'hashtag' => ':attribute غير صالح.', - 'hex-color' => ':attribute غير صالح.', - 'html-tag' => ':attribute غير صالح.', - 'imei' => ':attribute غير صالح.', - 'ipv4' => ':attribute غير صالح.', - 'ipv6' => ':attribute غير صالح.', - 'jwt' => ':attribute غير صالح.', - 'name-days-week' => ':attribute غير صالح.', - 'national-card' => ':attribute غير صالح.', - 'odd-number' => ':attribute غير صالح.', - 'phone-number' => ':attribute غير صالح.', - 'port' => ':attribute غير صالح.', - 'slash-end-of-string' => ':attribute غير صالح.', - 'slug' => ':attribute غير صالح.', - 'strong-password' => ':attribute غير صالح.', - 'url' => ':attribute غير صالح.', - 'username' => ':attribute غير صالح.', - 'uuid' => ':attribute غير صالح.', - 'jalali_date' => ':attribute غير صالح.', - 'duplicate_character' => ':attribute غير صالح.', - 'pattern' => ':attribute غير صالح.', - 'duplicate' => ':attribute غير صالح.', - 'ulid' => ':attribute غير صالح.', + 'car-number' => ':attribute غير صالح.', + 'cart-number-iran' => ':attribute غير صالح.', + 'discord-username' => ':attribute غير صالح.', + 'even-number' => ':attribute غير صالح.', + 'hashtag' => ':attribute غير صالح.', + 'hex-color' => ':attribute غير صالح.', + 'html-tag' => ':attribute غير صالح.', + 'imei' => ':attribute غير صالح.', + 'ipv4' => ':attribute غير صالح.', + 'ipv6' => ':attribute غير صالح.', + 'jwt' => ':attribute غير صالح.', + 'name-days-week' => ':attribute غير صالح.', + 'national-card' => ':attribute غير صالح.', + 'odd-number' => ':attribute غير صالح.', + 'phone-number' => ':attribute غير صالح.', + 'port' => ':attribute غير صالح.', + 'slash-end-of-string' => ':attribute غير صالح.', + 'slug' => ':attribute غير صالح.', + 'strong-password' => ':attribute غير صالح.', + 'url' => ':attribute غير صالح.', + 'username' => ':attribute غير صالح.', + 'uuid' => ':attribute غير صالح.', + 'jalali_date' => ':attribute غير صالح.', + 'duplicate_character' => ':attribute غير صالح.', + 'pattern' => ':attribute غير صالح.', + 'duplicate' => ':attribute غير صالح.', + 'ulid' => ':attribute غير صالح.', ]; diff --git a/src/lang/en/validate.php b/src/lang/en/validate.php index 1fa0d3fa..cf875e8b 100644 --- a/src/lang/en/validate.php +++ b/src/lang/en/validate.php @@ -1,34 +1,34 @@ 'The :attribute is not valid.', - 'bitcoin-address' => 'The :attribute is not valid.', + 'base64' => 'The :attribute is not valid.', + 'bitcoin-address' => 'The :attribute is not valid.', 'capital-char-with-number' => 'The :attribute is not valid.', - 'car-number' => 'The :attribute is not valid.', - 'cart-number-iran' => 'The :attribute is not valid.', - 'discord-username' => 'The :attribute is not valid.', - 'even-number' => 'The :attribute is not valid.', - 'hashtag' => 'The :attribute is not valid.', - 'hex-color' => 'The :attribute is not valid.', - 'html-tag' => 'The :attribute is not valid.', - 'imei' => 'The :attribute is not valid.', - 'ipv4' => 'The :attribute is not valid.', - 'ipv6' => 'The :attribute is not valid.', - 'jwt' => 'The :attribute is not valid.', - 'name-days-week' => 'The :attribute is not valid.', - 'national-card' => 'The :attribute is not valid.', - 'odd-number' => 'The :attribute is not valid.', - 'phone-number' => 'The :attribute is not valid.', - 'port' => 'The :attribute is not valid.', - 'slash-end-of-string' => 'The :attribute is not valid.', - 'slug' => 'The :attribute is not valid.', - 'strong-password' => 'The :attribute is not valid.', - 'url' => 'The :attribute is not valid.', - 'username' => 'The :attribute is not valid.', - 'uuid' => 'The :attribute is not valid.', - 'jalali_date' => 'The :attribute is not valid.', - 'duplicate_character' => 'The :attribute is not valid.', - 'pattern' => 'The :attribute is not valid.', - 'duplicate' => 'The :attribute is not valid.', - 'ulid' => 'The :attribute is not valid.', + 'car-number' => 'The :attribute is not valid.', + 'cart-number-iran' => 'The :attribute is not valid.', + 'discord-username' => 'The :attribute is not valid.', + 'even-number' => 'The :attribute is not valid.', + 'hashtag' => 'The :attribute is not valid.', + 'hex-color' => 'The :attribute is not valid.', + 'html-tag' => 'The :attribute is not valid.', + 'imei' => 'The :attribute is not valid.', + 'ipv4' => 'The :attribute is not valid.', + 'ipv6' => 'The :attribute is not valid.', + 'jwt' => 'The :attribute is not valid.', + 'name-days-week' => 'The :attribute is not valid.', + 'national-card' => 'The :attribute is not valid.', + 'odd-number' => 'The :attribute is not valid.', + 'phone-number' => 'The :attribute is not valid.', + 'port' => 'The :attribute is not valid.', + 'slash-end-of-string' => 'The :attribute is not valid.', + 'slug' => 'The :attribute is not valid.', + 'strong-password' => 'The :attribute is not valid.', + 'url' => 'The :attribute is not valid.', + 'username' => 'The :attribute is not valid.', + 'uuid' => 'The :attribute is not valid.', + 'jalali_date' => 'The :attribute is not valid.', + 'duplicate_character' => 'The :attribute is not valid.', + 'pattern' => 'The :attribute is not valid.', + 'duplicate' => 'The :attribute is not valid.', + 'ulid' => 'The :attribute is not valid.', ]; diff --git a/src/lang/fa/validate.php b/src/lang/fa/validate.php index 533d0f97..fb5b7946 100644 --- a/src/lang/fa/validate.php +++ b/src/lang/fa/validate.php @@ -1,34 +1,34 @@ 'مقدار :attribute صحیح نمی باشد.', - 'bitcoin-address' => 'مقدار :attribute صحیح نمی باشد.', + 'base64' => 'مقدار :attribute صحیح نمی باشد.', + 'bitcoin-address' => 'مقدار :attribute صحیح نمی باشد.', 'capital-char-with-number' => 'مقدار :attribute صحیح نمی باشد.', - 'car-number' => 'مقدار :attribute صحیح نمی باشد.', - 'cart-number-iran' => 'مقدار :attribute صحیح نمی باشد.', - 'discord-username' => 'مقدار :attribute صحیح نمی باشد.', - 'even-number' => 'مقدار :attribute صحیح نمی باشد.', - 'hashtag' => 'مقدار :attribute صحیح نمی باشد.', - 'hex-color' => 'مقدار :attribute صحیح نمی باشد.', - 'html-tag' => 'مقدار :attribute صحیح نمی باشد.', - 'imei' => 'مقدار :attribute صحیح نمی باشد.', - 'ipv4' => 'مقدار :attribute صحیح نمی باشد.', - 'ipv6' => 'مقدار :attribute صحیح نمی باشد.', - 'jwt' => 'مقدار :attribute صحیح نمی باشد.', - 'name-days-week' => 'مقدار :attribute صحیح نمی باشد.', - 'national-card' => 'مقدار :attribute صحیح نمی باشد.', - 'odd-number' => 'مقدار :attribute صحیح نمی باشد.', - 'phone-number' => 'مقدار :attribute صحیح نمی باشد.', - 'port' => 'مقدار :attribute صحیح نمی باشد.', - 'slash-end-of-string' => 'مقدار :attribute صحیح نمی باشد.', - 'slug' => 'مقدار :attribute صحیح نمی باشد.', - 'strong-password' => 'مقدار :attribute صحیح نمی باشد.', - 'url' => 'مقدار :attribute صحیح نمی باشد.', - 'username' => 'مقدار :attribute صحیح نمی باشد.', - 'uuid' => 'مقدار :attribute صحیح نمی باشد.', - 'jalali_date' => 'مقدار :attribute صحیح نمی باشد.', - 'duplicate_character' => 'مقدار :attribute صحیح نمی باشد.', - 'pattern' => 'مقدار :attribute صحیح نمی باشد.', - 'duplicate' => 'مقدار :attribute صحیح نمی باشد.', - 'ulid' => 'مقدار :attribute صحیح نمی باشد.', + 'car-number' => 'مقدار :attribute صحیح نمی باشد.', + 'cart-number-iran' => 'مقدار :attribute صحیح نمی باشد.', + 'discord-username' => 'مقدار :attribute صحیح نمی باشد.', + 'even-number' => 'مقدار :attribute صحیح نمی باشد.', + 'hashtag' => 'مقدار :attribute صحیح نمی باشد.', + 'hex-color' => 'مقدار :attribute صحیح نمی باشد.', + 'html-tag' => 'مقدار :attribute صحیح نمی باشد.', + 'imei' => 'مقدار :attribute صحیح نمی باشد.', + 'ipv4' => 'مقدار :attribute صحیح نمی باشد.', + 'ipv6' => 'مقدار :attribute صحیح نمی باشد.', + 'jwt' => 'مقدار :attribute صحیح نمی باشد.', + 'name-days-week' => 'مقدار :attribute صحیح نمی باشد.', + 'national-card' => 'مقدار :attribute صحیح نمی باشد.', + 'odd-number' => 'مقدار :attribute صحیح نمی باشد.', + 'phone-number' => 'مقدار :attribute صحیح نمی باشد.', + 'port' => 'مقدار :attribute صحیح نمی باشد.', + 'slash-end-of-string' => 'مقدار :attribute صحیح نمی باشد.', + 'slug' => 'مقدار :attribute صحیح نمی باشد.', + 'strong-password' => 'مقدار :attribute صحیح نمی باشد.', + 'url' => 'مقدار :attribute صحیح نمی باشد.', + 'username' => 'مقدار :attribute صحیح نمی باشد.', + 'uuid' => 'مقدار :attribute صحیح نمی باشد.', + 'jalali_date' => 'مقدار :attribute صحیح نمی باشد.', + 'duplicate_character' => 'مقدار :attribute صحیح نمی باشد.', + 'pattern' => 'مقدار :attribute صحیح نمی باشد.', + 'duplicate' => 'مقدار :attribute صحیح نمی باشد.', + 'ulid' => 'مقدار :attribute صحیح نمی باشد.', ]; diff --git a/src/lang/fr/validate.php b/src/lang/fr/validate.php index 778969ea..35030479 100644 --- a/src/lang/fr/validate.php +++ b/src/lang/fr/validate.php @@ -1,34 +1,34 @@ ":attribute n'est pas valide.", - 'bitcoin-address' => ":attribute n'est pas valide.", + 'base64' => ":attribute n'est pas valide.", + 'bitcoin-address' => ":attribute n'est pas valide.", 'capital-char-with-number' => ":attribute n'est pas valide.", - 'car-number' => ":attribute n'est pas valide.", - 'cart-number-iran' => ":attribute n'est pas valide.", - 'discord-username' => ":attribute n'est pas valide.", - 'even-number' => ":attribute n'est pas valide.", - 'hashtag' => ":attribute n'est pas valide.", - 'hex-color' => ":attribute n'est pas valide.", - 'html-tag' => ":attribute n'est pas valide.", - 'imei' => ":attribute n'est pas valide.", - 'ipv4' => ":attribute n'est pas valide.", - 'ipv6' => ":attribute n'est pas valide.", - 'jwt' => ":attribute n'est pas valide.", - 'name-days-week' => ":attribute n'est pas valide.", - 'national-card' => ":attribute n'est pas valide.", - 'odd-number' => ":attribute n'est pas valide.", - 'phone-number' => ":attribute n'est pas valide.", - 'port' => ":attribute n'est pas valide.", - 'slash-end-of-string' => ":attribute n'est pas valide.", - 'slug' => ":attribute n'est pas valide.", - 'strong-password' => ":attribute n'est pas valide.", - 'url' => ":attribute n'est pas valide.", - 'username' => ":attribute n'est pas valide.", - 'uuid' => ":attribute n'est pas valide.", - 'jalali_date' => ":attribute n'est pas valide.", - 'duplicate_character' => ":attribute n'est pas valide.", - 'pattern' => ":attribute n'est pas valide.", - 'duplicate' => ":attribute n'est pas valide.", - 'ulid' => ":attribute n'est pas valide.", + 'car-number' => ":attribute n'est pas valide.", + 'cart-number-iran' => ":attribute n'est pas valide.", + 'discord-username' => ":attribute n'est pas valide.", + 'even-number' => ":attribute n'est pas valide.", + 'hashtag' => ":attribute n'est pas valide.", + 'hex-color' => ":attribute n'est pas valide.", + 'html-tag' => ":attribute n'est pas valide.", + 'imei' => ":attribute n'est pas valide.", + 'ipv4' => ":attribute n'est pas valide.", + 'ipv6' => ":attribute n'est pas valide.", + 'jwt' => ":attribute n'est pas valide.", + 'name-days-week' => ":attribute n'est pas valide.", + 'national-card' => ":attribute n'est pas valide.", + 'odd-number' => ":attribute n'est pas valide.", + 'phone-number' => ":attribute n'est pas valide.", + 'port' => ":attribute n'est pas valide.", + 'slash-end-of-string' => ":attribute n'est pas valide.", + 'slug' => ":attribute n'est pas valide.", + 'strong-password' => ":attribute n'est pas valide.", + 'url' => ":attribute n'est pas valide.", + 'username' => ":attribute n'est pas valide.", + 'uuid' => ":attribute n'est pas valide.", + 'jalali_date' => ":attribute n'est pas valide.", + 'duplicate_character' => ":attribute n'est pas valide.", + 'pattern' => ":attribute n'est pas valide.", + 'duplicate' => ":attribute n'est pas valide.", + 'ulid' => ":attribute n'est pas valide.", ]; diff --git a/src/lang/hi/validate.php b/src/lang/hi/validate.php index 12736715..1e6c0213 100644 --- a/src/lang/hi/validate.php +++ b/src/lang/hi/validate.php @@ -1,34 +1,34 @@ ':attributeमान्य नहीं है।.', - 'bitcoin-address' => ':attributeमान्य नहीं है।.', + 'base64' => ':attributeमान्य नहीं है।.', + 'bitcoin-address' => ':attributeमान्य नहीं है।.', 'capital-char-with-number' => ':attributeमान्य नहीं है।.', - 'car-number' => ':attributeमान्य नहीं है।.', - 'cart-number-iran' => ':attributeमान्य नहीं है।.', - 'discord-username' => ':attributeमान्य नहीं है।.', - 'even-number' => ':attributeमान्य नहीं है।.', - 'hashtag' => ':attributeमान्य नहीं है।.', - 'hex-color' => ':attributeमान्य नहीं है।.', - 'html-tag' => ':attributeमान्य नहीं है।.', - 'imei' => ':attributeमान्य नहीं है।.', - 'ipv4' => ':attributeमान्य नहीं है।.', - 'ipv6' => ':attributeमान्य नहीं है।.', - 'jwt' => ':attributeमान्य नहीं है।.', - 'name-days-week' => ':attributeमान्य नहीं है।.', - 'national-card' => ':attributeमान्य नहीं है।.', - 'odd-number' => ':attributeमान्य नहीं है।.', - 'phone-number' => ':attributeमान्य नहीं है।.', - 'port' => ':attributeमान्य नहीं है।.', - 'slash-end-of-string' => ':attributeमान्य नहीं है।.', - 'slug' => ':attributeमान्य नहीं है।.', - 'strong-password' => ':attributeमान्य नहीं है।.', - 'url' => ':attributeमान्य नहीं है।.', - 'username' => ':attributeमान्य नहीं है।.', - 'uuid' => ':attributeमान्य नहीं है।.', - 'jalali_date' => ':attributeमान्य नहीं है।.', - 'duplicate_character' => ':attributeमान्य नहीं है।.', - 'pattern' => ':attributeमान्य नहीं है।.', - 'duplicate' => ':attributeमान्य नहीं है।.', - 'ulid' => ':attributeमान्य नहीं है।.', + 'car-number' => ':attributeमान्य नहीं है।.', + 'cart-number-iran' => ':attributeमान्य नहीं है।.', + 'discord-username' => ':attributeमान्य नहीं है।.', + 'even-number' => ':attributeमान्य नहीं है।.', + 'hashtag' => ':attributeमान्य नहीं है।.', + 'hex-color' => ':attributeमान्य नहीं है।.', + 'html-tag' => ':attributeमान्य नहीं है।.', + 'imei' => ':attributeमान्य नहीं है।.', + 'ipv4' => ':attributeमान्य नहीं है।.', + 'ipv6' => ':attributeमान्य नहीं है।.', + 'jwt' => ':attributeमान्य नहीं है।.', + 'name-days-week' => ':attributeमान्य नहीं है।.', + 'national-card' => ':attributeमान्य नहीं है।.', + 'odd-number' => ':attributeमान्य नहीं है।.', + 'phone-number' => ':attributeमान्य नहीं है।.', + 'port' => ':attributeमान्य नहीं है।.', + 'slash-end-of-string' => ':attributeमान्य नहीं है।.', + 'slug' => ':attributeमान्य नहीं है।.', + 'strong-password' => ':attributeमान्य नहीं है।.', + 'url' => ':attributeमान्य नहीं है।.', + 'username' => ':attributeमान्य नहीं है।.', + 'uuid' => ':attributeमान्य नहीं है।.', + 'jalali_date' => ':attributeमान्य नहीं है।.', + 'duplicate_character' => ':attributeमान्य नहीं है।.', + 'pattern' => ':attributeमान्य नहीं है।.', + 'duplicate' => ':attributeमान्य नहीं है।.', + 'ulid' => ':attributeमान्य नहीं है।.', ]; diff --git a/src/lang/ja/validate.php b/src/lang/ja/validate.php index ff95c7e2..fdf49f57 100644 --- a/src/lang/ja/validate.php +++ b/src/lang/ja/validate.php @@ -1,34 +1,34 @@ ':attribute有効じゃない。', - 'bitcoin-address' => ':attribute有効じゃない。', + 'base64' => ':attribute有効じゃない。', + 'bitcoin-address' => ':attribute有効じゃない。', 'capital-char-with-number' => ':attribute有効じゃない。', - 'car-number' => ':attribute有効じゃない。', - 'cart-number-iran' => ':attribute有効じゃない。', - 'discord-username' => ':attribute有効じゃない。', - 'even-number' => ':attribute有効じゃない。', - 'hashtag' => ':attribute有効じゃない。', - 'hex-color' => ':attribute有効じゃない。', - 'html-tag' => ':attribute有効じゃない。', - 'imei' => ':attribute有効じゃない。', - 'ipv4' => ':attribute有効じゃない。', - 'ipv6' => ':attribute有効じゃない。', - 'jwt' => ':attribute有効じゃない。', - 'name-days-week' => ':attribute有効じゃない。', - 'national-card' => ':attribute有効じゃない。', - 'odd-number' => ':attribute有効じゃない。', - 'phone-number' => ':attribute有効じゃない。', - 'port' => ':attribute有効じゃない。', - 'slash-end-of-string' => ':attribute有効じゃない。', - 'slug' => ':attribute有効じゃない。', - 'strong-password' => ':attribute有効じゃない。', - 'url' => ':attribute有効じゃない。', - 'username' => ':attribute有効じゃない。', - 'uuid' => ':attribute有効じゃない。', - 'jalali_date' => ':attribute有効じゃない。', - 'duplicate_character' => ':attribute有効じゃない。', - 'pattern' => ':attribute有効じゃない。', - 'duplicate' => ':attribute有効じゃない。', - 'ulid' => ':attribute有効じゃない。', + 'car-number' => ':attribute有効じゃない。', + 'cart-number-iran' => ':attribute有効じゃない。', + 'discord-username' => ':attribute有効じゃない。', + 'even-number' => ':attribute有効じゃない。', + 'hashtag' => ':attribute有効じゃない。', + 'hex-color' => ':attribute有効じゃない。', + 'html-tag' => ':attribute有効じゃない。', + 'imei' => ':attribute有効じゃない。', + 'ipv4' => ':attribute有効じゃない。', + 'ipv6' => ':attribute有効じゃない。', + 'jwt' => ':attribute有効じゃない。', + 'name-days-week' => ':attribute有効じゃない。', + 'national-card' => ':attribute有効じゃない。', + 'odd-number' => ':attribute有効じゃない。', + 'phone-number' => ':attribute有効じゃない。', + 'port' => ':attribute有効じゃない。', + 'slash-end-of-string' => ':attribute有効じゃない。', + 'slug' => ':attribute有効じゃない。', + 'strong-password' => ':attribute有効じゃない。', + 'url' => ':attribute有効じゃない。', + 'username' => ':attribute有効じゃない。', + 'uuid' => ':attribute有効じゃない。', + 'jalali_date' => ':attribute有効じゃない。', + 'duplicate_character' => ':attribute有効じゃない。', + 'pattern' => ':attribute有効じゃない。', + 'duplicate' => ':attribute有効じゃない。', + 'ulid' => ':attribute有効じゃない。', ]; diff --git a/src/lang/ko/validate.php b/src/lang/ko/validate.php index c7202c93..a37209c6 100644 --- a/src/lang/ko/validate.php +++ b/src/lang/ko/validate.php @@ -1,34 +1,34 @@ ':attribute유효하지 않습니다.', - 'bitcoin-address' => ':attribute유효하지 않습니다.', + 'base64' => ':attribute유효하지 않습니다.', + 'bitcoin-address' => ':attribute유효하지 않습니다.', 'capital-char-with-number' => ':attribute유효하지 않습니다.', - 'car-number' => ':attribute유효하지 않습니다.', - 'cart-number-iran' => ':attribute유효하지 않습니다.', - 'discord-username' => ':attribute유효하지 않습니다.', - 'even-number' => ':attribute유효하지 않습니다.', - 'hashtag' => ':attribute유효하지 않습니다.', - 'hex-color' => ':attribute유효하지 않습니다.', - 'html-tag' => ':attribute유효하지 않습니다.', - 'imei' => ':attribute유효하지 않습니다.', - 'ipv4' => ':attribute유효하지 않습니다.', - 'ipv6' => ':attribute유효하지 않습니다.', - 'jwt' => ':attribute유효하지 않습니다.', - 'name-days-week' => ':attribute유효하지 않습니다.', - 'national-card' => ':attribute유효하지 않습니다.', - 'odd-number' => ':attribute유효하지 않습니다.', - 'phone-number' => ':attribute유효하지 않습니다.', - 'port' => ':attribute유효하지 않습니다.', - 'slash-end-of-string' => ':attribute유효하지 않습니다.', - 'slug' => ':attribute유효하지 않습니다.', - 'strong-password' => ':attribute유효하지 않습니다.', - 'url' => ':attribute유효하지 않습니다.', - 'username' => ':attribute유효하지 않습니다.', - 'uuid' => ':attribute유효하지 않습니다.', - 'jalali_date' => ':attribute유효하지 않습니다.', - 'duplicate_character' => ':attribute유효하지 않습니다.', - 'pattern' => ':attribute유효하지 않습니다.', - 'duplicate' => ':attribute유효하지 않습니다.', - 'ulid' => ':attribute유효하지 않습니다.', + 'car-number' => ':attribute유효하지 않습니다.', + 'cart-number-iran' => ':attribute유효하지 않습니다.', + 'discord-username' => ':attribute유효하지 않습니다.', + 'even-number' => ':attribute유효하지 않습니다.', + 'hashtag' => ':attribute유효하지 않습니다.', + 'hex-color' => ':attribute유효하지 않습니다.', + 'html-tag' => ':attribute유효하지 않습니다.', + 'imei' => ':attribute유효하지 않습니다.', + 'ipv4' => ':attribute유효하지 않습니다.', + 'ipv6' => ':attribute유효하지 않습니다.', + 'jwt' => ':attribute유효하지 않습니다.', + 'name-days-week' => ':attribute유효하지 않습니다.', + 'national-card' => ':attribute유효하지 않습니다.', + 'odd-number' => ':attribute유효하지 않습니다.', + 'phone-number' => ':attribute유효하지 않습니다.', + 'port' => ':attribute유효하지 않습니다.', + 'slash-end-of-string' => ':attribute유효하지 않습니다.', + 'slug' => ':attribute유효하지 않습니다.', + 'strong-password' => ':attribute유효하지 않습니다.', + 'url' => ':attribute유효하지 않습니다.', + 'username' => ':attribute유효하지 않습니다.', + 'uuid' => ':attribute유효하지 않습니다.', + 'jalali_date' => ':attribute유효하지 않습니다.', + 'duplicate_character' => ':attribute유효하지 않습니다.', + 'pattern' => ':attribute유효하지 않습니다.', + 'duplicate' => ':attribute유효하지 않습니다.', + 'ulid' => ':attribute유효하지 않습니다.', ]; diff --git a/src/lang/ru/validate.php b/src/lang/ru/validate.php index ce7ce6ed..c26526ff 100644 --- a/src/lang/ru/validate.php +++ b/src/lang/ru/validate.php @@ -1,34 +1,34 @@ ':attribute не действует.', - 'bitcoin-address' => ':attribute не действует.', + 'base64' => ':attribute не действует.', + 'bitcoin-address' => ':attribute не действует.', 'capital-char-with-number' => ':attribute не действует.', - 'car-number' => ':attribute не действует.', - 'cart-number-iran' => ':attribute не действует.', - 'discord-username' => ':attribute не действует.', - 'even-number' => ':attribute не действует.', - 'hashtag' => ':attribute не действует.', - 'hex-color' => ':attribute не действует.', - 'html-tag' => ':attribute не действует.', - 'imei' => ':attribute не действует.', - 'ipv4' => ':attribute не действует.', - 'ipv6' => ':attribute не действует.', - 'jwt' => ':attribute не действует.', - 'name-days-week' => ':attribute не действует.', - 'national-card' => ':attribute не действует.', - 'odd-number' => ':attribute не действует.', - 'phone-number' => ':attribute не действует.', - 'port' => ':attribute не действует.', - 'slash-end-of-string' => ':attribute не действует.', - 'slug' => ':attribute не действует.', - 'strong-password' => ':attribute не действует.', - 'url' => ':attribute не действует.', - 'username' => ':attribute не действует.', - 'uuid' => ':attribute не действует.', - 'jalali_date' => ':attribute не действует.', - 'duplicate_character' => ':attribute не действует.', - 'pattern' => ':attribute не действует.', - 'duplicate' => ':attribute не действует.', - 'ulid' => ':attribute не действует.', + 'car-number' => ':attribute не действует.', + 'cart-number-iran' => ':attribute не действует.', + 'discord-username' => ':attribute не действует.', + 'even-number' => ':attribute не действует.', + 'hashtag' => ':attribute не действует.', + 'hex-color' => ':attribute не действует.', + 'html-tag' => ':attribute не действует.', + 'imei' => ':attribute не действует.', + 'ipv4' => ':attribute не действует.', + 'ipv6' => ':attribute не действует.', + 'jwt' => ':attribute не действует.', + 'name-days-week' => ':attribute не действует.', + 'national-card' => ':attribute не действует.', + 'odd-number' => ':attribute не действует.', + 'phone-number' => ':attribute не действует.', + 'port' => ':attribute не действует.', + 'slash-end-of-string' => ':attribute не действует.', + 'slug' => ':attribute не действует.', + 'strong-password' => ':attribute не действует.', + 'url' => ':attribute не действует.', + 'username' => ':attribute не действует.', + 'uuid' => ':attribute не действует.', + 'jalali_date' => ':attribute не действует.', + 'duplicate_character' => ':attribute не действует.', + 'pattern' => ':attribute не действует.', + 'duplicate' => ':attribute не действует.', + 'ulid' => ':attribute не действует.', ]; diff --git a/src/lang/zh_CN/validate.php b/src/lang/zh_CN/validate.php index 1b1809c5..562f872f 100644 --- a/src/lang/zh_CN/validate.php +++ b/src/lang/zh_CN/validate.php @@ -1,34 +1,34 @@ ':attribute无效.', - 'bitcoin-address' => ':attribute无效.', + 'base64' => ':attribute无效.', + 'bitcoin-address' => ':attribute无效.', 'capital-char-with-number' => ':attribute无效.', - 'car-number' => ':attribute无效.', - 'cart-number-iran' => ':attribute无效.', - 'discord-username' => ':attribute无效.', - 'even-number' => ':attribute无效.', - 'hashtag' => ':attribute无效.', - 'hex-color' => ':attribute无效.', - 'html-tag' => ':attribute无效.', - 'imei' => ':attribute无效.', - 'ipv4' => ':attribute无效.', - 'ipv6' => ':attribute无效.', - 'jwt' => ':attribute无效.', - 'name-days-week' => ':attribute无效.', - 'national-card' => ':attribute无效.', - 'odd-number' => ':attribute无效.', - 'phone-number' => ':attribute无效.', - 'port' => ':attribute无效.', - 'slash-end-of-string' => ':attribute无效.', - 'slug' => ':attribute无效.', - 'strong-password' => ':attribute无效.', - 'url' => ':attribute无效.', - 'username' => ':attribute无效.', - 'uuid' => ':attribute无效.', - 'jalali_date' => ':attribute无效.', - 'duplicate_character' => ':attribute无效.', - 'pattern' => ':attribute无效.', - 'duplicate' => ':attribute无效.', - 'ulid' => ':attribute无效.', + 'car-number' => ':attribute无效.', + 'cart-number-iran' => ':attribute无效.', + 'discord-username' => ':attribute无效.', + 'even-number' => ':attribute无效.', + 'hashtag' => ':attribute无效.', + 'hex-color' => ':attribute无效.', + 'html-tag' => ':attribute无效.', + 'imei' => ':attribute无效.', + 'ipv4' => ':attribute无效.', + 'ipv6' => ':attribute无效.', + 'jwt' => ':attribute无效.', + 'name-days-week' => ':attribute无效.', + 'national-card' => ':attribute无效.', + 'odd-number' => ':attribute无效.', + 'phone-number' => ':attribute无效.', + 'port' => ':attribute无效.', + 'slash-end-of-string' => ':attribute无效.', + 'slug' => ':attribute无效.', + 'strong-password' => ':attribute无效.', + 'url' => ':attribute无效.', + 'username' => ':attribute无效.', + 'uuid' => ':attribute无效.', + 'jalali_date' => ':attribute无效.', + 'duplicate_character' => ':attribute无效.', + 'pattern' => ':attribute无效.', + 'duplicate' => ':attribute无效.', + 'ulid' => ':attribute无效.', ]; diff --git a/tests/BaseTest.php b/tests/BaseTest.php index 75e952e9..f97d1d6d 100644 --- a/tests/BaseTest.php +++ b/tests/BaseTest.php @@ -9,7 +9,8 @@ class BaseTest extends \Orchestra\Testbench\TestCase /** * Get package providers. * - * @param \Illuminate\Foundation\Application $app + * @param \Illuminate\Foundation\Application $app + * * @return array */ protected function getPackageProviders($app) From 184c8b09c8cc84839716551cb0926d3aa9c74221 Mon Sep 17 00:00:00 2001 From: milwad-dev Date: Fri, 10 Mar 2023 13:03:43 +0000 Subject: [PATCH 2/8] Fix styling --- src/Rules/ValidBase64.php | 5 +- src/Rules/ValidBitcoinAddress.php | 5 +- src/Rules/ValidCapitalCharWithNumber.php | 5 +- src/Rules/ValidCarNumber.php | 5 +- src/Rules/ValidCartNumberIran.php | 5 +- src/Rules/ValidDiscordUsername.php | 5 +- src/Rules/ValidDuplicate.php | 5 +- src/Rules/ValidDuplicateCharacter.php | 5 +- src/Rules/ValidEvenNumber.php | 5 +- src/Rules/ValidHashtag.php | 5 +- src/Rules/ValidHexColor.php | 5 +- src/Rules/ValidHtmlTag.php | 5 +- src/Rules/ValidImei.php | 7 ++- src/Rules/ValidIpAddressIPV4.php | 5 +- src/Rules/ValidIpAddressIPV6.php | 5 +- src/Rules/ValidJalaliDate.php | 7 ++- src/Rules/ValidJwt.php | 5 +- src/Rules/ValidNameDaysWeek.php | 5 +- src/Rules/ValidNationalCard.php | 5 +- src/Rules/ValidOddNumber.php | 5 +- src/Rules/ValidPattern.php | 5 +- src/Rules/ValidPhoneNumber.php | 5 +- src/Rules/ValidPort.php | 5 +- src/Rules/ValidSlashEndOfString.php | 5 +- src/Rules/ValidSlug.php | 5 +- src/Rules/ValidStrongPassword.php | 5 +- src/Rules/ValidUlid.php | 5 +- src/Rules/ValidUrl.php | 5 +- src/Rules/ValidUsername.php | 5 +- src/Rules/ValidUuid.php | 5 +- src/lang/It/validate.php | 58 ++++++++++++------------ src/lang/ar/validate.php | 58 ++++++++++++------------ src/lang/en/validate.php | 58 ++++++++++++------------ src/lang/fa/validate.php | 58 ++++++++++++------------ src/lang/fr/validate.php | 58 ++++++++++++------------ src/lang/hi/validate.php | 58 ++++++++++++------------ src/lang/ja/validate.php | 58 ++++++++++++------------ src/lang/ko/validate.php | 58 ++++++++++++------------ src/lang/ru/validate.php | 58 ++++++++++++------------ src/lang/zh_CN/validate.php | 58 ++++++++++++------------ tests/BaseTest.php | 3 +- 41 files changed, 353 insertions(+), 384 deletions(-) diff --git a/src/Rules/ValidBase64.php b/src/Rules/ValidBase64.php index b2bb6ec8..460e53cd 100644 --- a/src/Rules/ValidBase64.php +++ b/src/Rules/ValidBase64.php @@ -9,9 +9,8 @@ class ValidBase64 implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidBitcoinAddress.php b/src/Rules/ValidBitcoinAddress.php index 7f38ff48..3c0ee29d 100644 --- a/src/Rules/ValidBitcoinAddress.php +++ b/src/Rules/ValidBitcoinAddress.php @@ -9,9 +9,8 @@ class ValidBitcoinAddress implements Rule /** * Check bitcoin address. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCapitalCharWithNumber.php b/src/Rules/ValidCapitalCharWithNumber.php index f3cc7a9c..dd1e26b3 100644 --- a/src/Rules/ValidCapitalCharWithNumber.php +++ b/src/Rules/ValidCapitalCharWithNumber.php @@ -9,9 +9,8 @@ class ValidCapitalCharWithNumber implements Rule /** * Check all words are capital & with hyphen & number. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCarNumber.php b/src/Rules/ValidCarNumber.php index e1d75c13..6aed527f 100644 --- a/src/Rules/ValidCarNumber.php +++ b/src/Rules/ValidCarNumber.php @@ -9,9 +9,8 @@ class ValidCarNumber implements Rule /** * Check car number is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCartNumberIran.php b/src/Rules/ValidCartNumberIran.php index 9bd6c746..74fa388c 100644 --- a/src/Rules/ValidCartNumberIran.php +++ b/src/Rules/ValidCartNumberIran.php @@ -9,9 +9,8 @@ class ValidCartNumberIran implements Rule /** * Check cart number is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDiscordUsername.php b/src/Rules/ValidDiscordUsername.php index 25087ab9..d72cce7c 100644 --- a/src/Rules/ValidDiscordUsername.php +++ b/src/Rules/ValidDiscordUsername.php @@ -9,9 +9,8 @@ class ValidDiscordUsername implements Rule /** * Check discord username is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDuplicate.php b/src/Rules/ValidDuplicate.php index 9a1c0742..fa802ee0 100644 --- a/src/Rules/ValidDuplicate.php +++ b/src/Rules/ValidDuplicate.php @@ -9,9 +9,8 @@ class ValidDuplicate implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDuplicateCharacter.php b/src/Rules/ValidDuplicateCharacter.php index 4dca9ddd..5e6a58c2 100644 --- a/src/Rules/ValidDuplicateCharacter.php +++ b/src/Rules/ValidDuplicateCharacter.php @@ -9,9 +9,8 @@ class ValidDuplicateCharacter implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidEvenNumber.php b/src/Rules/ValidEvenNumber.php index 82864195..18f3258f 100644 --- a/src/Rules/ValidEvenNumber.php +++ b/src/Rules/ValidEvenNumber.php @@ -9,9 +9,8 @@ class ValidEvenNumber implements Rule /** * Check number is even. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHashtag.php b/src/Rules/ValidHashtag.php index 9a2d0379..48d3a642 100644 --- a/src/Rules/ValidHashtag.php +++ b/src/Rules/ValidHashtag.php @@ -9,9 +9,8 @@ class ValidHashtag implements Rule /** * Check value contains hashtag. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHexColor.php b/src/Rules/ValidHexColor.php index e8ffe89c..8a132a27 100644 --- a/src/Rules/ValidHexColor.php +++ b/src/Rules/ValidHexColor.php @@ -9,9 +9,8 @@ class ValidHexColor implements Rule /** * Check hex color is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHtmlTag.php b/src/Rules/ValidHtmlTag.php index 4dbbf403..8d24933d 100644 --- a/src/Rules/ValidHtmlTag.php +++ b/src/Rules/ValidHtmlTag.php @@ -9,9 +9,8 @@ class ValidHtmlTag implements Rule /** * Check html tag is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidImei.php b/src/Rules/ValidImei.php index b808b3a4..73207b3c 100644 --- a/src/Rules/ValidImei.php +++ b/src/Rules/ValidImei.php @@ -9,16 +9,15 @@ class ValidImei implements Rule /** * Check jwt is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) { $imei = $value; - if (strlen($imei) != 15 || !ctype_digit($imei)) { + if (strlen($imei) != 15 || ! ctype_digit($imei)) { return false; } diff --git a/src/Rules/ValidIpAddressIPV4.php b/src/Rules/ValidIpAddressIPV4.php index 5597feb3..da364c28 100644 --- a/src/Rules/ValidIpAddressIPV4.php +++ b/src/Rules/ValidIpAddressIPV4.php @@ -9,9 +9,8 @@ class ValidIpAddressIPV4 implements Rule /** * Check ip address (ipv4) is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidIpAddressIPV6.php b/src/Rules/ValidIpAddressIPV6.php index 3db78a32..d9486ac6 100644 --- a/src/Rules/ValidIpAddressIPV6.php +++ b/src/Rules/ValidIpAddressIPV6.php @@ -9,9 +9,8 @@ class ValidIpAddressIPV6 implements Rule /** * Check ip address (ipv6) is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidJalaliDate.php b/src/Rules/ValidJalaliDate.php index ba1063b0..2fa79d45 100644 --- a/src/Rules/ValidJalaliDate.php +++ b/src/Rules/ValidJalaliDate.php @@ -10,14 +10,13 @@ class ValidJalaliDate implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) { - if (!is_string($value)) { + if (! is_string($value)) { return false; } diff --git a/src/Rules/ValidJwt.php b/src/Rules/ValidJwt.php index e8a34a3f..a84ee7e4 100644 --- a/src/Rules/ValidJwt.php +++ b/src/Rules/ValidJwt.php @@ -9,9 +9,8 @@ class ValidJwt implements Rule /** * Check jwt is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidNameDaysWeek.php b/src/Rules/ValidNameDaysWeek.php index 1bd2062f..bf9d36c4 100644 --- a/src/Rules/ValidNameDaysWeek.php +++ b/src/Rules/ValidNameDaysWeek.php @@ -9,9 +9,8 @@ class ValidNameDaysWeek implements Rule /** * Check day is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidNationalCard.php b/src/Rules/ValidNationalCard.php index 8ce7ed86..dc1dafcc 100644 --- a/src/Rules/ValidNationalCard.php +++ b/src/Rules/ValidNationalCard.php @@ -9,9 +9,8 @@ class ValidNationalCard implements Rule /** * Check national card is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidOddNumber.php b/src/Rules/ValidOddNumber.php index edea3535..fbac8603 100644 --- a/src/Rules/ValidOddNumber.php +++ b/src/Rules/ValidOddNumber.php @@ -9,9 +9,8 @@ class ValidOddNumber implements Rule /** * Check number is odd. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPattern.php b/src/Rules/ValidPattern.php index 2feae322..09362349 100644 --- a/src/Rules/ValidPattern.php +++ b/src/Rules/ValidPattern.php @@ -15,9 +15,8 @@ public function __construct( /** * Check texts with specific pattern. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPhoneNumber.php b/src/Rules/ValidPhoneNumber.php index 0ab489c8..6542aa7e 100644 --- a/src/Rules/ValidPhoneNumber.php +++ b/src/Rules/ValidPhoneNumber.php @@ -9,9 +9,8 @@ class ValidPhoneNumber implements Rule /** * Check phone number is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPort.php b/src/Rules/ValidPort.php index af9644b3..a5279ec9 100644 --- a/src/Rules/ValidPort.php +++ b/src/Rules/ValidPort.php @@ -9,9 +9,8 @@ class ValidPort implements Rule /** * Check port is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidSlashEndOfString.php b/src/Rules/ValidSlashEndOfString.php index 2b211cd9..1df0369e 100644 --- a/src/Rules/ValidSlashEndOfString.php +++ b/src/Rules/ValidSlashEndOfString.php @@ -9,9 +9,8 @@ class ValidSlashEndOfString implements Rule /** * Check write slash at the end of string. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidSlug.php b/src/Rules/ValidSlug.php index 4f0d15b3..9645cf0b 100644 --- a/src/Rules/ValidSlug.php +++ b/src/Rules/ValidSlug.php @@ -9,9 +9,8 @@ class ValidSlug implements Rule /** * Check slug is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidStrongPassword.php b/src/Rules/ValidStrongPassword.php index 4a8633f0..4fda294e 100644 --- a/src/Rules/ValidStrongPassword.php +++ b/src/Rules/ValidStrongPassword.php @@ -9,9 +9,8 @@ class ValidStrongPassword implements Rule /** * Check password started by capital letters & contains lowercase letters & contains number. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUlid.php b/src/Rules/ValidUlid.php index 3ba8854d..620d51d1 100644 --- a/src/Rules/ValidUlid.php +++ b/src/Rules/ValidUlid.php @@ -9,9 +9,8 @@ class ValidUlid implements Rule /** * Check ulid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUrl.php b/src/Rules/ValidUrl.php index 3cec2943..9738b758 100644 --- a/src/Rules/ValidUrl.php +++ b/src/Rules/ValidUrl.php @@ -9,9 +9,8 @@ class ValidUrl implements Rule /** * Check url is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUsername.php b/src/Rules/ValidUsername.php index cbd2befb..9e1c8b40 100644 --- a/src/Rules/ValidUsername.php +++ b/src/Rules/ValidUsername.php @@ -9,9 +9,8 @@ class ValidUsername implements Rule /** * It checks that the length of the username must be between 3 and 15 characters without spaces. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUuid.php b/src/Rules/ValidUuid.php index 3e5697f3..2501d85c 100644 --- a/src/Rules/ValidUuid.php +++ b/src/Rules/ValidUuid.php @@ -9,9 +9,8 @@ class ValidUuid implements Rule /** * Check uuid is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/lang/It/validate.php b/src/lang/It/validate.php index 6a504f82..8ca5520e 100644 --- a/src/lang/It/validate.php +++ b/src/lang/It/validate.php @@ -1,34 +1,34 @@ ':attribute non è valido.', - 'bitcoin-address' => ':attribute non è valido.', + 'base64' => ':attribute non è valido.', + 'bitcoin-address' => ':attribute non è valido.', 'capital-char-with-number' => ':attribute non è valido.', - 'car-number' => ':attribute non è valido.', - 'cart-number-iran' => ':attribute non è valido.', - 'discord-username' => ':attribute non è valido.', - 'even-number' => ':attribute non è valido.', - 'hashtag' => ':attribute non è valido.', - 'hex-color' => ':attribute non è valido.', - 'html-tag' => ':attribute non è valido.', - 'imei' => ':attribute non è valido.', - 'ipv4' => ':attribute non è valido.', - 'ipv6' => ':attribute non è valido.', - 'jwt' => ':attribute non è valido.', - 'name-days-week' => ':attribute non è valido.', - 'national-card' => ':attribute non è valido.', - 'odd-number' => ':attribute non è valido.', - 'phone-number' => ':attribute non è valido.', - 'port' => ':attribute non è valido.', - 'slash-end-of-string' => ':attribute non è valido.', - 'slug' => ':attribute non è valido.', - 'strong-password' => ':attribute non è valido.', - 'url' => ':attribute non è valido.', - 'username' => ':attribute non è valido.', - 'uuid' => ':attribute non è valido.', - 'jalali_date' => ':attribute non è valido.', - 'duplicate_character' => ':attribute non è valido.', - 'pattern' => ':attribute non è valido.', - 'duplicate' => ':attribute non è valido.', - 'ulid' => ':attribute non è valido.', + 'car-number' => ':attribute non è valido.', + 'cart-number-iran' => ':attribute non è valido.', + 'discord-username' => ':attribute non è valido.', + 'even-number' => ':attribute non è valido.', + 'hashtag' => ':attribute non è valido.', + 'hex-color' => ':attribute non è valido.', + 'html-tag' => ':attribute non è valido.', + 'imei' => ':attribute non è valido.', + 'ipv4' => ':attribute non è valido.', + 'ipv6' => ':attribute non è valido.', + 'jwt' => ':attribute non è valido.', + 'name-days-week' => ':attribute non è valido.', + 'national-card' => ':attribute non è valido.', + 'odd-number' => ':attribute non è valido.', + 'phone-number' => ':attribute non è valido.', + 'port' => ':attribute non è valido.', + 'slash-end-of-string' => ':attribute non è valido.', + 'slug' => ':attribute non è valido.', + 'strong-password' => ':attribute non è valido.', + 'url' => ':attribute non è valido.', + 'username' => ':attribute non è valido.', + 'uuid' => ':attribute non è valido.', + 'jalali_date' => ':attribute non è valido.', + 'duplicate_character' => ':attribute non è valido.', + 'pattern' => ':attribute non è valido.', + 'duplicate' => ':attribute non è valido.', + 'ulid' => ':attribute non è valido.', ]; diff --git a/src/lang/ar/validate.php b/src/lang/ar/validate.php index 093f189b..0dbed312 100644 --- a/src/lang/ar/validate.php +++ b/src/lang/ar/validate.php @@ -1,34 +1,34 @@ ':attribute غير صالح.', - 'bitcoin-address' => ':attribute غير صالح.', + 'base64' => ':attribute غير صالح.', + 'bitcoin-address' => ':attribute غير صالح.', 'capital-char-with-number' => ':attribute غير صالح.', - 'car-number' => ':attribute غير صالح.', - 'cart-number-iran' => ':attribute غير صالح.', - 'discord-username' => ':attribute غير صالح.', - 'even-number' => ':attribute غير صالح.', - 'hashtag' => ':attribute غير صالح.', - 'hex-color' => ':attribute غير صالح.', - 'html-tag' => ':attribute غير صالح.', - 'imei' => ':attribute غير صالح.', - 'ipv4' => ':attribute غير صالح.', - 'ipv6' => ':attribute غير صالح.', - 'jwt' => ':attribute غير صالح.', - 'name-days-week' => ':attribute غير صالح.', - 'national-card' => ':attribute غير صالح.', - 'odd-number' => ':attribute غير صالح.', - 'phone-number' => ':attribute غير صالح.', - 'port' => ':attribute غير صالح.', - 'slash-end-of-string' => ':attribute غير صالح.', - 'slug' => ':attribute غير صالح.', - 'strong-password' => ':attribute غير صالح.', - 'url' => ':attribute غير صالح.', - 'username' => ':attribute غير صالح.', - 'uuid' => ':attribute غير صالح.', - 'jalali_date' => ':attribute غير صالح.', - 'duplicate_character' => ':attribute غير صالح.', - 'pattern' => ':attribute غير صالح.', - 'duplicate' => ':attribute غير صالح.', - 'ulid' => ':attribute غير صالح.', + 'car-number' => ':attribute غير صالح.', + 'cart-number-iran' => ':attribute غير صالح.', + 'discord-username' => ':attribute غير صالح.', + 'even-number' => ':attribute غير صالح.', + 'hashtag' => ':attribute غير صالح.', + 'hex-color' => ':attribute غير صالح.', + 'html-tag' => ':attribute غير صالح.', + 'imei' => ':attribute غير صالح.', + 'ipv4' => ':attribute غير صالح.', + 'ipv6' => ':attribute غير صالح.', + 'jwt' => ':attribute غير صالح.', + 'name-days-week' => ':attribute غير صالح.', + 'national-card' => ':attribute غير صالح.', + 'odd-number' => ':attribute غير صالح.', + 'phone-number' => ':attribute غير صالح.', + 'port' => ':attribute غير صالح.', + 'slash-end-of-string' => ':attribute غير صالح.', + 'slug' => ':attribute غير صالح.', + 'strong-password' => ':attribute غير صالح.', + 'url' => ':attribute غير صالح.', + 'username' => ':attribute غير صالح.', + 'uuid' => ':attribute غير صالح.', + 'jalali_date' => ':attribute غير صالح.', + 'duplicate_character' => ':attribute غير صالح.', + 'pattern' => ':attribute غير صالح.', + 'duplicate' => ':attribute غير صالح.', + 'ulid' => ':attribute غير صالح.', ]; diff --git a/src/lang/en/validate.php b/src/lang/en/validate.php index cf875e8b..1fa0d3fa 100644 --- a/src/lang/en/validate.php +++ b/src/lang/en/validate.php @@ -1,34 +1,34 @@ 'The :attribute is not valid.', - 'bitcoin-address' => 'The :attribute is not valid.', + 'base64' => 'The :attribute is not valid.', + 'bitcoin-address' => 'The :attribute is not valid.', 'capital-char-with-number' => 'The :attribute is not valid.', - 'car-number' => 'The :attribute is not valid.', - 'cart-number-iran' => 'The :attribute is not valid.', - 'discord-username' => 'The :attribute is not valid.', - 'even-number' => 'The :attribute is not valid.', - 'hashtag' => 'The :attribute is not valid.', - 'hex-color' => 'The :attribute is not valid.', - 'html-tag' => 'The :attribute is not valid.', - 'imei' => 'The :attribute is not valid.', - 'ipv4' => 'The :attribute is not valid.', - 'ipv6' => 'The :attribute is not valid.', - 'jwt' => 'The :attribute is not valid.', - 'name-days-week' => 'The :attribute is not valid.', - 'national-card' => 'The :attribute is not valid.', - 'odd-number' => 'The :attribute is not valid.', - 'phone-number' => 'The :attribute is not valid.', - 'port' => 'The :attribute is not valid.', - 'slash-end-of-string' => 'The :attribute is not valid.', - 'slug' => 'The :attribute is not valid.', - 'strong-password' => 'The :attribute is not valid.', - 'url' => 'The :attribute is not valid.', - 'username' => 'The :attribute is not valid.', - 'uuid' => 'The :attribute is not valid.', - 'jalali_date' => 'The :attribute is not valid.', - 'duplicate_character' => 'The :attribute is not valid.', - 'pattern' => 'The :attribute is not valid.', - 'duplicate' => 'The :attribute is not valid.', - 'ulid' => 'The :attribute is not valid.', + 'car-number' => 'The :attribute is not valid.', + 'cart-number-iran' => 'The :attribute is not valid.', + 'discord-username' => 'The :attribute is not valid.', + 'even-number' => 'The :attribute is not valid.', + 'hashtag' => 'The :attribute is not valid.', + 'hex-color' => 'The :attribute is not valid.', + 'html-tag' => 'The :attribute is not valid.', + 'imei' => 'The :attribute is not valid.', + 'ipv4' => 'The :attribute is not valid.', + 'ipv6' => 'The :attribute is not valid.', + 'jwt' => 'The :attribute is not valid.', + 'name-days-week' => 'The :attribute is not valid.', + 'national-card' => 'The :attribute is not valid.', + 'odd-number' => 'The :attribute is not valid.', + 'phone-number' => 'The :attribute is not valid.', + 'port' => 'The :attribute is not valid.', + 'slash-end-of-string' => 'The :attribute is not valid.', + 'slug' => 'The :attribute is not valid.', + 'strong-password' => 'The :attribute is not valid.', + 'url' => 'The :attribute is not valid.', + 'username' => 'The :attribute is not valid.', + 'uuid' => 'The :attribute is not valid.', + 'jalali_date' => 'The :attribute is not valid.', + 'duplicate_character' => 'The :attribute is not valid.', + 'pattern' => 'The :attribute is not valid.', + 'duplicate' => 'The :attribute is not valid.', + 'ulid' => 'The :attribute is not valid.', ]; diff --git a/src/lang/fa/validate.php b/src/lang/fa/validate.php index fb5b7946..533d0f97 100644 --- a/src/lang/fa/validate.php +++ b/src/lang/fa/validate.php @@ -1,34 +1,34 @@ 'مقدار :attribute صحیح نمی باشد.', - 'bitcoin-address' => 'مقدار :attribute صحیح نمی باشد.', + 'base64' => 'مقدار :attribute صحیح نمی باشد.', + 'bitcoin-address' => 'مقدار :attribute صحیح نمی باشد.', 'capital-char-with-number' => 'مقدار :attribute صحیح نمی باشد.', - 'car-number' => 'مقدار :attribute صحیح نمی باشد.', - 'cart-number-iran' => 'مقدار :attribute صحیح نمی باشد.', - 'discord-username' => 'مقدار :attribute صحیح نمی باشد.', - 'even-number' => 'مقدار :attribute صحیح نمی باشد.', - 'hashtag' => 'مقدار :attribute صحیح نمی باشد.', - 'hex-color' => 'مقدار :attribute صحیح نمی باشد.', - 'html-tag' => 'مقدار :attribute صحیح نمی باشد.', - 'imei' => 'مقدار :attribute صحیح نمی باشد.', - 'ipv4' => 'مقدار :attribute صحیح نمی باشد.', - 'ipv6' => 'مقدار :attribute صحیح نمی باشد.', - 'jwt' => 'مقدار :attribute صحیح نمی باشد.', - 'name-days-week' => 'مقدار :attribute صحیح نمی باشد.', - 'national-card' => 'مقدار :attribute صحیح نمی باشد.', - 'odd-number' => 'مقدار :attribute صحیح نمی باشد.', - 'phone-number' => 'مقدار :attribute صحیح نمی باشد.', - 'port' => 'مقدار :attribute صحیح نمی باشد.', - 'slash-end-of-string' => 'مقدار :attribute صحیح نمی باشد.', - 'slug' => 'مقدار :attribute صحیح نمی باشد.', - 'strong-password' => 'مقدار :attribute صحیح نمی باشد.', - 'url' => 'مقدار :attribute صحیح نمی باشد.', - 'username' => 'مقدار :attribute صحیح نمی باشد.', - 'uuid' => 'مقدار :attribute صحیح نمی باشد.', - 'jalali_date' => 'مقدار :attribute صحیح نمی باشد.', - 'duplicate_character' => 'مقدار :attribute صحیح نمی باشد.', - 'pattern' => 'مقدار :attribute صحیح نمی باشد.', - 'duplicate' => 'مقدار :attribute صحیح نمی باشد.', - 'ulid' => 'مقدار :attribute صحیح نمی باشد.', + 'car-number' => 'مقدار :attribute صحیح نمی باشد.', + 'cart-number-iran' => 'مقدار :attribute صحیح نمی باشد.', + 'discord-username' => 'مقدار :attribute صحیح نمی باشد.', + 'even-number' => 'مقدار :attribute صحیح نمی باشد.', + 'hashtag' => 'مقدار :attribute صحیح نمی باشد.', + 'hex-color' => 'مقدار :attribute صحیح نمی باشد.', + 'html-tag' => 'مقدار :attribute صحیح نمی باشد.', + 'imei' => 'مقدار :attribute صحیح نمی باشد.', + 'ipv4' => 'مقدار :attribute صحیح نمی باشد.', + 'ipv6' => 'مقدار :attribute صحیح نمی باشد.', + 'jwt' => 'مقدار :attribute صحیح نمی باشد.', + 'name-days-week' => 'مقدار :attribute صحیح نمی باشد.', + 'national-card' => 'مقدار :attribute صحیح نمی باشد.', + 'odd-number' => 'مقدار :attribute صحیح نمی باشد.', + 'phone-number' => 'مقدار :attribute صحیح نمی باشد.', + 'port' => 'مقدار :attribute صحیح نمی باشد.', + 'slash-end-of-string' => 'مقدار :attribute صحیح نمی باشد.', + 'slug' => 'مقدار :attribute صحیح نمی باشد.', + 'strong-password' => 'مقدار :attribute صحیح نمی باشد.', + 'url' => 'مقدار :attribute صحیح نمی باشد.', + 'username' => 'مقدار :attribute صحیح نمی باشد.', + 'uuid' => 'مقدار :attribute صحیح نمی باشد.', + 'jalali_date' => 'مقدار :attribute صحیح نمی باشد.', + 'duplicate_character' => 'مقدار :attribute صحیح نمی باشد.', + 'pattern' => 'مقدار :attribute صحیح نمی باشد.', + 'duplicate' => 'مقدار :attribute صحیح نمی باشد.', + 'ulid' => 'مقدار :attribute صحیح نمی باشد.', ]; diff --git a/src/lang/fr/validate.php b/src/lang/fr/validate.php index 35030479..778969ea 100644 --- a/src/lang/fr/validate.php +++ b/src/lang/fr/validate.php @@ -1,34 +1,34 @@ ":attribute n'est pas valide.", - 'bitcoin-address' => ":attribute n'est pas valide.", + 'base64' => ":attribute n'est pas valide.", + 'bitcoin-address' => ":attribute n'est pas valide.", 'capital-char-with-number' => ":attribute n'est pas valide.", - 'car-number' => ":attribute n'est pas valide.", - 'cart-number-iran' => ":attribute n'est pas valide.", - 'discord-username' => ":attribute n'est pas valide.", - 'even-number' => ":attribute n'est pas valide.", - 'hashtag' => ":attribute n'est pas valide.", - 'hex-color' => ":attribute n'est pas valide.", - 'html-tag' => ":attribute n'est pas valide.", - 'imei' => ":attribute n'est pas valide.", - 'ipv4' => ":attribute n'est pas valide.", - 'ipv6' => ":attribute n'est pas valide.", - 'jwt' => ":attribute n'est pas valide.", - 'name-days-week' => ":attribute n'est pas valide.", - 'national-card' => ":attribute n'est pas valide.", - 'odd-number' => ":attribute n'est pas valide.", - 'phone-number' => ":attribute n'est pas valide.", - 'port' => ":attribute n'est pas valide.", - 'slash-end-of-string' => ":attribute n'est pas valide.", - 'slug' => ":attribute n'est pas valide.", - 'strong-password' => ":attribute n'est pas valide.", - 'url' => ":attribute n'est pas valide.", - 'username' => ":attribute n'est pas valide.", - 'uuid' => ":attribute n'est pas valide.", - 'jalali_date' => ":attribute n'est pas valide.", - 'duplicate_character' => ":attribute n'est pas valide.", - 'pattern' => ":attribute n'est pas valide.", - 'duplicate' => ":attribute n'est pas valide.", - 'ulid' => ":attribute n'est pas valide.", + 'car-number' => ":attribute n'est pas valide.", + 'cart-number-iran' => ":attribute n'est pas valide.", + 'discord-username' => ":attribute n'est pas valide.", + 'even-number' => ":attribute n'est pas valide.", + 'hashtag' => ":attribute n'est pas valide.", + 'hex-color' => ":attribute n'est pas valide.", + 'html-tag' => ":attribute n'est pas valide.", + 'imei' => ":attribute n'est pas valide.", + 'ipv4' => ":attribute n'est pas valide.", + 'ipv6' => ":attribute n'est pas valide.", + 'jwt' => ":attribute n'est pas valide.", + 'name-days-week' => ":attribute n'est pas valide.", + 'national-card' => ":attribute n'est pas valide.", + 'odd-number' => ":attribute n'est pas valide.", + 'phone-number' => ":attribute n'est pas valide.", + 'port' => ":attribute n'est pas valide.", + 'slash-end-of-string' => ":attribute n'est pas valide.", + 'slug' => ":attribute n'est pas valide.", + 'strong-password' => ":attribute n'est pas valide.", + 'url' => ":attribute n'est pas valide.", + 'username' => ":attribute n'est pas valide.", + 'uuid' => ":attribute n'est pas valide.", + 'jalali_date' => ":attribute n'est pas valide.", + 'duplicate_character' => ":attribute n'est pas valide.", + 'pattern' => ":attribute n'est pas valide.", + 'duplicate' => ":attribute n'est pas valide.", + 'ulid' => ":attribute n'est pas valide.", ]; diff --git a/src/lang/hi/validate.php b/src/lang/hi/validate.php index 1e6c0213..12736715 100644 --- a/src/lang/hi/validate.php +++ b/src/lang/hi/validate.php @@ -1,34 +1,34 @@ ':attributeमान्य नहीं है।.', - 'bitcoin-address' => ':attributeमान्य नहीं है।.', + 'base64' => ':attributeमान्य नहीं है।.', + 'bitcoin-address' => ':attributeमान्य नहीं है।.', 'capital-char-with-number' => ':attributeमान्य नहीं है।.', - 'car-number' => ':attributeमान्य नहीं है।.', - 'cart-number-iran' => ':attributeमान्य नहीं है।.', - 'discord-username' => ':attributeमान्य नहीं है।.', - 'even-number' => ':attributeमान्य नहीं है।.', - 'hashtag' => ':attributeमान्य नहीं है।.', - 'hex-color' => ':attributeमान्य नहीं है।.', - 'html-tag' => ':attributeमान्य नहीं है।.', - 'imei' => ':attributeमान्य नहीं है।.', - 'ipv4' => ':attributeमान्य नहीं है।.', - 'ipv6' => ':attributeमान्य नहीं है।.', - 'jwt' => ':attributeमान्य नहीं है।.', - 'name-days-week' => ':attributeमान्य नहीं है।.', - 'national-card' => ':attributeमान्य नहीं है।.', - 'odd-number' => ':attributeमान्य नहीं है।.', - 'phone-number' => ':attributeमान्य नहीं है।.', - 'port' => ':attributeमान्य नहीं है।.', - 'slash-end-of-string' => ':attributeमान्य नहीं है।.', - 'slug' => ':attributeमान्य नहीं है।.', - 'strong-password' => ':attributeमान्य नहीं है।.', - 'url' => ':attributeमान्य नहीं है।.', - 'username' => ':attributeमान्य नहीं है।.', - 'uuid' => ':attributeमान्य नहीं है।.', - 'jalali_date' => ':attributeमान्य नहीं है।.', - 'duplicate_character' => ':attributeमान्य नहीं है।.', - 'pattern' => ':attributeमान्य नहीं है।.', - 'duplicate' => ':attributeमान्य नहीं है।.', - 'ulid' => ':attributeमान्य नहीं है।.', + 'car-number' => ':attributeमान्य नहीं है।.', + 'cart-number-iran' => ':attributeमान्य नहीं है।.', + 'discord-username' => ':attributeमान्य नहीं है।.', + 'even-number' => ':attributeमान्य नहीं है।.', + 'hashtag' => ':attributeमान्य नहीं है।.', + 'hex-color' => ':attributeमान्य नहीं है।.', + 'html-tag' => ':attributeमान्य नहीं है।.', + 'imei' => ':attributeमान्य नहीं है।.', + 'ipv4' => ':attributeमान्य नहीं है।.', + 'ipv6' => ':attributeमान्य नहीं है।.', + 'jwt' => ':attributeमान्य नहीं है।.', + 'name-days-week' => ':attributeमान्य नहीं है।.', + 'national-card' => ':attributeमान्य नहीं है।.', + 'odd-number' => ':attributeमान्य नहीं है।.', + 'phone-number' => ':attributeमान्य नहीं है।.', + 'port' => ':attributeमान्य नहीं है।.', + 'slash-end-of-string' => ':attributeमान्य नहीं है।.', + 'slug' => ':attributeमान्य नहीं है।.', + 'strong-password' => ':attributeमान्य नहीं है।.', + 'url' => ':attributeमान्य नहीं है।.', + 'username' => ':attributeमान्य नहीं है।.', + 'uuid' => ':attributeमान्य नहीं है।.', + 'jalali_date' => ':attributeमान्य नहीं है।.', + 'duplicate_character' => ':attributeमान्य नहीं है।.', + 'pattern' => ':attributeमान्य नहीं है।.', + 'duplicate' => ':attributeमान्य नहीं है।.', + 'ulid' => ':attributeमान्य नहीं है।.', ]; diff --git a/src/lang/ja/validate.php b/src/lang/ja/validate.php index fdf49f57..ff95c7e2 100644 --- a/src/lang/ja/validate.php +++ b/src/lang/ja/validate.php @@ -1,34 +1,34 @@ ':attribute有効じゃない。', - 'bitcoin-address' => ':attribute有効じゃない。', + 'base64' => ':attribute有効じゃない。', + 'bitcoin-address' => ':attribute有効じゃない。', 'capital-char-with-number' => ':attribute有効じゃない。', - 'car-number' => ':attribute有効じゃない。', - 'cart-number-iran' => ':attribute有効じゃない。', - 'discord-username' => ':attribute有効じゃない。', - 'even-number' => ':attribute有効じゃない。', - 'hashtag' => ':attribute有効じゃない。', - 'hex-color' => ':attribute有効じゃない。', - 'html-tag' => ':attribute有効じゃない。', - 'imei' => ':attribute有効じゃない。', - 'ipv4' => ':attribute有効じゃない。', - 'ipv6' => ':attribute有効じゃない。', - 'jwt' => ':attribute有効じゃない。', - 'name-days-week' => ':attribute有効じゃない。', - 'national-card' => ':attribute有効じゃない。', - 'odd-number' => ':attribute有効じゃない。', - 'phone-number' => ':attribute有効じゃない。', - 'port' => ':attribute有効じゃない。', - 'slash-end-of-string' => ':attribute有効じゃない。', - 'slug' => ':attribute有効じゃない。', - 'strong-password' => ':attribute有効じゃない。', - 'url' => ':attribute有効じゃない。', - 'username' => ':attribute有効じゃない。', - 'uuid' => ':attribute有効じゃない。', - 'jalali_date' => ':attribute有効じゃない。', - 'duplicate_character' => ':attribute有効じゃない。', - 'pattern' => ':attribute有効じゃない。', - 'duplicate' => ':attribute有効じゃない。', - 'ulid' => ':attribute有効じゃない。', + 'car-number' => ':attribute有効じゃない。', + 'cart-number-iran' => ':attribute有効じゃない。', + 'discord-username' => ':attribute有効じゃない。', + 'even-number' => ':attribute有効じゃない。', + 'hashtag' => ':attribute有効じゃない。', + 'hex-color' => ':attribute有効じゃない。', + 'html-tag' => ':attribute有効じゃない。', + 'imei' => ':attribute有効じゃない。', + 'ipv4' => ':attribute有効じゃない。', + 'ipv6' => ':attribute有効じゃない。', + 'jwt' => ':attribute有効じゃない。', + 'name-days-week' => ':attribute有効じゃない。', + 'national-card' => ':attribute有効じゃない。', + 'odd-number' => ':attribute有効じゃない。', + 'phone-number' => ':attribute有効じゃない。', + 'port' => ':attribute有効じゃない。', + 'slash-end-of-string' => ':attribute有効じゃない。', + 'slug' => ':attribute有効じゃない。', + 'strong-password' => ':attribute有効じゃない。', + 'url' => ':attribute有効じゃない。', + 'username' => ':attribute有効じゃない。', + 'uuid' => ':attribute有効じゃない。', + 'jalali_date' => ':attribute有効じゃない。', + 'duplicate_character' => ':attribute有効じゃない。', + 'pattern' => ':attribute有効じゃない。', + 'duplicate' => ':attribute有効じゃない。', + 'ulid' => ':attribute有効じゃない。', ]; diff --git a/src/lang/ko/validate.php b/src/lang/ko/validate.php index a37209c6..c7202c93 100644 --- a/src/lang/ko/validate.php +++ b/src/lang/ko/validate.php @@ -1,34 +1,34 @@ ':attribute유효하지 않습니다.', - 'bitcoin-address' => ':attribute유효하지 않습니다.', + 'base64' => ':attribute유효하지 않습니다.', + 'bitcoin-address' => ':attribute유효하지 않습니다.', 'capital-char-with-number' => ':attribute유효하지 않습니다.', - 'car-number' => ':attribute유효하지 않습니다.', - 'cart-number-iran' => ':attribute유효하지 않습니다.', - 'discord-username' => ':attribute유효하지 않습니다.', - 'even-number' => ':attribute유효하지 않습니다.', - 'hashtag' => ':attribute유효하지 않습니다.', - 'hex-color' => ':attribute유효하지 않습니다.', - 'html-tag' => ':attribute유효하지 않습니다.', - 'imei' => ':attribute유효하지 않습니다.', - 'ipv4' => ':attribute유효하지 않습니다.', - 'ipv6' => ':attribute유효하지 않습니다.', - 'jwt' => ':attribute유효하지 않습니다.', - 'name-days-week' => ':attribute유효하지 않습니다.', - 'national-card' => ':attribute유효하지 않습니다.', - 'odd-number' => ':attribute유효하지 않습니다.', - 'phone-number' => ':attribute유효하지 않습니다.', - 'port' => ':attribute유효하지 않습니다.', - 'slash-end-of-string' => ':attribute유효하지 않습니다.', - 'slug' => ':attribute유효하지 않습니다.', - 'strong-password' => ':attribute유효하지 않습니다.', - 'url' => ':attribute유효하지 않습니다.', - 'username' => ':attribute유효하지 않습니다.', - 'uuid' => ':attribute유효하지 않습니다.', - 'jalali_date' => ':attribute유효하지 않습니다.', - 'duplicate_character' => ':attribute유효하지 않습니다.', - 'pattern' => ':attribute유효하지 않습니다.', - 'duplicate' => ':attribute유효하지 않습니다.', - 'ulid' => ':attribute유효하지 않습니다.', + 'car-number' => ':attribute유효하지 않습니다.', + 'cart-number-iran' => ':attribute유효하지 않습니다.', + 'discord-username' => ':attribute유효하지 않습니다.', + 'even-number' => ':attribute유효하지 않습니다.', + 'hashtag' => ':attribute유효하지 않습니다.', + 'hex-color' => ':attribute유효하지 않습니다.', + 'html-tag' => ':attribute유효하지 않습니다.', + 'imei' => ':attribute유효하지 않습니다.', + 'ipv4' => ':attribute유효하지 않습니다.', + 'ipv6' => ':attribute유효하지 않습니다.', + 'jwt' => ':attribute유효하지 않습니다.', + 'name-days-week' => ':attribute유효하지 않습니다.', + 'national-card' => ':attribute유효하지 않습니다.', + 'odd-number' => ':attribute유효하지 않습니다.', + 'phone-number' => ':attribute유효하지 않습니다.', + 'port' => ':attribute유효하지 않습니다.', + 'slash-end-of-string' => ':attribute유효하지 않습니다.', + 'slug' => ':attribute유효하지 않습니다.', + 'strong-password' => ':attribute유효하지 않습니다.', + 'url' => ':attribute유효하지 않습니다.', + 'username' => ':attribute유효하지 않습니다.', + 'uuid' => ':attribute유효하지 않습니다.', + 'jalali_date' => ':attribute유효하지 않습니다.', + 'duplicate_character' => ':attribute유효하지 않습니다.', + 'pattern' => ':attribute유효하지 않습니다.', + 'duplicate' => ':attribute유효하지 않습니다.', + 'ulid' => ':attribute유효하지 않습니다.', ]; diff --git a/src/lang/ru/validate.php b/src/lang/ru/validate.php index c26526ff..ce7ce6ed 100644 --- a/src/lang/ru/validate.php +++ b/src/lang/ru/validate.php @@ -1,34 +1,34 @@ ':attribute не действует.', - 'bitcoin-address' => ':attribute не действует.', + 'base64' => ':attribute не действует.', + 'bitcoin-address' => ':attribute не действует.', 'capital-char-with-number' => ':attribute не действует.', - 'car-number' => ':attribute не действует.', - 'cart-number-iran' => ':attribute не действует.', - 'discord-username' => ':attribute не действует.', - 'even-number' => ':attribute не действует.', - 'hashtag' => ':attribute не действует.', - 'hex-color' => ':attribute не действует.', - 'html-tag' => ':attribute не действует.', - 'imei' => ':attribute не действует.', - 'ipv4' => ':attribute не действует.', - 'ipv6' => ':attribute не действует.', - 'jwt' => ':attribute не действует.', - 'name-days-week' => ':attribute не действует.', - 'national-card' => ':attribute не действует.', - 'odd-number' => ':attribute не действует.', - 'phone-number' => ':attribute не действует.', - 'port' => ':attribute не действует.', - 'slash-end-of-string' => ':attribute не действует.', - 'slug' => ':attribute не действует.', - 'strong-password' => ':attribute не действует.', - 'url' => ':attribute не действует.', - 'username' => ':attribute не действует.', - 'uuid' => ':attribute не действует.', - 'jalali_date' => ':attribute не действует.', - 'duplicate_character' => ':attribute не действует.', - 'pattern' => ':attribute не действует.', - 'duplicate' => ':attribute не действует.', - 'ulid' => ':attribute не действует.', + 'car-number' => ':attribute не действует.', + 'cart-number-iran' => ':attribute не действует.', + 'discord-username' => ':attribute не действует.', + 'even-number' => ':attribute не действует.', + 'hashtag' => ':attribute не действует.', + 'hex-color' => ':attribute не действует.', + 'html-tag' => ':attribute не действует.', + 'imei' => ':attribute не действует.', + 'ipv4' => ':attribute не действует.', + 'ipv6' => ':attribute не действует.', + 'jwt' => ':attribute не действует.', + 'name-days-week' => ':attribute не действует.', + 'national-card' => ':attribute не действует.', + 'odd-number' => ':attribute не действует.', + 'phone-number' => ':attribute не действует.', + 'port' => ':attribute не действует.', + 'slash-end-of-string' => ':attribute не действует.', + 'slug' => ':attribute не действует.', + 'strong-password' => ':attribute не действует.', + 'url' => ':attribute не действует.', + 'username' => ':attribute не действует.', + 'uuid' => ':attribute не действует.', + 'jalali_date' => ':attribute не действует.', + 'duplicate_character' => ':attribute не действует.', + 'pattern' => ':attribute не действует.', + 'duplicate' => ':attribute не действует.', + 'ulid' => ':attribute не действует.', ]; diff --git a/src/lang/zh_CN/validate.php b/src/lang/zh_CN/validate.php index 562f872f..1b1809c5 100644 --- a/src/lang/zh_CN/validate.php +++ b/src/lang/zh_CN/validate.php @@ -1,34 +1,34 @@ ':attribute无效.', - 'bitcoin-address' => ':attribute无效.', + 'base64' => ':attribute无效.', + 'bitcoin-address' => ':attribute无效.', 'capital-char-with-number' => ':attribute无效.', - 'car-number' => ':attribute无效.', - 'cart-number-iran' => ':attribute无效.', - 'discord-username' => ':attribute无效.', - 'even-number' => ':attribute无效.', - 'hashtag' => ':attribute无效.', - 'hex-color' => ':attribute无效.', - 'html-tag' => ':attribute无效.', - 'imei' => ':attribute无效.', - 'ipv4' => ':attribute无效.', - 'ipv6' => ':attribute无效.', - 'jwt' => ':attribute无效.', - 'name-days-week' => ':attribute无效.', - 'national-card' => ':attribute无效.', - 'odd-number' => ':attribute无效.', - 'phone-number' => ':attribute无效.', - 'port' => ':attribute无效.', - 'slash-end-of-string' => ':attribute无效.', - 'slug' => ':attribute无效.', - 'strong-password' => ':attribute无效.', - 'url' => ':attribute无效.', - 'username' => ':attribute无效.', - 'uuid' => ':attribute无效.', - 'jalali_date' => ':attribute无效.', - 'duplicate_character' => ':attribute无效.', - 'pattern' => ':attribute无效.', - 'duplicate' => ':attribute无效.', - 'ulid' => ':attribute无效.', + 'car-number' => ':attribute无效.', + 'cart-number-iran' => ':attribute无效.', + 'discord-username' => ':attribute无效.', + 'even-number' => ':attribute无效.', + 'hashtag' => ':attribute无效.', + 'hex-color' => ':attribute无效.', + 'html-tag' => ':attribute无效.', + 'imei' => ':attribute无效.', + 'ipv4' => ':attribute无效.', + 'ipv6' => ':attribute无效.', + 'jwt' => ':attribute无效.', + 'name-days-week' => ':attribute无效.', + 'national-card' => ':attribute无效.', + 'odd-number' => ':attribute无效.', + 'phone-number' => ':attribute无效.', + 'port' => ':attribute无效.', + 'slash-end-of-string' => ':attribute无效.', + 'slug' => ':attribute无效.', + 'strong-password' => ':attribute无效.', + 'url' => ':attribute无效.', + 'username' => ':attribute无效.', + 'uuid' => ':attribute无效.', + 'jalali_date' => ':attribute无效.', + 'duplicate_character' => ':attribute无效.', + 'pattern' => ':attribute无效.', + 'duplicate' => ':attribute无效.', + 'ulid' => ':attribute无效.', ]; diff --git a/tests/BaseTest.php b/tests/BaseTest.php index f97d1d6d..75e952e9 100644 --- a/tests/BaseTest.php +++ b/tests/BaseTest.php @@ -9,8 +9,7 @@ class BaseTest extends \Orchestra\Testbench\TestCase /** * Get package providers. * - * @param \Illuminate\Foundation\Application $app - * + * @param \Illuminate\Foundation\Application $app * @return array */ protected function getPackageProviders($app) From 6ed493d876016aa21220d8d6618c261b1cbf8264 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Fri, 10 Mar 2023 13:03:51 +0000 Subject: [PATCH 3/8] Apply fixes from StyleCI --- src/Rules/ValidBase64.php | 5 +- src/Rules/ValidBitcoinAddress.php | 5 +- src/Rules/ValidCapitalCharWithNumber.php | 5 +- src/Rules/ValidCarNumber.php | 5 +- src/Rules/ValidCartNumberIran.php | 5 +- src/Rules/ValidDiscordUsername.php | 5 +- src/Rules/ValidDuplicate.php | 5 +- src/Rules/ValidDuplicateCharacter.php | 5 +- src/Rules/ValidEvenNumber.php | 5 +- src/Rules/ValidHashtag.php | 5 +- src/Rules/ValidHexColor.php | 5 +- src/Rules/ValidHtmlTag.php | 5 +- src/Rules/ValidImei.php | 7 +-- src/Rules/ValidIpAddressIPV4.php | 5 +- src/Rules/ValidIpAddressIPV6.php | 5 +- src/Rules/ValidJalaliDate.php | 7 +-- src/Rules/ValidJwt.php | 5 +- src/Rules/ValidNameDaysWeek.php | 5 +- src/Rules/ValidNationalCard.php | 5 +- src/Rules/ValidOddNumber.php | 5 +- src/Rules/ValidPattern.php | 5 +- src/Rules/ValidPhoneNumber.php | 5 +- src/Rules/ValidPort.php | 5 +- src/Rules/ValidSlashEndOfString.php | 5 +- src/Rules/ValidSlug.php | 5 +- src/Rules/ValidStrongPassword.php | 5 +- src/Rules/ValidUlid.php | 5 +- src/Rules/ValidUrl.php | 5 +- src/Rules/ValidUsername.php | 5 +- src/Rules/ValidUuid.php | 5 +- src/lang/It/validate.php | 58 ++++++++++++------------ src/lang/ar/validate.php | 58 ++++++++++++------------ src/lang/en/validate.php | 58 ++++++++++++------------ src/lang/fa/validate.php | 58 ++++++++++++------------ src/lang/fr/validate.php | 58 ++++++++++++------------ src/lang/hi/validate.php | 58 ++++++++++++------------ src/lang/ja/validate.php | 58 ++++++++++++------------ src/lang/ko/validate.php | 58 ++++++++++++------------ src/lang/ru/validate.php | 58 ++++++++++++------------ src/lang/zh_CN/validate.php | 58 ++++++++++++------------ tests/BaseTest.php | 3 +- 41 files changed, 384 insertions(+), 353 deletions(-) diff --git a/src/Rules/ValidBase64.php b/src/Rules/ValidBase64.php index 460e53cd..b2bb6ec8 100644 --- a/src/Rules/ValidBase64.php +++ b/src/Rules/ValidBase64.php @@ -9,8 +9,9 @@ class ValidBase64 implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidBitcoinAddress.php b/src/Rules/ValidBitcoinAddress.php index 3c0ee29d..7f38ff48 100644 --- a/src/Rules/ValidBitcoinAddress.php +++ b/src/Rules/ValidBitcoinAddress.php @@ -9,8 +9,9 @@ class ValidBitcoinAddress implements Rule /** * Check bitcoin address. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCapitalCharWithNumber.php b/src/Rules/ValidCapitalCharWithNumber.php index dd1e26b3..f3cc7a9c 100644 --- a/src/Rules/ValidCapitalCharWithNumber.php +++ b/src/Rules/ValidCapitalCharWithNumber.php @@ -9,8 +9,9 @@ class ValidCapitalCharWithNumber implements Rule /** * Check all words are capital & with hyphen & number. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCarNumber.php b/src/Rules/ValidCarNumber.php index 6aed527f..e1d75c13 100644 --- a/src/Rules/ValidCarNumber.php +++ b/src/Rules/ValidCarNumber.php @@ -9,8 +9,9 @@ class ValidCarNumber implements Rule /** * Check car number is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCartNumberIran.php b/src/Rules/ValidCartNumberIran.php index 74fa388c..9bd6c746 100644 --- a/src/Rules/ValidCartNumberIran.php +++ b/src/Rules/ValidCartNumberIran.php @@ -9,8 +9,9 @@ class ValidCartNumberIran implements Rule /** * Check cart number is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDiscordUsername.php b/src/Rules/ValidDiscordUsername.php index d72cce7c..25087ab9 100644 --- a/src/Rules/ValidDiscordUsername.php +++ b/src/Rules/ValidDiscordUsername.php @@ -9,8 +9,9 @@ class ValidDiscordUsername implements Rule /** * Check discord username is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDuplicate.php b/src/Rules/ValidDuplicate.php index fa802ee0..9a1c0742 100644 --- a/src/Rules/ValidDuplicate.php +++ b/src/Rules/ValidDuplicate.php @@ -9,8 +9,9 @@ class ValidDuplicate implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDuplicateCharacter.php b/src/Rules/ValidDuplicateCharacter.php index 5e6a58c2..4dca9ddd 100644 --- a/src/Rules/ValidDuplicateCharacter.php +++ b/src/Rules/ValidDuplicateCharacter.php @@ -9,8 +9,9 @@ class ValidDuplicateCharacter implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidEvenNumber.php b/src/Rules/ValidEvenNumber.php index 18f3258f..82864195 100644 --- a/src/Rules/ValidEvenNumber.php +++ b/src/Rules/ValidEvenNumber.php @@ -9,8 +9,9 @@ class ValidEvenNumber implements Rule /** * Check number is even. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHashtag.php b/src/Rules/ValidHashtag.php index 48d3a642..9a2d0379 100644 --- a/src/Rules/ValidHashtag.php +++ b/src/Rules/ValidHashtag.php @@ -9,8 +9,9 @@ class ValidHashtag implements Rule /** * Check value contains hashtag. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHexColor.php b/src/Rules/ValidHexColor.php index 8a132a27..e8ffe89c 100644 --- a/src/Rules/ValidHexColor.php +++ b/src/Rules/ValidHexColor.php @@ -9,8 +9,9 @@ class ValidHexColor implements Rule /** * Check hex color is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHtmlTag.php b/src/Rules/ValidHtmlTag.php index 8d24933d..4dbbf403 100644 --- a/src/Rules/ValidHtmlTag.php +++ b/src/Rules/ValidHtmlTag.php @@ -9,8 +9,9 @@ class ValidHtmlTag implements Rule /** * Check html tag is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidImei.php b/src/Rules/ValidImei.php index 73207b3c..b808b3a4 100644 --- a/src/Rules/ValidImei.php +++ b/src/Rules/ValidImei.php @@ -9,15 +9,16 @@ class ValidImei implements Rule /** * Check jwt is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) { $imei = $value; - if (strlen($imei) != 15 || ! ctype_digit($imei)) { + if (strlen($imei) != 15 || !ctype_digit($imei)) { return false; } diff --git a/src/Rules/ValidIpAddressIPV4.php b/src/Rules/ValidIpAddressIPV4.php index da364c28..5597feb3 100644 --- a/src/Rules/ValidIpAddressIPV4.php +++ b/src/Rules/ValidIpAddressIPV4.php @@ -9,8 +9,9 @@ class ValidIpAddressIPV4 implements Rule /** * Check ip address (ipv4) is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidIpAddressIPV6.php b/src/Rules/ValidIpAddressIPV6.php index d9486ac6..3db78a32 100644 --- a/src/Rules/ValidIpAddressIPV6.php +++ b/src/Rules/ValidIpAddressIPV6.php @@ -9,8 +9,9 @@ class ValidIpAddressIPV6 implements Rule /** * Check ip address (ipv6) is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidJalaliDate.php b/src/Rules/ValidJalaliDate.php index 2fa79d45..ba1063b0 100644 --- a/src/Rules/ValidJalaliDate.php +++ b/src/Rules/ValidJalaliDate.php @@ -10,13 +10,14 @@ class ValidJalaliDate implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) { - if (! is_string($value)) { + if (!is_string($value)) { return false; } diff --git a/src/Rules/ValidJwt.php b/src/Rules/ValidJwt.php index a84ee7e4..e8a34a3f 100644 --- a/src/Rules/ValidJwt.php +++ b/src/Rules/ValidJwt.php @@ -9,8 +9,9 @@ class ValidJwt implements Rule /** * Check jwt is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidNameDaysWeek.php b/src/Rules/ValidNameDaysWeek.php index bf9d36c4..1bd2062f 100644 --- a/src/Rules/ValidNameDaysWeek.php +++ b/src/Rules/ValidNameDaysWeek.php @@ -9,8 +9,9 @@ class ValidNameDaysWeek implements Rule /** * Check day is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidNationalCard.php b/src/Rules/ValidNationalCard.php index dc1dafcc..8ce7ed86 100644 --- a/src/Rules/ValidNationalCard.php +++ b/src/Rules/ValidNationalCard.php @@ -9,8 +9,9 @@ class ValidNationalCard implements Rule /** * Check national card is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidOddNumber.php b/src/Rules/ValidOddNumber.php index fbac8603..edea3535 100644 --- a/src/Rules/ValidOddNumber.php +++ b/src/Rules/ValidOddNumber.php @@ -9,8 +9,9 @@ class ValidOddNumber implements Rule /** * Check number is odd. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPattern.php b/src/Rules/ValidPattern.php index 09362349..2feae322 100644 --- a/src/Rules/ValidPattern.php +++ b/src/Rules/ValidPattern.php @@ -15,8 +15,9 @@ public function __construct( /** * Check texts with specific pattern. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPhoneNumber.php b/src/Rules/ValidPhoneNumber.php index 6542aa7e..0ab489c8 100644 --- a/src/Rules/ValidPhoneNumber.php +++ b/src/Rules/ValidPhoneNumber.php @@ -9,8 +9,9 @@ class ValidPhoneNumber implements Rule /** * Check phone number is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPort.php b/src/Rules/ValidPort.php index a5279ec9..af9644b3 100644 --- a/src/Rules/ValidPort.php +++ b/src/Rules/ValidPort.php @@ -9,8 +9,9 @@ class ValidPort implements Rule /** * Check port is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidSlashEndOfString.php b/src/Rules/ValidSlashEndOfString.php index 1df0369e..2b211cd9 100644 --- a/src/Rules/ValidSlashEndOfString.php +++ b/src/Rules/ValidSlashEndOfString.php @@ -9,8 +9,9 @@ class ValidSlashEndOfString implements Rule /** * Check write slash at the end of string. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidSlug.php b/src/Rules/ValidSlug.php index 9645cf0b..4f0d15b3 100644 --- a/src/Rules/ValidSlug.php +++ b/src/Rules/ValidSlug.php @@ -9,8 +9,9 @@ class ValidSlug implements Rule /** * Check slug is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidStrongPassword.php b/src/Rules/ValidStrongPassword.php index 4fda294e..4a8633f0 100644 --- a/src/Rules/ValidStrongPassword.php +++ b/src/Rules/ValidStrongPassword.php @@ -9,8 +9,9 @@ class ValidStrongPassword implements Rule /** * Check password started by capital letters & contains lowercase letters & contains number. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUlid.php b/src/Rules/ValidUlid.php index 620d51d1..3ba8854d 100644 --- a/src/Rules/ValidUlid.php +++ b/src/Rules/ValidUlid.php @@ -9,8 +9,9 @@ class ValidUlid implements Rule /** * Check ulid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUrl.php b/src/Rules/ValidUrl.php index 9738b758..3cec2943 100644 --- a/src/Rules/ValidUrl.php +++ b/src/Rules/ValidUrl.php @@ -9,8 +9,9 @@ class ValidUrl implements Rule /** * Check url is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUsername.php b/src/Rules/ValidUsername.php index 9e1c8b40..cbd2befb 100644 --- a/src/Rules/ValidUsername.php +++ b/src/Rules/ValidUsername.php @@ -9,8 +9,9 @@ class ValidUsername implements Rule /** * It checks that the length of the username must be between 3 and 15 characters without spaces. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUuid.php b/src/Rules/ValidUuid.php index 2501d85c..3e5697f3 100644 --- a/src/Rules/ValidUuid.php +++ b/src/Rules/ValidUuid.php @@ -9,8 +9,9 @@ class ValidUuid implements Rule /** * Check uuid is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/lang/It/validate.php b/src/lang/It/validate.php index 8ca5520e..6a504f82 100644 --- a/src/lang/It/validate.php +++ b/src/lang/It/validate.php @@ -1,34 +1,34 @@ ':attribute non è valido.', - 'bitcoin-address' => ':attribute non è valido.', + 'base64' => ':attribute non è valido.', + 'bitcoin-address' => ':attribute non è valido.', 'capital-char-with-number' => ':attribute non è valido.', - 'car-number' => ':attribute non è valido.', - 'cart-number-iran' => ':attribute non è valido.', - 'discord-username' => ':attribute non è valido.', - 'even-number' => ':attribute non è valido.', - 'hashtag' => ':attribute non è valido.', - 'hex-color' => ':attribute non è valido.', - 'html-tag' => ':attribute non è valido.', - 'imei' => ':attribute non è valido.', - 'ipv4' => ':attribute non è valido.', - 'ipv6' => ':attribute non è valido.', - 'jwt' => ':attribute non è valido.', - 'name-days-week' => ':attribute non è valido.', - 'national-card' => ':attribute non è valido.', - 'odd-number' => ':attribute non è valido.', - 'phone-number' => ':attribute non è valido.', - 'port' => ':attribute non è valido.', - 'slash-end-of-string' => ':attribute non è valido.', - 'slug' => ':attribute non è valido.', - 'strong-password' => ':attribute non è valido.', - 'url' => ':attribute non è valido.', - 'username' => ':attribute non è valido.', - 'uuid' => ':attribute non è valido.', - 'jalali_date' => ':attribute non è valido.', - 'duplicate_character' => ':attribute non è valido.', - 'pattern' => ':attribute non è valido.', - 'duplicate' => ':attribute non è valido.', - 'ulid' => ':attribute non è valido.', + 'car-number' => ':attribute non è valido.', + 'cart-number-iran' => ':attribute non è valido.', + 'discord-username' => ':attribute non è valido.', + 'even-number' => ':attribute non è valido.', + 'hashtag' => ':attribute non è valido.', + 'hex-color' => ':attribute non è valido.', + 'html-tag' => ':attribute non è valido.', + 'imei' => ':attribute non è valido.', + 'ipv4' => ':attribute non è valido.', + 'ipv6' => ':attribute non è valido.', + 'jwt' => ':attribute non è valido.', + 'name-days-week' => ':attribute non è valido.', + 'national-card' => ':attribute non è valido.', + 'odd-number' => ':attribute non è valido.', + 'phone-number' => ':attribute non è valido.', + 'port' => ':attribute non è valido.', + 'slash-end-of-string' => ':attribute non è valido.', + 'slug' => ':attribute non è valido.', + 'strong-password' => ':attribute non è valido.', + 'url' => ':attribute non è valido.', + 'username' => ':attribute non è valido.', + 'uuid' => ':attribute non è valido.', + 'jalali_date' => ':attribute non è valido.', + 'duplicate_character' => ':attribute non è valido.', + 'pattern' => ':attribute non è valido.', + 'duplicate' => ':attribute non è valido.', + 'ulid' => ':attribute non è valido.', ]; diff --git a/src/lang/ar/validate.php b/src/lang/ar/validate.php index 0dbed312..093f189b 100644 --- a/src/lang/ar/validate.php +++ b/src/lang/ar/validate.php @@ -1,34 +1,34 @@ ':attribute غير صالح.', - 'bitcoin-address' => ':attribute غير صالح.', + 'base64' => ':attribute غير صالح.', + 'bitcoin-address' => ':attribute غير صالح.', 'capital-char-with-number' => ':attribute غير صالح.', - 'car-number' => ':attribute غير صالح.', - 'cart-number-iran' => ':attribute غير صالح.', - 'discord-username' => ':attribute غير صالح.', - 'even-number' => ':attribute غير صالح.', - 'hashtag' => ':attribute غير صالح.', - 'hex-color' => ':attribute غير صالح.', - 'html-tag' => ':attribute غير صالح.', - 'imei' => ':attribute غير صالح.', - 'ipv4' => ':attribute غير صالح.', - 'ipv6' => ':attribute غير صالح.', - 'jwt' => ':attribute غير صالح.', - 'name-days-week' => ':attribute غير صالح.', - 'national-card' => ':attribute غير صالح.', - 'odd-number' => ':attribute غير صالح.', - 'phone-number' => ':attribute غير صالح.', - 'port' => ':attribute غير صالح.', - 'slash-end-of-string' => ':attribute غير صالح.', - 'slug' => ':attribute غير صالح.', - 'strong-password' => ':attribute غير صالح.', - 'url' => ':attribute غير صالح.', - 'username' => ':attribute غير صالح.', - 'uuid' => ':attribute غير صالح.', - 'jalali_date' => ':attribute غير صالح.', - 'duplicate_character' => ':attribute غير صالح.', - 'pattern' => ':attribute غير صالح.', - 'duplicate' => ':attribute غير صالح.', - 'ulid' => ':attribute غير صالح.', + 'car-number' => ':attribute غير صالح.', + 'cart-number-iran' => ':attribute غير صالح.', + 'discord-username' => ':attribute غير صالح.', + 'even-number' => ':attribute غير صالح.', + 'hashtag' => ':attribute غير صالح.', + 'hex-color' => ':attribute غير صالح.', + 'html-tag' => ':attribute غير صالح.', + 'imei' => ':attribute غير صالح.', + 'ipv4' => ':attribute غير صالح.', + 'ipv6' => ':attribute غير صالح.', + 'jwt' => ':attribute غير صالح.', + 'name-days-week' => ':attribute غير صالح.', + 'national-card' => ':attribute غير صالح.', + 'odd-number' => ':attribute غير صالح.', + 'phone-number' => ':attribute غير صالح.', + 'port' => ':attribute غير صالح.', + 'slash-end-of-string' => ':attribute غير صالح.', + 'slug' => ':attribute غير صالح.', + 'strong-password' => ':attribute غير صالح.', + 'url' => ':attribute غير صالح.', + 'username' => ':attribute غير صالح.', + 'uuid' => ':attribute غير صالح.', + 'jalali_date' => ':attribute غير صالح.', + 'duplicate_character' => ':attribute غير صالح.', + 'pattern' => ':attribute غير صالح.', + 'duplicate' => ':attribute غير صالح.', + 'ulid' => ':attribute غير صالح.', ]; diff --git a/src/lang/en/validate.php b/src/lang/en/validate.php index 1fa0d3fa..cf875e8b 100644 --- a/src/lang/en/validate.php +++ b/src/lang/en/validate.php @@ -1,34 +1,34 @@ 'The :attribute is not valid.', - 'bitcoin-address' => 'The :attribute is not valid.', + 'base64' => 'The :attribute is not valid.', + 'bitcoin-address' => 'The :attribute is not valid.', 'capital-char-with-number' => 'The :attribute is not valid.', - 'car-number' => 'The :attribute is not valid.', - 'cart-number-iran' => 'The :attribute is not valid.', - 'discord-username' => 'The :attribute is not valid.', - 'even-number' => 'The :attribute is not valid.', - 'hashtag' => 'The :attribute is not valid.', - 'hex-color' => 'The :attribute is not valid.', - 'html-tag' => 'The :attribute is not valid.', - 'imei' => 'The :attribute is not valid.', - 'ipv4' => 'The :attribute is not valid.', - 'ipv6' => 'The :attribute is not valid.', - 'jwt' => 'The :attribute is not valid.', - 'name-days-week' => 'The :attribute is not valid.', - 'national-card' => 'The :attribute is not valid.', - 'odd-number' => 'The :attribute is not valid.', - 'phone-number' => 'The :attribute is not valid.', - 'port' => 'The :attribute is not valid.', - 'slash-end-of-string' => 'The :attribute is not valid.', - 'slug' => 'The :attribute is not valid.', - 'strong-password' => 'The :attribute is not valid.', - 'url' => 'The :attribute is not valid.', - 'username' => 'The :attribute is not valid.', - 'uuid' => 'The :attribute is not valid.', - 'jalali_date' => 'The :attribute is not valid.', - 'duplicate_character' => 'The :attribute is not valid.', - 'pattern' => 'The :attribute is not valid.', - 'duplicate' => 'The :attribute is not valid.', - 'ulid' => 'The :attribute is not valid.', + 'car-number' => 'The :attribute is not valid.', + 'cart-number-iran' => 'The :attribute is not valid.', + 'discord-username' => 'The :attribute is not valid.', + 'even-number' => 'The :attribute is not valid.', + 'hashtag' => 'The :attribute is not valid.', + 'hex-color' => 'The :attribute is not valid.', + 'html-tag' => 'The :attribute is not valid.', + 'imei' => 'The :attribute is not valid.', + 'ipv4' => 'The :attribute is not valid.', + 'ipv6' => 'The :attribute is not valid.', + 'jwt' => 'The :attribute is not valid.', + 'name-days-week' => 'The :attribute is not valid.', + 'national-card' => 'The :attribute is not valid.', + 'odd-number' => 'The :attribute is not valid.', + 'phone-number' => 'The :attribute is not valid.', + 'port' => 'The :attribute is not valid.', + 'slash-end-of-string' => 'The :attribute is not valid.', + 'slug' => 'The :attribute is not valid.', + 'strong-password' => 'The :attribute is not valid.', + 'url' => 'The :attribute is not valid.', + 'username' => 'The :attribute is not valid.', + 'uuid' => 'The :attribute is not valid.', + 'jalali_date' => 'The :attribute is not valid.', + 'duplicate_character' => 'The :attribute is not valid.', + 'pattern' => 'The :attribute is not valid.', + 'duplicate' => 'The :attribute is not valid.', + 'ulid' => 'The :attribute is not valid.', ]; diff --git a/src/lang/fa/validate.php b/src/lang/fa/validate.php index 533d0f97..fb5b7946 100644 --- a/src/lang/fa/validate.php +++ b/src/lang/fa/validate.php @@ -1,34 +1,34 @@ 'مقدار :attribute صحیح نمی باشد.', - 'bitcoin-address' => 'مقدار :attribute صحیح نمی باشد.', + 'base64' => 'مقدار :attribute صحیح نمی باشد.', + 'bitcoin-address' => 'مقدار :attribute صحیح نمی باشد.', 'capital-char-with-number' => 'مقدار :attribute صحیح نمی باشد.', - 'car-number' => 'مقدار :attribute صحیح نمی باشد.', - 'cart-number-iran' => 'مقدار :attribute صحیح نمی باشد.', - 'discord-username' => 'مقدار :attribute صحیح نمی باشد.', - 'even-number' => 'مقدار :attribute صحیح نمی باشد.', - 'hashtag' => 'مقدار :attribute صحیح نمی باشد.', - 'hex-color' => 'مقدار :attribute صحیح نمی باشد.', - 'html-tag' => 'مقدار :attribute صحیح نمی باشد.', - 'imei' => 'مقدار :attribute صحیح نمی باشد.', - 'ipv4' => 'مقدار :attribute صحیح نمی باشد.', - 'ipv6' => 'مقدار :attribute صحیح نمی باشد.', - 'jwt' => 'مقدار :attribute صحیح نمی باشد.', - 'name-days-week' => 'مقدار :attribute صحیح نمی باشد.', - 'national-card' => 'مقدار :attribute صحیح نمی باشد.', - 'odd-number' => 'مقدار :attribute صحیح نمی باشد.', - 'phone-number' => 'مقدار :attribute صحیح نمی باشد.', - 'port' => 'مقدار :attribute صحیح نمی باشد.', - 'slash-end-of-string' => 'مقدار :attribute صحیح نمی باشد.', - 'slug' => 'مقدار :attribute صحیح نمی باشد.', - 'strong-password' => 'مقدار :attribute صحیح نمی باشد.', - 'url' => 'مقدار :attribute صحیح نمی باشد.', - 'username' => 'مقدار :attribute صحیح نمی باشد.', - 'uuid' => 'مقدار :attribute صحیح نمی باشد.', - 'jalali_date' => 'مقدار :attribute صحیح نمی باشد.', - 'duplicate_character' => 'مقدار :attribute صحیح نمی باشد.', - 'pattern' => 'مقدار :attribute صحیح نمی باشد.', - 'duplicate' => 'مقدار :attribute صحیح نمی باشد.', - 'ulid' => 'مقدار :attribute صحیح نمی باشد.', + 'car-number' => 'مقدار :attribute صحیح نمی باشد.', + 'cart-number-iran' => 'مقدار :attribute صحیح نمی باشد.', + 'discord-username' => 'مقدار :attribute صحیح نمی باشد.', + 'even-number' => 'مقدار :attribute صحیح نمی باشد.', + 'hashtag' => 'مقدار :attribute صحیح نمی باشد.', + 'hex-color' => 'مقدار :attribute صحیح نمی باشد.', + 'html-tag' => 'مقدار :attribute صحیح نمی باشد.', + 'imei' => 'مقدار :attribute صحیح نمی باشد.', + 'ipv4' => 'مقدار :attribute صحیح نمی باشد.', + 'ipv6' => 'مقدار :attribute صحیح نمی باشد.', + 'jwt' => 'مقدار :attribute صحیح نمی باشد.', + 'name-days-week' => 'مقدار :attribute صحیح نمی باشد.', + 'national-card' => 'مقدار :attribute صحیح نمی باشد.', + 'odd-number' => 'مقدار :attribute صحیح نمی باشد.', + 'phone-number' => 'مقدار :attribute صحیح نمی باشد.', + 'port' => 'مقدار :attribute صحیح نمی باشد.', + 'slash-end-of-string' => 'مقدار :attribute صحیح نمی باشد.', + 'slug' => 'مقدار :attribute صحیح نمی باشد.', + 'strong-password' => 'مقدار :attribute صحیح نمی باشد.', + 'url' => 'مقدار :attribute صحیح نمی باشد.', + 'username' => 'مقدار :attribute صحیح نمی باشد.', + 'uuid' => 'مقدار :attribute صحیح نمی باشد.', + 'jalali_date' => 'مقدار :attribute صحیح نمی باشد.', + 'duplicate_character' => 'مقدار :attribute صحیح نمی باشد.', + 'pattern' => 'مقدار :attribute صحیح نمی باشد.', + 'duplicate' => 'مقدار :attribute صحیح نمی باشد.', + 'ulid' => 'مقدار :attribute صحیح نمی باشد.', ]; diff --git a/src/lang/fr/validate.php b/src/lang/fr/validate.php index 778969ea..35030479 100644 --- a/src/lang/fr/validate.php +++ b/src/lang/fr/validate.php @@ -1,34 +1,34 @@ ":attribute n'est pas valide.", - 'bitcoin-address' => ":attribute n'est pas valide.", + 'base64' => ":attribute n'est pas valide.", + 'bitcoin-address' => ":attribute n'est pas valide.", 'capital-char-with-number' => ":attribute n'est pas valide.", - 'car-number' => ":attribute n'est pas valide.", - 'cart-number-iran' => ":attribute n'est pas valide.", - 'discord-username' => ":attribute n'est pas valide.", - 'even-number' => ":attribute n'est pas valide.", - 'hashtag' => ":attribute n'est pas valide.", - 'hex-color' => ":attribute n'est pas valide.", - 'html-tag' => ":attribute n'est pas valide.", - 'imei' => ":attribute n'est pas valide.", - 'ipv4' => ":attribute n'est pas valide.", - 'ipv6' => ":attribute n'est pas valide.", - 'jwt' => ":attribute n'est pas valide.", - 'name-days-week' => ":attribute n'est pas valide.", - 'national-card' => ":attribute n'est pas valide.", - 'odd-number' => ":attribute n'est pas valide.", - 'phone-number' => ":attribute n'est pas valide.", - 'port' => ":attribute n'est pas valide.", - 'slash-end-of-string' => ":attribute n'est pas valide.", - 'slug' => ":attribute n'est pas valide.", - 'strong-password' => ":attribute n'est pas valide.", - 'url' => ":attribute n'est pas valide.", - 'username' => ":attribute n'est pas valide.", - 'uuid' => ":attribute n'est pas valide.", - 'jalali_date' => ":attribute n'est pas valide.", - 'duplicate_character' => ":attribute n'est pas valide.", - 'pattern' => ":attribute n'est pas valide.", - 'duplicate' => ":attribute n'est pas valide.", - 'ulid' => ":attribute n'est pas valide.", + 'car-number' => ":attribute n'est pas valide.", + 'cart-number-iran' => ":attribute n'est pas valide.", + 'discord-username' => ":attribute n'est pas valide.", + 'even-number' => ":attribute n'est pas valide.", + 'hashtag' => ":attribute n'est pas valide.", + 'hex-color' => ":attribute n'est pas valide.", + 'html-tag' => ":attribute n'est pas valide.", + 'imei' => ":attribute n'est pas valide.", + 'ipv4' => ":attribute n'est pas valide.", + 'ipv6' => ":attribute n'est pas valide.", + 'jwt' => ":attribute n'est pas valide.", + 'name-days-week' => ":attribute n'est pas valide.", + 'national-card' => ":attribute n'est pas valide.", + 'odd-number' => ":attribute n'est pas valide.", + 'phone-number' => ":attribute n'est pas valide.", + 'port' => ":attribute n'est pas valide.", + 'slash-end-of-string' => ":attribute n'est pas valide.", + 'slug' => ":attribute n'est pas valide.", + 'strong-password' => ":attribute n'est pas valide.", + 'url' => ":attribute n'est pas valide.", + 'username' => ":attribute n'est pas valide.", + 'uuid' => ":attribute n'est pas valide.", + 'jalali_date' => ":attribute n'est pas valide.", + 'duplicate_character' => ":attribute n'est pas valide.", + 'pattern' => ":attribute n'est pas valide.", + 'duplicate' => ":attribute n'est pas valide.", + 'ulid' => ":attribute n'est pas valide.", ]; diff --git a/src/lang/hi/validate.php b/src/lang/hi/validate.php index 12736715..1e6c0213 100644 --- a/src/lang/hi/validate.php +++ b/src/lang/hi/validate.php @@ -1,34 +1,34 @@ ':attributeमान्य नहीं है।.', - 'bitcoin-address' => ':attributeमान्य नहीं है।.', + 'base64' => ':attributeमान्य नहीं है।.', + 'bitcoin-address' => ':attributeमान्य नहीं है।.', 'capital-char-with-number' => ':attributeमान्य नहीं है।.', - 'car-number' => ':attributeमान्य नहीं है।.', - 'cart-number-iran' => ':attributeमान्य नहीं है।.', - 'discord-username' => ':attributeमान्य नहीं है।.', - 'even-number' => ':attributeमान्य नहीं है।.', - 'hashtag' => ':attributeमान्य नहीं है।.', - 'hex-color' => ':attributeमान्य नहीं है।.', - 'html-tag' => ':attributeमान्य नहीं है।.', - 'imei' => ':attributeमान्य नहीं है।.', - 'ipv4' => ':attributeमान्य नहीं है।.', - 'ipv6' => ':attributeमान्य नहीं है।.', - 'jwt' => ':attributeमान्य नहीं है।.', - 'name-days-week' => ':attributeमान्य नहीं है।.', - 'national-card' => ':attributeमान्य नहीं है।.', - 'odd-number' => ':attributeमान्य नहीं है।.', - 'phone-number' => ':attributeमान्य नहीं है।.', - 'port' => ':attributeमान्य नहीं है।.', - 'slash-end-of-string' => ':attributeमान्य नहीं है।.', - 'slug' => ':attributeमान्य नहीं है।.', - 'strong-password' => ':attributeमान्य नहीं है।.', - 'url' => ':attributeमान्य नहीं है।.', - 'username' => ':attributeमान्य नहीं है।.', - 'uuid' => ':attributeमान्य नहीं है।.', - 'jalali_date' => ':attributeमान्य नहीं है।.', - 'duplicate_character' => ':attributeमान्य नहीं है।.', - 'pattern' => ':attributeमान्य नहीं है।.', - 'duplicate' => ':attributeमान्य नहीं है।.', - 'ulid' => ':attributeमान्य नहीं है।.', + 'car-number' => ':attributeमान्य नहीं है।.', + 'cart-number-iran' => ':attributeमान्य नहीं है।.', + 'discord-username' => ':attributeमान्य नहीं है।.', + 'even-number' => ':attributeमान्य नहीं है।.', + 'hashtag' => ':attributeमान्य नहीं है।.', + 'hex-color' => ':attributeमान्य नहीं है।.', + 'html-tag' => ':attributeमान्य नहीं है।.', + 'imei' => ':attributeमान्य नहीं है।.', + 'ipv4' => ':attributeमान्य नहीं है।.', + 'ipv6' => ':attributeमान्य नहीं है।.', + 'jwt' => ':attributeमान्य नहीं है।.', + 'name-days-week' => ':attributeमान्य नहीं है।.', + 'national-card' => ':attributeमान्य नहीं है।.', + 'odd-number' => ':attributeमान्य नहीं है।.', + 'phone-number' => ':attributeमान्य नहीं है।.', + 'port' => ':attributeमान्य नहीं है।.', + 'slash-end-of-string' => ':attributeमान्य नहीं है।.', + 'slug' => ':attributeमान्य नहीं है।.', + 'strong-password' => ':attributeमान्य नहीं है।.', + 'url' => ':attributeमान्य नहीं है।.', + 'username' => ':attributeमान्य नहीं है।.', + 'uuid' => ':attributeमान्य नहीं है।.', + 'jalali_date' => ':attributeमान्य नहीं है।.', + 'duplicate_character' => ':attributeमान्य नहीं है।.', + 'pattern' => ':attributeमान्य नहीं है।.', + 'duplicate' => ':attributeमान्य नहीं है।.', + 'ulid' => ':attributeमान्य नहीं है।.', ]; diff --git a/src/lang/ja/validate.php b/src/lang/ja/validate.php index ff95c7e2..fdf49f57 100644 --- a/src/lang/ja/validate.php +++ b/src/lang/ja/validate.php @@ -1,34 +1,34 @@ ':attribute有効じゃない。', - 'bitcoin-address' => ':attribute有効じゃない。', + 'base64' => ':attribute有効じゃない。', + 'bitcoin-address' => ':attribute有効じゃない。', 'capital-char-with-number' => ':attribute有効じゃない。', - 'car-number' => ':attribute有効じゃない。', - 'cart-number-iran' => ':attribute有効じゃない。', - 'discord-username' => ':attribute有効じゃない。', - 'even-number' => ':attribute有効じゃない。', - 'hashtag' => ':attribute有効じゃない。', - 'hex-color' => ':attribute有効じゃない。', - 'html-tag' => ':attribute有効じゃない。', - 'imei' => ':attribute有効じゃない。', - 'ipv4' => ':attribute有効じゃない。', - 'ipv6' => ':attribute有効じゃない。', - 'jwt' => ':attribute有効じゃない。', - 'name-days-week' => ':attribute有効じゃない。', - 'national-card' => ':attribute有効じゃない。', - 'odd-number' => ':attribute有効じゃない。', - 'phone-number' => ':attribute有効じゃない。', - 'port' => ':attribute有効じゃない。', - 'slash-end-of-string' => ':attribute有効じゃない。', - 'slug' => ':attribute有効じゃない。', - 'strong-password' => ':attribute有効じゃない。', - 'url' => ':attribute有効じゃない。', - 'username' => ':attribute有効じゃない。', - 'uuid' => ':attribute有効じゃない。', - 'jalali_date' => ':attribute有効じゃない。', - 'duplicate_character' => ':attribute有効じゃない。', - 'pattern' => ':attribute有効じゃない。', - 'duplicate' => ':attribute有効じゃない。', - 'ulid' => ':attribute有効じゃない。', + 'car-number' => ':attribute有効じゃない。', + 'cart-number-iran' => ':attribute有効じゃない。', + 'discord-username' => ':attribute有効じゃない。', + 'even-number' => ':attribute有効じゃない。', + 'hashtag' => ':attribute有効じゃない。', + 'hex-color' => ':attribute有効じゃない。', + 'html-tag' => ':attribute有効じゃない。', + 'imei' => ':attribute有効じゃない。', + 'ipv4' => ':attribute有効じゃない。', + 'ipv6' => ':attribute有効じゃない。', + 'jwt' => ':attribute有効じゃない。', + 'name-days-week' => ':attribute有効じゃない。', + 'national-card' => ':attribute有効じゃない。', + 'odd-number' => ':attribute有効じゃない。', + 'phone-number' => ':attribute有効じゃない。', + 'port' => ':attribute有効じゃない。', + 'slash-end-of-string' => ':attribute有効じゃない。', + 'slug' => ':attribute有効じゃない。', + 'strong-password' => ':attribute有効じゃない。', + 'url' => ':attribute有効じゃない。', + 'username' => ':attribute有効じゃない。', + 'uuid' => ':attribute有効じゃない。', + 'jalali_date' => ':attribute有効じゃない。', + 'duplicate_character' => ':attribute有効じゃない。', + 'pattern' => ':attribute有効じゃない。', + 'duplicate' => ':attribute有効じゃない。', + 'ulid' => ':attribute有効じゃない。', ]; diff --git a/src/lang/ko/validate.php b/src/lang/ko/validate.php index c7202c93..a37209c6 100644 --- a/src/lang/ko/validate.php +++ b/src/lang/ko/validate.php @@ -1,34 +1,34 @@ ':attribute유효하지 않습니다.', - 'bitcoin-address' => ':attribute유효하지 않습니다.', + 'base64' => ':attribute유효하지 않습니다.', + 'bitcoin-address' => ':attribute유효하지 않습니다.', 'capital-char-with-number' => ':attribute유효하지 않습니다.', - 'car-number' => ':attribute유효하지 않습니다.', - 'cart-number-iran' => ':attribute유효하지 않습니다.', - 'discord-username' => ':attribute유효하지 않습니다.', - 'even-number' => ':attribute유효하지 않습니다.', - 'hashtag' => ':attribute유효하지 않습니다.', - 'hex-color' => ':attribute유효하지 않습니다.', - 'html-tag' => ':attribute유효하지 않습니다.', - 'imei' => ':attribute유효하지 않습니다.', - 'ipv4' => ':attribute유효하지 않습니다.', - 'ipv6' => ':attribute유효하지 않습니다.', - 'jwt' => ':attribute유효하지 않습니다.', - 'name-days-week' => ':attribute유효하지 않습니다.', - 'national-card' => ':attribute유효하지 않습니다.', - 'odd-number' => ':attribute유효하지 않습니다.', - 'phone-number' => ':attribute유효하지 않습니다.', - 'port' => ':attribute유효하지 않습니다.', - 'slash-end-of-string' => ':attribute유효하지 않습니다.', - 'slug' => ':attribute유효하지 않습니다.', - 'strong-password' => ':attribute유효하지 않습니다.', - 'url' => ':attribute유효하지 않습니다.', - 'username' => ':attribute유효하지 않습니다.', - 'uuid' => ':attribute유효하지 않습니다.', - 'jalali_date' => ':attribute유효하지 않습니다.', - 'duplicate_character' => ':attribute유효하지 않습니다.', - 'pattern' => ':attribute유효하지 않습니다.', - 'duplicate' => ':attribute유효하지 않습니다.', - 'ulid' => ':attribute유효하지 않습니다.', + 'car-number' => ':attribute유효하지 않습니다.', + 'cart-number-iran' => ':attribute유효하지 않습니다.', + 'discord-username' => ':attribute유효하지 않습니다.', + 'even-number' => ':attribute유효하지 않습니다.', + 'hashtag' => ':attribute유효하지 않습니다.', + 'hex-color' => ':attribute유효하지 않습니다.', + 'html-tag' => ':attribute유효하지 않습니다.', + 'imei' => ':attribute유효하지 않습니다.', + 'ipv4' => ':attribute유효하지 않습니다.', + 'ipv6' => ':attribute유효하지 않습니다.', + 'jwt' => ':attribute유효하지 않습니다.', + 'name-days-week' => ':attribute유효하지 않습니다.', + 'national-card' => ':attribute유효하지 않습니다.', + 'odd-number' => ':attribute유효하지 않습니다.', + 'phone-number' => ':attribute유효하지 않습니다.', + 'port' => ':attribute유효하지 않습니다.', + 'slash-end-of-string' => ':attribute유효하지 않습니다.', + 'slug' => ':attribute유효하지 않습니다.', + 'strong-password' => ':attribute유효하지 않습니다.', + 'url' => ':attribute유효하지 않습니다.', + 'username' => ':attribute유효하지 않습니다.', + 'uuid' => ':attribute유효하지 않습니다.', + 'jalali_date' => ':attribute유효하지 않습니다.', + 'duplicate_character' => ':attribute유효하지 않습니다.', + 'pattern' => ':attribute유효하지 않습니다.', + 'duplicate' => ':attribute유효하지 않습니다.', + 'ulid' => ':attribute유효하지 않습니다.', ]; diff --git a/src/lang/ru/validate.php b/src/lang/ru/validate.php index ce7ce6ed..c26526ff 100644 --- a/src/lang/ru/validate.php +++ b/src/lang/ru/validate.php @@ -1,34 +1,34 @@ ':attribute не действует.', - 'bitcoin-address' => ':attribute не действует.', + 'base64' => ':attribute не действует.', + 'bitcoin-address' => ':attribute не действует.', 'capital-char-with-number' => ':attribute не действует.', - 'car-number' => ':attribute не действует.', - 'cart-number-iran' => ':attribute не действует.', - 'discord-username' => ':attribute не действует.', - 'even-number' => ':attribute не действует.', - 'hashtag' => ':attribute не действует.', - 'hex-color' => ':attribute не действует.', - 'html-tag' => ':attribute не действует.', - 'imei' => ':attribute не действует.', - 'ipv4' => ':attribute не действует.', - 'ipv6' => ':attribute не действует.', - 'jwt' => ':attribute не действует.', - 'name-days-week' => ':attribute не действует.', - 'national-card' => ':attribute не действует.', - 'odd-number' => ':attribute не действует.', - 'phone-number' => ':attribute не действует.', - 'port' => ':attribute не действует.', - 'slash-end-of-string' => ':attribute не действует.', - 'slug' => ':attribute не действует.', - 'strong-password' => ':attribute не действует.', - 'url' => ':attribute не действует.', - 'username' => ':attribute не действует.', - 'uuid' => ':attribute не действует.', - 'jalali_date' => ':attribute не действует.', - 'duplicate_character' => ':attribute не действует.', - 'pattern' => ':attribute не действует.', - 'duplicate' => ':attribute не действует.', - 'ulid' => ':attribute не действует.', + 'car-number' => ':attribute не действует.', + 'cart-number-iran' => ':attribute не действует.', + 'discord-username' => ':attribute не действует.', + 'even-number' => ':attribute не действует.', + 'hashtag' => ':attribute не действует.', + 'hex-color' => ':attribute не действует.', + 'html-tag' => ':attribute не действует.', + 'imei' => ':attribute не действует.', + 'ipv4' => ':attribute не действует.', + 'ipv6' => ':attribute не действует.', + 'jwt' => ':attribute не действует.', + 'name-days-week' => ':attribute не действует.', + 'national-card' => ':attribute не действует.', + 'odd-number' => ':attribute не действует.', + 'phone-number' => ':attribute не действует.', + 'port' => ':attribute не действует.', + 'slash-end-of-string' => ':attribute не действует.', + 'slug' => ':attribute не действует.', + 'strong-password' => ':attribute не действует.', + 'url' => ':attribute не действует.', + 'username' => ':attribute не действует.', + 'uuid' => ':attribute не действует.', + 'jalali_date' => ':attribute не действует.', + 'duplicate_character' => ':attribute не действует.', + 'pattern' => ':attribute не действует.', + 'duplicate' => ':attribute не действует.', + 'ulid' => ':attribute не действует.', ]; diff --git a/src/lang/zh_CN/validate.php b/src/lang/zh_CN/validate.php index 1b1809c5..562f872f 100644 --- a/src/lang/zh_CN/validate.php +++ b/src/lang/zh_CN/validate.php @@ -1,34 +1,34 @@ ':attribute无效.', - 'bitcoin-address' => ':attribute无效.', + 'base64' => ':attribute无效.', + 'bitcoin-address' => ':attribute无效.', 'capital-char-with-number' => ':attribute无效.', - 'car-number' => ':attribute无效.', - 'cart-number-iran' => ':attribute无效.', - 'discord-username' => ':attribute无效.', - 'even-number' => ':attribute无效.', - 'hashtag' => ':attribute无效.', - 'hex-color' => ':attribute无效.', - 'html-tag' => ':attribute无效.', - 'imei' => ':attribute无效.', - 'ipv4' => ':attribute无效.', - 'ipv6' => ':attribute无效.', - 'jwt' => ':attribute无效.', - 'name-days-week' => ':attribute无效.', - 'national-card' => ':attribute无效.', - 'odd-number' => ':attribute无效.', - 'phone-number' => ':attribute无效.', - 'port' => ':attribute无效.', - 'slash-end-of-string' => ':attribute无效.', - 'slug' => ':attribute无效.', - 'strong-password' => ':attribute无效.', - 'url' => ':attribute无效.', - 'username' => ':attribute无效.', - 'uuid' => ':attribute无效.', - 'jalali_date' => ':attribute无效.', - 'duplicate_character' => ':attribute无效.', - 'pattern' => ':attribute无效.', - 'duplicate' => ':attribute无效.', - 'ulid' => ':attribute无效.', + 'car-number' => ':attribute无效.', + 'cart-number-iran' => ':attribute无效.', + 'discord-username' => ':attribute无效.', + 'even-number' => ':attribute无效.', + 'hashtag' => ':attribute无效.', + 'hex-color' => ':attribute无效.', + 'html-tag' => ':attribute无效.', + 'imei' => ':attribute无效.', + 'ipv4' => ':attribute无效.', + 'ipv6' => ':attribute无效.', + 'jwt' => ':attribute无效.', + 'name-days-week' => ':attribute无效.', + 'national-card' => ':attribute无效.', + 'odd-number' => ':attribute无效.', + 'phone-number' => ':attribute无效.', + 'port' => ':attribute无效.', + 'slash-end-of-string' => ':attribute无效.', + 'slug' => ':attribute无效.', + 'strong-password' => ':attribute无效.', + 'url' => ':attribute无效.', + 'username' => ':attribute无效.', + 'uuid' => ':attribute无效.', + 'jalali_date' => ':attribute无效.', + 'duplicate_character' => ':attribute无效.', + 'pattern' => ':attribute无效.', + 'duplicate' => ':attribute无效.', + 'ulid' => ':attribute无效.', ]; diff --git a/tests/BaseTest.php b/tests/BaseTest.php index 75e952e9..f97d1d6d 100644 --- a/tests/BaseTest.php +++ b/tests/BaseTest.php @@ -9,7 +9,8 @@ class BaseTest extends \Orchestra\Testbench\TestCase /** * Get package providers. * - * @param \Illuminate\Foundation\Application $app + * @param \Illuminate\Foundation\Application $app + * * @return array */ protected function getPackageProviders($app) From e2aaacc8d3808be21689487ee299565a83a1c73e Mon Sep 17 00:00:00 2001 From: milwad-dev Date: Fri, 10 Mar 2023 13:04:14 +0000 Subject: [PATCH 4/8] Fix styling --- src/Rules/ValidBase64.php | 5 +- src/Rules/ValidBitcoinAddress.php | 5 +- src/Rules/ValidCapitalCharWithNumber.php | 5 +- src/Rules/ValidCarNumber.php | 5 +- src/Rules/ValidCartNumberIran.php | 5 +- src/Rules/ValidDiscordUsername.php | 5 +- src/Rules/ValidDuplicate.php | 5 +- src/Rules/ValidDuplicateCharacter.php | 5 +- src/Rules/ValidEvenNumber.php | 5 +- src/Rules/ValidHashtag.php | 5 +- src/Rules/ValidHexColor.php | 5 +- src/Rules/ValidHtmlTag.php | 5 +- src/Rules/ValidImei.php | 7 ++- src/Rules/ValidIpAddressIPV4.php | 5 +- src/Rules/ValidIpAddressIPV6.php | 5 +- src/Rules/ValidJalaliDate.php | 7 ++- src/Rules/ValidJwt.php | 5 +- src/Rules/ValidNameDaysWeek.php | 5 +- src/Rules/ValidNationalCard.php | 5 +- src/Rules/ValidOddNumber.php | 5 +- src/Rules/ValidPattern.php | 5 +- src/Rules/ValidPhoneNumber.php | 5 +- src/Rules/ValidPort.php | 5 +- src/Rules/ValidSlashEndOfString.php | 5 +- src/Rules/ValidSlug.php | 5 +- src/Rules/ValidStrongPassword.php | 5 +- src/Rules/ValidUlid.php | 5 +- src/Rules/ValidUrl.php | 5 +- src/Rules/ValidUsername.php | 5 +- src/Rules/ValidUuid.php | 5 +- src/lang/It/validate.php | 58 ++++++++++++------------ src/lang/ar/validate.php | 58 ++++++++++++------------ src/lang/en/validate.php | 58 ++++++++++++------------ src/lang/fa/validate.php | 58 ++++++++++++------------ src/lang/fr/validate.php | 58 ++++++++++++------------ src/lang/hi/validate.php | 58 ++++++++++++------------ src/lang/ja/validate.php | 58 ++++++++++++------------ src/lang/ko/validate.php | 58 ++++++++++++------------ src/lang/ru/validate.php | 58 ++++++++++++------------ src/lang/zh_CN/validate.php | 58 ++++++++++++------------ tests/BaseTest.php | 3 +- 41 files changed, 353 insertions(+), 384 deletions(-) diff --git a/src/Rules/ValidBase64.php b/src/Rules/ValidBase64.php index b2bb6ec8..460e53cd 100644 --- a/src/Rules/ValidBase64.php +++ b/src/Rules/ValidBase64.php @@ -9,9 +9,8 @@ class ValidBase64 implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidBitcoinAddress.php b/src/Rules/ValidBitcoinAddress.php index 7f38ff48..3c0ee29d 100644 --- a/src/Rules/ValidBitcoinAddress.php +++ b/src/Rules/ValidBitcoinAddress.php @@ -9,9 +9,8 @@ class ValidBitcoinAddress implements Rule /** * Check bitcoin address. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCapitalCharWithNumber.php b/src/Rules/ValidCapitalCharWithNumber.php index f3cc7a9c..dd1e26b3 100644 --- a/src/Rules/ValidCapitalCharWithNumber.php +++ b/src/Rules/ValidCapitalCharWithNumber.php @@ -9,9 +9,8 @@ class ValidCapitalCharWithNumber implements Rule /** * Check all words are capital & with hyphen & number. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCarNumber.php b/src/Rules/ValidCarNumber.php index e1d75c13..6aed527f 100644 --- a/src/Rules/ValidCarNumber.php +++ b/src/Rules/ValidCarNumber.php @@ -9,9 +9,8 @@ class ValidCarNumber implements Rule /** * Check car number is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCartNumberIran.php b/src/Rules/ValidCartNumberIran.php index 9bd6c746..74fa388c 100644 --- a/src/Rules/ValidCartNumberIran.php +++ b/src/Rules/ValidCartNumberIran.php @@ -9,9 +9,8 @@ class ValidCartNumberIran implements Rule /** * Check cart number is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDiscordUsername.php b/src/Rules/ValidDiscordUsername.php index 25087ab9..d72cce7c 100644 --- a/src/Rules/ValidDiscordUsername.php +++ b/src/Rules/ValidDiscordUsername.php @@ -9,9 +9,8 @@ class ValidDiscordUsername implements Rule /** * Check discord username is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDuplicate.php b/src/Rules/ValidDuplicate.php index 9a1c0742..fa802ee0 100644 --- a/src/Rules/ValidDuplicate.php +++ b/src/Rules/ValidDuplicate.php @@ -9,9 +9,8 @@ class ValidDuplicate implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDuplicateCharacter.php b/src/Rules/ValidDuplicateCharacter.php index 4dca9ddd..5e6a58c2 100644 --- a/src/Rules/ValidDuplicateCharacter.php +++ b/src/Rules/ValidDuplicateCharacter.php @@ -9,9 +9,8 @@ class ValidDuplicateCharacter implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidEvenNumber.php b/src/Rules/ValidEvenNumber.php index 82864195..18f3258f 100644 --- a/src/Rules/ValidEvenNumber.php +++ b/src/Rules/ValidEvenNumber.php @@ -9,9 +9,8 @@ class ValidEvenNumber implements Rule /** * Check number is even. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHashtag.php b/src/Rules/ValidHashtag.php index 9a2d0379..48d3a642 100644 --- a/src/Rules/ValidHashtag.php +++ b/src/Rules/ValidHashtag.php @@ -9,9 +9,8 @@ class ValidHashtag implements Rule /** * Check value contains hashtag. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHexColor.php b/src/Rules/ValidHexColor.php index e8ffe89c..8a132a27 100644 --- a/src/Rules/ValidHexColor.php +++ b/src/Rules/ValidHexColor.php @@ -9,9 +9,8 @@ class ValidHexColor implements Rule /** * Check hex color is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHtmlTag.php b/src/Rules/ValidHtmlTag.php index 4dbbf403..8d24933d 100644 --- a/src/Rules/ValidHtmlTag.php +++ b/src/Rules/ValidHtmlTag.php @@ -9,9 +9,8 @@ class ValidHtmlTag implements Rule /** * Check html tag is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidImei.php b/src/Rules/ValidImei.php index b808b3a4..73207b3c 100644 --- a/src/Rules/ValidImei.php +++ b/src/Rules/ValidImei.php @@ -9,16 +9,15 @@ class ValidImei implements Rule /** * Check jwt is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) { $imei = $value; - if (strlen($imei) != 15 || !ctype_digit($imei)) { + if (strlen($imei) != 15 || ! ctype_digit($imei)) { return false; } diff --git a/src/Rules/ValidIpAddressIPV4.php b/src/Rules/ValidIpAddressIPV4.php index 5597feb3..da364c28 100644 --- a/src/Rules/ValidIpAddressIPV4.php +++ b/src/Rules/ValidIpAddressIPV4.php @@ -9,9 +9,8 @@ class ValidIpAddressIPV4 implements Rule /** * Check ip address (ipv4) is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidIpAddressIPV6.php b/src/Rules/ValidIpAddressIPV6.php index 3db78a32..d9486ac6 100644 --- a/src/Rules/ValidIpAddressIPV6.php +++ b/src/Rules/ValidIpAddressIPV6.php @@ -9,9 +9,8 @@ class ValidIpAddressIPV6 implements Rule /** * Check ip address (ipv6) is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidJalaliDate.php b/src/Rules/ValidJalaliDate.php index ba1063b0..2fa79d45 100644 --- a/src/Rules/ValidJalaliDate.php +++ b/src/Rules/ValidJalaliDate.php @@ -10,14 +10,13 @@ class ValidJalaliDate implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) { - if (!is_string($value)) { + if (! is_string($value)) { return false; } diff --git a/src/Rules/ValidJwt.php b/src/Rules/ValidJwt.php index e8a34a3f..a84ee7e4 100644 --- a/src/Rules/ValidJwt.php +++ b/src/Rules/ValidJwt.php @@ -9,9 +9,8 @@ class ValidJwt implements Rule /** * Check jwt is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidNameDaysWeek.php b/src/Rules/ValidNameDaysWeek.php index 1bd2062f..bf9d36c4 100644 --- a/src/Rules/ValidNameDaysWeek.php +++ b/src/Rules/ValidNameDaysWeek.php @@ -9,9 +9,8 @@ class ValidNameDaysWeek implements Rule /** * Check day is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidNationalCard.php b/src/Rules/ValidNationalCard.php index 8ce7ed86..dc1dafcc 100644 --- a/src/Rules/ValidNationalCard.php +++ b/src/Rules/ValidNationalCard.php @@ -9,9 +9,8 @@ class ValidNationalCard implements Rule /** * Check national card is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidOddNumber.php b/src/Rules/ValidOddNumber.php index edea3535..fbac8603 100644 --- a/src/Rules/ValidOddNumber.php +++ b/src/Rules/ValidOddNumber.php @@ -9,9 +9,8 @@ class ValidOddNumber implements Rule /** * Check number is odd. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPattern.php b/src/Rules/ValidPattern.php index 2feae322..09362349 100644 --- a/src/Rules/ValidPattern.php +++ b/src/Rules/ValidPattern.php @@ -15,9 +15,8 @@ public function __construct( /** * Check texts with specific pattern. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPhoneNumber.php b/src/Rules/ValidPhoneNumber.php index 0ab489c8..6542aa7e 100644 --- a/src/Rules/ValidPhoneNumber.php +++ b/src/Rules/ValidPhoneNumber.php @@ -9,9 +9,8 @@ class ValidPhoneNumber implements Rule /** * Check phone number is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPort.php b/src/Rules/ValidPort.php index af9644b3..a5279ec9 100644 --- a/src/Rules/ValidPort.php +++ b/src/Rules/ValidPort.php @@ -9,9 +9,8 @@ class ValidPort implements Rule /** * Check port is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidSlashEndOfString.php b/src/Rules/ValidSlashEndOfString.php index 2b211cd9..1df0369e 100644 --- a/src/Rules/ValidSlashEndOfString.php +++ b/src/Rules/ValidSlashEndOfString.php @@ -9,9 +9,8 @@ class ValidSlashEndOfString implements Rule /** * Check write slash at the end of string. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidSlug.php b/src/Rules/ValidSlug.php index 4f0d15b3..9645cf0b 100644 --- a/src/Rules/ValidSlug.php +++ b/src/Rules/ValidSlug.php @@ -9,9 +9,8 @@ class ValidSlug implements Rule /** * Check slug is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidStrongPassword.php b/src/Rules/ValidStrongPassword.php index 4a8633f0..4fda294e 100644 --- a/src/Rules/ValidStrongPassword.php +++ b/src/Rules/ValidStrongPassword.php @@ -9,9 +9,8 @@ class ValidStrongPassword implements Rule /** * Check password started by capital letters & contains lowercase letters & contains number. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUlid.php b/src/Rules/ValidUlid.php index 3ba8854d..620d51d1 100644 --- a/src/Rules/ValidUlid.php +++ b/src/Rules/ValidUlid.php @@ -9,9 +9,8 @@ class ValidUlid implements Rule /** * Check ulid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUrl.php b/src/Rules/ValidUrl.php index 3cec2943..9738b758 100644 --- a/src/Rules/ValidUrl.php +++ b/src/Rules/ValidUrl.php @@ -9,9 +9,8 @@ class ValidUrl implements Rule /** * Check url is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUsername.php b/src/Rules/ValidUsername.php index cbd2befb..9e1c8b40 100644 --- a/src/Rules/ValidUsername.php +++ b/src/Rules/ValidUsername.php @@ -9,9 +9,8 @@ class ValidUsername implements Rule /** * It checks that the length of the username must be between 3 and 15 characters without spaces. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUuid.php b/src/Rules/ValidUuid.php index 3e5697f3..2501d85c 100644 --- a/src/Rules/ValidUuid.php +++ b/src/Rules/ValidUuid.php @@ -9,9 +9,8 @@ class ValidUuid implements Rule /** * Check uuid is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/lang/It/validate.php b/src/lang/It/validate.php index 6a504f82..8ca5520e 100644 --- a/src/lang/It/validate.php +++ b/src/lang/It/validate.php @@ -1,34 +1,34 @@ ':attribute non è valido.', - 'bitcoin-address' => ':attribute non è valido.', + 'base64' => ':attribute non è valido.', + 'bitcoin-address' => ':attribute non è valido.', 'capital-char-with-number' => ':attribute non è valido.', - 'car-number' => ':attribute non è valido.', - 'cart-number-iran' => ':attribute non è valido.', - 'discord-username' => ':attribute non è valido.', - 'even-number' => ':attribute non è valido.', - 'hashtag' => ':attribute non è valido.', - 'hex-color' => ':attribute non è valido.', - 'html-tag' => ':attribute non è valido.', - 'imei' => ':attribute non è valido.', - 'ipv4' => ':attribute non è valido.', - 'ipv6' => ':attribute non è valido.', - 'jwt' => ':attribute non è valido.', - 'name-days-week' => ':attribute non è valido.', - 'national-card' => ':attribute non è valido.', - 'odd-number' => ':attribute non è valido.', - 'phone-number' => ':attribute non è valido.', - 'port' => ':attribute non è valido.', - 'slash-end-of-string' => ':attribute non è valido.', - 'slug' => ':attribute non è valido.', - 'strong-password' => ':attribute non è valido.', - 'url' => ':attribute non è valido.', - 'username' => ':attribute non è valido.', - 'uuid' => ':attribute non è valido.', - 'jalali_date' => ':attribute non è valido.', - 'duplicate_character' => ':attribute non è valido.', - 'pattern' => ':attribute non è valido.', - 'duplicate' => ':attribute non è valido.', - 'ulid' => ':attribute non è valido.', + 'car-number' => ':attribute non è valido.', + 'cart-number-iran' => ':attribute non è valido.', + 'discord-username' => ':attribute non è valido.', + 'even-number' => ':attribute non è valido.', + 'hashtag' => ':attribute non è valido.', + 'hex-color' => ':attribute non è valido.', + 'html-tag' => ':attribute non è valido.', + 'imei' => ':attribute non è valido.', + 'ipv4' => ':attribute non è valido.', + 'ipv6' => ':attribute non è valido.', + 'jwt' => ':attribute non è valido.', + 'name-days-week' => ':attribute non è valido.', + 'national-card' => ':attribute non è valido.', + 'odd-number' => ':attribute non è valido.', + 'phone-number' => ':attribute non è valido.', + 'port' => ':attribute non è valido.', + 'slash-end-of-string' => ':attribute non è valido.', + 'slug' => ':attribute non è valido.', + 'strong-password' => ':attribute non è valido.', + 'url' => ':attribute non è valido.', + 'username' => ':attribute non è valido.', + 'uuid' => ':attribute non è valido.', + 'jalali_date' => ':attribute non è valido.', + 'duplicate_character' => ':attribute non è valido.', + 'pattern' => ':attribute non è valido.', + 'duplicate' => ':attribute non è valido.', + 'ulid' => ':attribute non è valido.', ]; diff --git a/src/lang/ar/validate.php b/src/lang/ar/validate.php index 093f189b..0dbed312 100644 --- a/src/lang/ar/validate.php +++ b/src/lang/ar/validate.php @@ -1,34 +1,34 @@ ':attribute غير صالح.', - 'bitcoin-address' => ':attribute غير صالح.', + 'base64' => ':attribute غير صالح.', + 'bitcoin-address' => ':attribute غير صالح.', 'capital-char-with-number' => ':attribute غير صالح.', - 'car-number' => ':attribute غير صالح.', - 'cart-number-iran' => ':attribute غير صالح.', - 'discord-username' => ':attribute غير صالح.', - 'even-number' => ':attribute غير صالح.', - 'hashtag' => ':attribute غير صالح.', - 'hex-color' => ':attribute غير صالح.', - 'html-tag' => ':attribute غير صالح.', - 'imei' => ':attribute غير صالح.', - 'ipv4' => ':attribute غير صالح.', - 'ipv6' => ':attribute غير صالح.', - 'jwt' => ':attribute غير صالح.', - 'name-days-week' => ':attribute غير صالح.', - 'national-card' => ':attribute غير صالح.', - 'odd-number' => ':attribute غير صالح.', - 'phone-number' => ':attribute غير صالح.', - 'port' => ':attribute غير صالح.', - 'slash-end-of-string' => ':attribute غير صالح.', - 'slug' => ':attribute غير صالح.', - 'strong-password' => ':attribute غير صالح.', - 'url' => ':attribute غير صالح.', - 'username' => ':attribute غير صالح.', - 'uuid' => ':attribute غير صالح.', - 'jalali_date' => ':attribute غير صالح.', - 'duplicate_character' => ':attribute غير صالح.', - 'pattern' => ':attribute غير صالح.', - 'duplicate' => ':attribute غير صالح.', - 'ulid' => ':attribute غير صالح.', + 'car-number' => ':attribute غير صالح.', + 'cart-number-iran' => ':attribute غير صالح.', + 'discord-username' => ':attribute غير صالح.', + 'even-number' => ':attribute غير صالح.', + 'hashtag' => ':attribute غير صالح.', + 'hex-color' => ':attribute غير صالح.', + 'html-tag' => ':attribute غير صالح.', + 'imei' => ':attribute غير صالح.', + 'ipv4' => ':attribute غير صالح.', + 'ipv6' => ':attribute غير صالح.', + 'jwt' => ':attribute غير صالح.', + 'name-days-week' => ':attribute غير صالح.', + 'national-card' => ':attribute غير صالح.', + 'odd-number' => ':attribute غير صالح.', + 'phone-number' => ':attribute غير صالح.', + 'port' => ':attribute غير صالح.', + 'slash-end-of-string' => ':attribute غير صالح.', + 'slug' => ':attribute غير صالح.', + 'strong-password' => ':attribute غير صالح.', + 'url' => ':attribute غير صالح.', + 'username' => ':attribute غير صالح.', + 'uuid' => ':attribute غير صالح.', + 'jalali_date' => ':attribute غير صالح.', + 'duplicate_character' => ':attribute غير صالح.', + 'pattern' => ':attribute غير صالح.', + 'duplicate' => ':attribute غير صالح.', + 'ulid' => ':attribute غير صالح.', ]; diff --git a/src/lang/en/validate.php b/src/lang/en/validate.php index cf875e8b..1fa0d3fa 100644 --- a/src/lang/en/validate.php +++ b/src/lang/en/validate.php @@ -1,34 +1,34 @@ 'The :attribute is not valid.', - 'bitcoin-address' => 'The :attribute is not valid.', + 'base64' => 'The :attribute is not valid.', + 'bitcoin-address' => 'The :attribute is not valid.', 'capital-char-with-number' => 'The :attribute is not valid.', - 'car-number' => 'The :attribute is not valid.', - 'cart-number-iran' => 'The :attribute is not valid.', - 'discord-username' => 'The :attribute is not valid.', - 'even-number' => 'The :attribute is not valid.', - 'hashtag' => 'The :attribute is not valid.', - 'hex-color' => 'The :attribute is not valid.', - 'html-tag' => 'The :attribute is not valid.', - 'imei' => 'The :attribute is not valid.', - 'ipv4' => 'The :attribute is not valid.', - 'ipv6' => 'The :attribute is not valid.', - 'jwt' => 'The :attribute is not valid.', - 'name-days-week' => 'The :attribute is not valid.', - 'national-card' => 'The :attribute is not valid.', - 'odd-number' => 'The :attribute is not valid.', - 'phone-number' => 'The :attribute is not valid.', - 'port' => 'The :attribute is not valid.', - 'slash-end-of-string' => 'The :attribute is not valid.', - 'slug' => 'The :attribute is not valid.', - 'strong-password' => 'The :attribute is not valid.', - 'url' => 'The :attribute is not valid.', - 'username' => 'The :attribute is not valid.', - 'uuid' => 'The :attribute is not valid.', - 'jalali_date' => 'The :attribute is not valid.', - 'duplicate_character' => 'The :attribute is not valid.', - 'pattern' => 'The :attribute is not valid.', - 'duplicate' => 'The :attribute is not valid.', - 'ulid' => 'The :attribute is not valid.', + 'car-number' => 'The :attribute is not valid.', + 'cart-number-iran' => 'The :attribute is not valid.', + 'discord-username' => 'The :attribute is not valid.', + 'even-number' => 'The :attribute is not valid.', + 'hashtag' => 'The :attribute is not valid.', + 'hex-color' => 'The :attribute is not valid.', + 'html-tag' => 'The :attribute is not valid.', + 'imei' => 'The :attribute is not valid.', + 'ipv4' => 'The :attribute is not valid.', + 'ipv6' => 'The :attribute is not valid.', + 'jwt' => 'The :attribute is not valid.', + 'name-days-week' => 'The :attribute is not valid.', + 'national-card' => 'The :attribute is not valid.', + 'odd-number' => 'The :attribute is not valid.', + 'phone-number' => 'The :attribute is not valid.', + 'port' => 'The :attribute is not valid.', + 'slash-end-of-string' => 'The :attribute is not valid.', + 'slug' => 'The :attribute is not valid.', + 'strong-password' => 'The :attribute is not valid.', + 'url' => 'The :attribute is not valid.', + 'username' => 'The :attribute is not valid.', + 'uuid' => 'The :attribute is not valid.', + 'jalali_date' => 'The :attribute is not valid.', + 'duplicate_character' => 'The :attribute is not valid.', + 'pattern' => 'The :attribute is not valid.', + 'duplicate' => 'The :attribute is not valid.', + 'ulid' => 'The :attribute is not valid.', ]; diff --git a/src/lang/fa/validate.php b/src/lang/fa/validate.php index fb5b7946..533d0f97 100644 --- a/src/lang/fa/validate.php +++ b/src/lang/fa/validate.php @@ -1,34 +1,34 @@ 'مقدار :attribute صحیح نمی باشد.', - 'bitcoin-address' => 'مقدار :attribute صحیح نمی باشد.', + 'base64' => 'مقدار :attribute صحیح نمی باشد.', + 'bitcoin-address' => 'مقدار :attribute صحیح نمی باشد.', 'capital-char-with-number' => 'مقدار :attribute صحیح نمی باشد.', - 'car-number' => 'مقدار :attribute صحیح نمی باشد.', - 'cart-number-iran' => 'مقدار :attribute صحیح نمی باشد.', - 'discord-username' => 'مقدار :attribute صحیح نمی باشد.', - 'even-number' => 'مقدار :attribute صحیح نمی باشد.', - 'hashtag' => 'مقدار :attribute صحیح نمی باشد.', - 'hex-color' => 'مقدار :attribute صحیح نمی باشد.', - 'html-tag' => 'مقدار :attribute صحیح نمی باشد.', - 'imei' => 'مقدار :attribute صحیح نمی باشد.', - 'ipv4' => 'مقدار :attribute صحیح نمی باشد.', - 'ipv6' => 'مقدار :attribute صحیح نمی باشد.', - 'jwt' => 'مقدار :attribute صحیح نمی باشد.', - 'name-days-week' => 'مقدار :attribute صحیح نمی باشد.', - 'national-card' => 'مقدار :attribute صحیح نمی باشد.', - 'odd-number' => 'مقدار :attribute صحیح نمی باشد.', - 'phone-number' => 'مقدار :attribute صحیح نمی باشد.', - 'port' => 'مقدار :attribute صحیح نمی باشد.', - 'slash-end-of-string' => 'مقدار :attribute صحیح نمی باشد.', - 'slug' => 'مقدار :attribute صحیح نمی باشد.', - 'strong-password' => 'مقدار :attribute صحیح نمی باشد.', - 'url' => 'مقدار :attribute صحیح نمی باشد.', - 'username' => 'مقدار :attribute صحیح نمی باشد.', - 'uuid' => 'مقدار :attribute صحیح نمی باشد.', - 'jalali_date' => 'مقدار :attribute صحیح نمی باشد.', - 'duplicate_character' => 'مقدار :attribute صحیح نمی باشد.', - 'pattern' => 'مقدار :attribute صحیح نمی باشد.', - 'duplicate' => 'مقدار :attribute صحیح نمی باشد.', - 'ulid' => 'مقدار :attribute صحیح نمی باشد.', + 'car-number' => 'مقدار :attribute صحیح نمی باشد.', + 'cart-number-iran' => 'مقدار :attribute صحیح نمی باشد.', + 'discord-username' => 'مقدار :attribute صحیح نمی باشد.', + 'even-number' => 'مقدار :attribute صحیح نمی باشد.', + 'hashtag' => 'مقدار :attribute صحیح نمی باشد.', + 'hex-color' => 'مقدار :attribute صحیح نمی باشد.', + 'html-tag' => 'مقدار :attribute صحیح نمی باشد.', + 'imei' => 'مقدار :attribute صحیح نمی باشد.', + 'ipv4' => 'مقدار :attribute صحیح نمی باشد.', + 'ipv6' => 'مقدار :attribute صحیح نمی باشد.', + 'jwt' => 'مقدار :attribute صحیح نمی باشد.', + 'name-days-week' => 'مقدار :attribute صحیح نمی باشد.', + 'national-card' => 'مقدار :attribute صحیح نمی باشد.', + 'odd-number' => 'مقدار :attribute صحیح نمی باشد.', + 'phone-number' => 'مقدار :attribute صحیح نمی باشد.', + 'port' => 'مقدار :attribute صحیح نمی باشد.', + 'slash-end-of-string' => 'مقدار :attribute صحیح نمی باشد.', + 'slug' => 'مقدار :attribute صحیح نمی باشد.', + 'strong-password' => 'مقدار :attribute صحیح نمی باشد.', + 'url' => 'مقدار :attribute صحیح نمی باشد.', + 'username' => 'مقدار :attribute صحیح نمی باشد.', + 'uuid' => 'مقدار :attribute صحیح نمی باشد.', + 'jalali_date' => 'مقدار :attribute صحیح نمی باشد.', + 'duplicate_character' => 'مقدار :attribute صحیح نمی باشد.', + 'pattern' => 'مقدار :attribute صحیح نمی باشد.', + 'duplicate' => 'مقدار :attribute صحیح نمی باشد.', + 'ulid' => 'مقدار :attribute صحیح نمی باشد.', ]; diff --git a/src/lang/fr/validate.php b/src/lang/fr/validate.php index 35030479..778969ea 100644 --- a/src/lang/fr/validate.php +++ b/src/lang/fr/validate.php @@ -1,34 +1,34 @@ ":attribute n'est pas valide.", - 'bitcoin-address' => ":attribute n'est pas valide.", + 'base64' => ":attribute n'est pas valide.", + 'bitcoin-address' => ":attribute n'est pas valide.", 'capital-char-with-number' => ":attribute n'est pas valide.", - 'car-number' => ":attribute n'est pas valide.", - 'cart-number-iran' => ":attribute n'est pas valide.", - 'discord-username' => ":attribute n'est pas valide.", - 'even-number' => ":attribute n'est pas valide.", - 'hashtag' => ":attribute n'est pas valide.", - 'hex-color' => ":attribute n'est pas valide.", - 'html-tag' => ":attribute n'est pas valide.", - 'imei' => ":attribute n'est pas valide.", - 'ipv4' => ":attribute n'est pas valide.", - 'ipv6' => ":attribute n'est pas valide.", - 'jwt' => ":attribute n'est pas valide.", - 'name-days-week' => ":attribute n'est pas valide.", - 'national-card' => ":attribute n'est pas valide.", - 'odd-number' => ":attribute n'est pas valide.", - 'phone-number' => ":attribute n'est pas valide.", - 'port' => ":attribute n'est pas valide.", - 'slash-end-of-string' => ":attribute n'est pas valide.", - 'slug' => ":attribute n'est pas valide.", - 'strong-password' => ":attribute n'est pas valide.", - 'url' => ":attribute n'est pas valide.", - 'username' => ":attribute n'est pas valide.", - 'uuid' => ":attribute n'est pas valide.", - 'jalali_date' => ":attribute n'est pas valide.", - 'duplicate_character' => ":attribute n'est pas valide.", - 'pattern' => ":attribute n'est pas valide.", - 'duplicate' => ":attribute n'est pas valide.", - 'ulid' => ":attribute n'est pas valide.", + 'car-number' => ":attribute n'est pas valide.", + 'cart-number-iran' => ":attribute n'est pas valide.", + 'discord-username' => ":attribute n'est pas valide.", + 'even-number' => ":attribute n'est pas valide.", + 'hashtag' => ":attribute n'est pas valide.", + 'hex-color' => ":attribute n'est pas valide.", + 'html-tag' => ":attribute n'est pas valide.", + 'imei' => ":attribute n'est pas valide.", + 'ipv4' => ":attribute n'est pas valide.", + 'ipv6' => ":attribute n'est pas valide.", + 'jwt' => ":attribute n'est pas valide.", + 'name-days-week' => ":attribute n'est pas valide.", + 'national-card' => ":attribute n'est pas valide.", + 'odd-number' => ":attribute n'est pas valide.", + 'phone-number' => ":attribute n'est pas valide.", + 'port' => ":attribute n'est pas valide.", + 'slash-end-of-string' => ":attribute n'est pas valide.", + 'slug' => ":attribute n'est pas valide.", + 'strong-password' => ":attribute n'est pas valide.", + 'url' => ":attribute n'est pas valide.", + 'username' => ":attribute n'est pas valide.", + 'uuid' => ":attribute n'est pas valide.", + 'jalali_date' => ":attribute n'est pas valide.", + 'duplicate_character' => ":attribute n'est pas valide.", + 'pattern' => ":attribute n'est pas valide.", + 'duplicate' => ":attribute n'est pas valide.", + 'ulid' => ":attribute n'est pas valide.", ]; diff --git a/src/lang/hi/validate.php b/src/lang/hi/validate.php index 1e6c0213..12736715 100644 --- a/src/lang/hi/validate.php +++ b/src/lang/hi/validate.php @@ -1,34 +1,34 @@ ':attributeमान्य नहीं है।.', - 'bitcoin-address' => ':attributeमान्य नहीं है।.', + 'base64' => ':attributeमान्य नहीं है।.', + 'bitcoin-address' => ':attributeमान्य नहीं है।.', 'capital-char-with-number' => ':attributeमान्य नहीं है।.', - 'car-number' => ':attributeमान्य नहीं है।.', - 'cart-number-iran' => ':attributeमान्य नहीं है।.', - 'discord-username' => ':attributeमान्य नहीं है।.', - 'even-number' => ':attributeमान्य नहीं है।.', - 'hashtag' => ':attributeमान्य नहीं है।.', - 'hex-color' => ':attributeमान्य नहीं है।.', - 'html-tag' => ':attributeमान्य नहीं है।.', - 'imei' => ':attributeमान्य नहीं है।.', - 'ipv4' => ':attributeमान्य नहीं है।.', - 'ipv6' => ':attributeमान्य नहीं है।.', - 'jwt' => ':attributeमान्य नहीं है।.', - 'name-days-week' => ':attributeमान्य नहीं है।.', - 'national-card' => ':attributeमान्य नहीं है।.', - 'odd-number' => ':attributeमान्य नहीं है।.', - 'phone-number' => ':attributeमान्य नहीं है।.', - 'port' => ':attributeमान्य नहीं है।.', - 'slash-end-of-string' => ':attributeमान्य नहीं है।.', - 'slug' => ':attributeमान्य नहीं है।.', - 'strong-password' => ':attributeमान्य नहीं है।.', - 'url' => ':attributeमान्य नहीं है।.', - 'username' => ':attributeमान्य नहीं है।.', - 'uuid' => ':attributeमान्य नहीं है।.', - 'jalali_date' => ':attributeमान्य नहीं है।.', - 'duplicate_character' => ':attributeमान्य नहीं है।.', - 'pattern' => ':attributeमान्य नहीं है।.', - 'duplicate' => ':attributeमान्य नहीं है।.', - 'ulid' => ':attributeमान्य नहीं है।.', + 'car-number' => ':attributeमान्य नहीं है।.', + 'cart-number-iran' => ':attributeमान्य नहीं है।.', + 'discord-username' => ':attributeमान्य नहीं है।.', + 'even-number' => ':attributeमान्य नहीं है।.', + 'hashtag' => ':attributeमान्य नहीं है।.', + 'hex-color' => ':attributeमान्य नहीं है।.', + 'html-tag' => ':attributeमान्य नहीं है।.', + 'imei' => ':attributeमान्य नहीं है।.', + 'ipv4' => ':attributeमान्य नहीं है।.', + 'ipv6' => ':attributeमान्य नहीं है।.', + 'jwt' => ':attributeमान्य नहीं है।.', + 'name-days-week' => ':attributeमान्य नहीं है।.', + 'national-card' => ':attributeमान्य नहीं है।.', + 'odd-number' => ':attributeमान्य नहीं है।.', + 'phone-number' => ':attributeमान्य नहीं है।.', + 'port' => ':attributeमान्य नहीं है।.', + 'slash-end-of-string' => ':attributeमान्य नहीं है।.', + 'slug' => ':attributeमान्य नहीं है।.', + 'strong-password' => ':attributeमान्य नहीं है।.', + 'url' => ':attributeमान्य नहीं है।.', + 'username' => ':attributeमान्य नहीं है।.', + 'uuid' => ':attributeमान्य नहीं है।.', + 'jalali_date' => ':attributeमान्य नहीं है।.', + 'duplicate_character' => ':attributeमान्य नहीं है।.', + 'pattern' => ':attributeमान्य नहीं है।.', + 'duplicate' => ':attributeमान्य नहीं है।.', + 'ulid' => ':attributeमान्य नहीं है।.', ]; diff --git a/src/lang/ja/validate.php b/src/lang/ja/validate.php index fdf49f57..ff95c7e2 100644 --- a/src/lang/ja/validate.php +++ b/src/lang/ja/validate.php @@ -1,34 +1,34 @@ ':attribute有効じゃない。', - 'bitcoin-address' => ':attribute有効じゃない。', + 'base64' => ':attribute有効じゃない。', + 'bitcoin-address' => ':attribute有効じゃない。', 'capital-char-with-number' => ':attribute有効じゃない。', - 'car-number' => ':attribute有効じゃない。', - 'cart-number-iran' => ':attribute有効じゃない。', - 'discord-username' => ':attribute有効じゃない。', - 'even-number' => ':attribute有効じゃない。', - 'hashtag' => ':attribute有効じゃない。', - 'hex-color' => ':attribute有効じゃない。', - 'html-tag' => ':attribute有効じゃない。', - 'imei' => ':attribute有効じゃない。', - 'ipv4' => ':attribute有効じゃない。', - 'ipv6' => ':attribute有効じゃない。', - 'jwt' => ':attribute有効じゃない。', - 'name-days-week' => ':attribute有効じゃない。', - 'national-card' => ':attribute有効じゃない。', - 'odd-number' => ':attribute有効じゃない。', - 'phone-number' => ':attribute有効じゃない。', - 'port' => ':attribute有効じゃない。', - 'slash-end-of-string' => ':attribute有効じゃない。', - 'slug' => ':attribute有効じゃない。', - 'strong-password' => ':attribute有効じゃない。', - 'url' => ':attribute有効じゃない。', - 'username' => ':attribute有効じゃない。', - 'uuid' => ':attribute有効じゃない。', - 'jalali_date' => ':attribute有効じゃない。', - 'duplicate_character' => ':attribute有効じゃない。', - 'pattern' => ':attribute有効じゃない。', - 'duplicate' => ':attribute有効じゃない。', - 'ulid' => ':attribute有効じゃない。', + 'car-number' => ':attribute有効じゃない。', + 'cart-number-iran' => ':attribute有効じゃない。', + 'discord-username' => ':attribute有効じゃない。', + 'even-number' => ':attribute有効じゃない。', + 'hashtag' => ':attribute有効じゃない。', + 'hex-color' => ':attribute有効じゃない。', + 'html-tag' => ':attribute有効じゃない。', + 'imei' => ':attribute有効じゃない。', + 'ipv4' => ':attribute有効じゃない。', + 'ipv6' => ':attribute有効じゃない。', + 'jwt' => ':attribute有効じゃない。', + 'name-days-week' => ':attribute有効じゃない。', + 'national-card' => ':attribute有効じゃない。', + 'odd-number' => ':attribute有効じゃない。', + 'phone-number' => ':attribute有効じゃない。', + 'port' => ':attribute有効じゃない。', + 'slash-end-of-string' => ':attribute有効じゃない。', + 'slug' => ':attribute有効じゃない。', + 'strong-password' => ':attribute有効じゃない。', + 'url' => ':attribute有効じゃない。', + 'username' => ':attribute有効じゃない。', + 'uuid' => ':attribute有効じゃない。', + 'jalali_date' => ':attribute有効じゃない。', + 'duplicate_character' => ':attribute有効じゃない。', + 'pattern' => ':attribute有効じゃない。', + 'duplicate' => ':attribute有効じゃない。', + 'ulid' => ':attribute有効じゃない。', ]; diff --git a/src/lang/ko/validate.php b/src/lang/ko/validate.php index a37209c6..c7202c93 100644 --- a/src/lang/ko/validate.php +++ b/src/lang/ko/validate.php @@ -1,34 +1,34 @@ ':attribute유효하지 않습니다.', - 'bitcoin-address' => ':attribute유효하지 않습니다.', + 'base64' => ':attribute유효하지 않습니다.', + 'bitcoin-address' => ':attribute유효하지 않습니다.', 'capital-char-with-number' => ':attribute유효하지 않습니다.', - 'car-number' => ':attribute유효하지 않습니다.', - 'cart-number-iran' => ':attribute유효하지 않습니다.', - 'discord-username' => ':attribute유효하지 않습니다.', - 'even-number' => ':attribute유효하지 않습니다.', - 'hashtag' => ':attribute유효하지 않습니다.', - 'hex-color' => ':attribute유효하지 않습니다.', - 'html-tag' => ':attribute유효하지 않습니다.', - 'imei' => ':attribute유효하지 않습니다.', - 'ipv4' => ':attribute유효하지 않습니다.', - 'ipv6' => ':attribute유효하지 않습니다.', - 'jwt' => ':attribute유효하지 않습니다.', - 'name-days-week' => ':attribute유효하지 않습니다.', - 'national-card' => ':attribute유효하지 않습니다.', - 'odd-number' => ':attribute유효하지 않습니다.', - 'phone-number' => ':attribute유효하지 않습니다.', - 'port' => ':attribute유효하지 않습니다.', - 'slash-end-of-string' => ':attribute유효하지 않습니다.', - 'slug' => ':attribute유효하지 않습니다.', - 'strong-password' => ':attribute유효하지 않습니다.', - 'url' => ':attribute유효하지 않습니다.', - 'username' => ':attribute유효하지 않습니다.', - 'uuid' => ':attribute유효하지 않습니다.', - 'jalali_date' => ':attribute유효하지 않습니다.', - 'duplicate_character' => ':attribute유효하지 않습니다.', - 'pattern' => ':attribute유효하지 않습니다.', - 'duplicate' => ':attribute유효하지 않습니다.', - 'ulid' => ':attribute유효하지 않습니다.', + 'car-number' => ':attribute유효하지 않습니다.', + 'cart-number-iran' => ':attribute유효하지 않습니다.', + 'discord-username' => ':attribute유효하지 않습니다.', + 'even-number' => ':attribute유효하지 않습니다.', + 'hashtag' => ':attribute유효하지 않습니다.', + 'hex-color' => ':attribute유효하지 않습니다.', + 'html-tag' => ':attribute유효하지 않습니다.', + 'imei' => ':attribute유효하지 않습니다.', + 'ipv4' => ':attribute유효하지 않습니다.', + 'ipv6' => ':attribute유효하지 않습니다.', + 'jwt' => ':attribute유효하지 않습니다.', + 'name-days-week' => ':attribute유효하지 않습니다.', + 'national-card' => ':attribute유효하지 않습니다.', + 'odd-number' => ':attribute유효하지 않습니다.', + 'phone-number' => ':attribute유효하지 않습니다.', + 'port' => ':attribute유효하지 않습니다.', + 'slash-end-of-string' => ':attribute유효하지 않습니다.', + 'slug' => ':attribute유효하지 않습니다.', + 'strong-password' => ':attribute유효하지 않습니다.', + 'url' => ':attribute유효하지 않습니다.', + 'username' => ':attribute유효하지 않습니다.', + 'uuid' => ':attribute유효하지 않습니다.', + 'jalali_date' => ':attribute유효하지 않습니다.', + 'duplicate_character' => ':attribute유효하지 않습니다.', + 'pattern' => ':attribute유효하지 않습니다.', + 'duplicate' => ':attribute유효하지 않습니다.', + 'ulid' => ':attribute유효하지 않습니다.', ]; diff --git a/src/lang/ru/validate.php b/src/lang/ru/validate.php index c26526ff..ce7ce6ed 100644 --- a/src/lang/ru/validate.php +++ b/src/lang/ru/validate.php @@ -1,34 +1,34 @@ ':attribute не действует.', - 'bitcoin-address' => ':attribute не действует.', + 'base64' => ':attribute не действует.', + 'bitcoin-address' => ':attribute не действует.', 'capital-char-with-number' => ':attribute не действует.', - 'car-number' => ':attribute не действует.', - 'cart-number-iran' => ':attribute не действует.', - 'discord-username' => ':attribute не действует.', - 'even-number' => ':attribute не действует.', - 'hashtag' => ':attribute не действует.', - 'hex-color' => ':attribute не действует.', - 'html-tag' => ':attribute не действует.', - 'imei' => ':attribute не действует.', - 'ipv4' => ':attribute не действует.', - 'ipv6' => ':attribute не действует.', - 'jwt' => ':attribute не действует.', - 'name-days-week' => ':attribute не действует.', - 'national-card' => ':attribute не действует.', - 'odd-number' => ':attribute не действует.', - 'phone-number' => ':attribute не действует.', - 'port' => ':attribute не действует.', - 'slash-end-of-string' => ':attribute не действует.', - 'slug' => ':attribute не действует.', - 'strong-password' => ':attribute не действует.', - 'url' => ':attribute не действует.', - 'username' => ':attribute не действует.', - 'uuid' => ':attribute не действует.', - 'jalali_date' => ':attribute не действует.', - 'duplicate_character' => ':attribute не действует.', - 'pattern' => ':attribute не действует.', - 'duplicate' => ':attribute не действует.', - 'ulid' => ':attribute не действует.', + 'car-number' => ':attribute не действует.', + 'cart-number-iran' => ':attribute не действует.', + 'discord-username' => ':attribute не действует.', + 'even-number' => ':attribute не действует.', + 'hashtag' => ':attribute не действует.', + 'hex-color' => ':attribute не действует.', + 'html-tag' => ':attribute не действует.', + 'imei' => ':attribute не действует.', + 'ipv4' => ':attribute не действует.', + 'ipv6' => ':attribute не действует.', + 'jwt' => ':attribute не действует.', + 'name-days-week' => ':attribute не действует.', + 'national-card' => ':attribute не действует.', + 'odd-number' => ':attribute не действует.', + 'phone-number' => ':attribute не действует.', + 'port' => ':attribute не действует.', + 'slash-end-of-string' => ':attribute не действует.', + 'slug' => ':attribute не действует.', + 'strong-password' => ':attribute не действует.', + 'url' => ':attribute не действует.', + 'username' => ':attribute не действует.', + 'uuid' => ':attribute не действует.', + 'jalali_date' => ':attribute не действует.', + 'duplicate_character' => ':attribute не действует.', + 'pattern' => ':attribute не действует.', + 'duplicate' => ':attribute не действует.', + 'ulid' => ':attribute не действует.', ]; diff --git a/src/lang/zh_CN/validate.php b/src/lang/zh_CN/validate.php index 562f872f..1b1809c5 100644 --- a/src/lang/zh_CN/validate.php +++ b/src/lang/zh_CN/validate.php @@ -1,34 +1,34 @@ ':attribute无效.', - 'bitcoin-address' => ':attribute无效.', + 'base64' => ':attribute无效.', + 'bitcoin-address' => ':attribute无效.', 'capital-char-with-number' => ':attribute无效.', - 'car-number' => ':attribute无效.', - 'cart-number-iran' => ':attribute无效.', - 'discord-username' => ':attribute无效.', - 'even-number' => ':attribute无效.', - 'hashtag' => ':attribute无效.', - 'hex-color' => ':attribute无效.', - 'html-tag' => ':attribute无效.', - 'imei' => ':attribute无效.', - 'ipv4' => ':attribute无效.', - 'ipv6' => ':attribute无效.', - 'jwt' => ':attribute无效.', - 'name-days-week' => ':attribute无效.', - 'national-card' => ':attribute无效.', - 'odd-number' => ':attribute无效.', - 'phone-number' => ':attribute无效.', - 'port' => ':attribute无效.', - 'slash-end-of-string' => ':attribute无效.', - 'slug' => ':attribute无效.', - 'strong-password' => ':attribute无效.', - 'url' => ':attribute无效.', - 'username' => ':attribute无效.', - 'uuid' => ':attribute无效.', - 'jalali_date' => ':attribute无效.', - 'duplicate_character' => ':attribute无效.', - 'pattern' => ':attribute无效.', - 'duplicate' => ':attribute无效.', - 'ulid' => ':attribute无效.', + 'car-number' => ':attribute无效.', + 'cart-number-iran' => ':attribute无效.', + 'discord-username' => ':attribute无效.', + 'even-number' => ':attribute无效.', + 'hashtag' => ':attribute无效.', + 'hex-color' => ':attribute无效.', + 'html-tag' => ':attribute无效.', + 'imei' => ':attribute无效.', + 'ipv4' => ':attribute无效.', + 'ipv6' => ':attribute无效.', + 'jwt' => ':attribute无效.', + 'name-days-week' => ':attribute无效.', + 'national-card' => ':attribute无效.', + 'odd-number' => ':attribute无效.', + 'phone-number' => ':attribute无效.', + 'port' => ':attribute无效.', + 'slash-end-of-string' => ':attribute无效.', + 'slug' => ':attribute无效.', + 'strong-password' => ':attribute无效.', + 'url' => ':attribute无效.', + 'username' => ':attribute无效.', + 'uuid' => ':attribute无效.', + 'jalali_date' => ':attribute无效.', + 'duplicate_character' => ':attribute无效.', + 'pattern' => ':attribute无效.', + 'duplicate' => ':attribute无效.', + 'ulid' => ':attribute无效.', ]; diff --git a/tests/BaseTest.php b/tests/BaseTest.php index f97d1d6d..75e952e9 100644 --- a/tests/BaseTest.php +++ b/tests/BaseTest.php @@ -9,8 +9,7 @@ class BaseTest extends \Orchestra\Testbench\TestCase /** * Get package providers. * - * @param \Illuminate\Foundation\Application $app - * + * @param \Illuminate\Foundation\Application $app * @return array */ protected function getPackageProviders($app) From d8b214f005d9454bca4e8c68361ef587b97f4df0 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Fri, 10 Mar 2023 13:04:21 +0000 Subject: [PATCH 5/8] Apply fixes from StyleCI --- src/Rules/ValidBase64.php | 5 +- src/Rules/ValidBitcoinAddress.php | 5 +- src/Rules/ValidCapitalCharWithNumber.php | 5 +- src/Rules/ValidCarNumber.php | 5 +- src/Rules/ValidCartNumberIran.php | 5 +- src/Rules/ValidDiscordUsername.php | 5 +- src/Rules/ValidDuplicate.php | 5 +- src/Rules/ValidDuplicateCharacter.php | 5 +- src/Rules/ValidEvenNumber.php | 5 +- src/Rules/ValidHashtag.php | 5 +- src/Rules/ValidHexColor.php | 5 +- src/Rules/ValidHtmlTag.php | 5 +- src/Rules/ValidImei.php | 7 +-- src/Rules/ValidIpAddressIPV4.php | 5 +- src/Rules/ValidIpAddressIPV6.php | 5 +- src/Rules/ValidJalaliDate.php | 7 +-- src/Rules/ValidJwt.php | 5 +- src/Rules/ValidNameDaysWeek.php | 5 +- src/Rules/ValidNationalCard.php | 5 +- src/Rules/ValidOddNumber.php | 5 +- src/Rules/ValidPattern.php | 5 +- src/Rules/ValidPhoneNumber.php | 5 +- src/Rules/ValidPort.php | 5 +- src/Rules/ValidSlashEndOfString.php | 5 +- src/Rules/ValidSlug.php | 5 +- src/Rules/ValidStrongPassword.php | 5 +- src/Rules/ValidUlid.php | 5 +- src/Rules/ValidUrl.php | 5 +- src/Rules/ValidUsername.php | 5 +- src/Rules/ValidUuid.php | 5 +- src/lang/It/validate.php | 58 ++++++++++++------------ src/lang/ar/validate.php | 58 ++++++++++++------------ src/lang/en/validate.php | 58 ++++++++++++------------ src/lang/fa/validate.php | 58 ++++++++++++------------ src/lang/fr/validate.php | 58 ++++++++++++------------ src/lang/hi/validate.php | 58 ++++++++++++------------ src/lang/ja/validate.php | 58 ++++++++++++------------ src/lang/ko/validate.php | 58 ++++++++++++------------ src/lang/ru/validate.php | 58 ++++++++++++------------ src/lang/zh_CN/validate.php | 58 ++++++++++++------------ tests/BaseTest.php | 3 +- 41 files changed, 384 insertions(+), 353 deletions(-) diff --git a/src/Rules/ValidBase64.php b/src/Rules/ValidBase64.php index 460e53cd..b2bb6ec8 100644 --- a/src/Rules/ValidBase64.php +++ b/src/Rules/ValidBase64.php @@ -9,8 +9,9 @@ class ValidBase64 implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidBitcoinAddress.php b/src/Rules/ValidBitcoinAddress.php index 3c0ee29d..7f38ff48 100644 --- a/src/Rules/ValidBitcoinAddress.php +++ b/src/Rules/ValidBitcoinAddress.php @@ -9,8 +9,9 @@ class ValidBitcoinAddress implements Rule /** * Check bitcoin address. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCapitalCharWithNumber.php b/src/Rules/ValidCapitalCharWithNumber.php index dd1e26b3..f3cc7a9c 100644 --- a/src/Rules/ValidCapitalCharWithNumber.php +++ b/src/Rules/ValidCapitalCharWithNumber.php @@ -9,8 +9,9 @@ class ValidCapitalCharWithNumber implements Rule /** * Check all words are capital & with hyphen & number. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCarNumber.php b/src/Rules/ValidCarNumber.php index 6aed527f..e1d75c13 100644 --- a/src/Rules/ValidCarNumber.php +++ b/src/Rules/ValidCarNumber.php @@ -9,8 +9,9 @@ class ValidCarNumber implements Rule /** * Check car number is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCartNumberIran.php b/src/Rules/ValidCartNumberIran.php index 74fa388c..9bd6c746 100644 --- a/src/Rules/ValidCartNumberIran.php +++ b/src/Rules/ValidCartNumberIran.php @@ -9,8 +9,9 @@ class ValidCartNumberIran implements Rule /** * Check cart number is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDiscordUsername.php b/src/Rules/ValidDiscordUsername.php index d72cce7c..25087ab9 100644 --- a/src/Rules/ValidDiscordUsername.php +++ b/src/Rules/ValidDiscordUsername.php @@ -9,8 +9,9 @@ class ValidDiscordUsername implements Rule /** * Check discord username is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDuplicate.php b/src/Rules/ValidDuplicate.php index fa802ee0..9a1c0742 100644 --- a/src/Rules/ValidDuplicate.php +++ b/src/Rules/ValidDuplicate.php @@ -9,8 +9,9 @@ class ValidDuplicate implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDuplicateCharacter.php b/src/Rules/ValidDuplicateCharacter.php index 5e6a58c2..4dca9ddd 100644 --- a/src/Rules/ValidDuplicateCharacter.php +++ b/src/Rules/ValidDuplicateCharacter.php @@ -9,8 +9,9 @@ class ValidDuplicateCharacter implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidEvenNumber.php b/src/Rules/ValidEvenNumber.php index 18f3258f..82864195 100644 --- a/src/Rules/ValidEvenNumber.php +++ b/src/Rules/ValidEvenNumber.php @@ -9,8 +9,9 @@ class ValidEvenNumber implements Rule /** * Check number is even. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHashtag.php b/src/Rules/ValidHashtag.php index 48d3a642..9a2d0379 100644 --- a/src/Rules/ValidHashtag.php +++ b/src/Rules/ValidHashtag.php @@ -9,8 +9,9 @@ class ValidHashtag implements Rule /** * Check value contains hashtag. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHexColor.php b/src/Rules/ValidHexColor.php index 8a132a27..e8ffe89c 100644 --- a/src/Rules/ValidHexColor.php +++ b/src/Rules/ValidHexColor.php @@ -9,8 +9,9 @@ class ValidHexColor implements Rule /** * Check hex color is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHtmlTag.php b/src/Rules/ValidHtmlTag.php index 8d24933d..4dbbf403 100644 --- a/src/Rules/ValidHtmlTag.php +++ b/src/Rules/ValidHtmlTag.php @@ -9,8 +9,9 @@ class ValidHtmlTag implements Rule /** * Check html tag is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidImei.php b/src/Rules/ValidImei.php index 73207b3c..b808b3a4 100644 --- a/src/Rules/ValidImei.php +++ b/src/Rules/ValidImei.php @@ -9,15 +9,16 @@ class ValidImei implements Rule /** * Check jwt is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) { $imei = $value; - if (strlen($imei) != 15 || ! ctype_digit($imei)) { + if (strlen($imei) != 15 || !ctype_digit($imei)) { return false; } diff --git a/src/Rules/ValidIpAddressIPV4.php b/src/Rules/ValidIpAddressIPV4.php index da364c28..5597feb3 100644 --- a/src/Rules/ValidIpAddressIPV4.php +++ b/src/Rules/ValidIpAddressIPV4.php @@ -9,8 +9,9 @@ class ValidIpAddressIPV4 implements Rule /** * Check ip address (ipv4) is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidIpAddressIPV6.php b/src/Rules/ValidIpAddressIPV6.php index d9486ac6..3db78a32 100644 --- a/src/Rules/ValidIpAddressIPV6.php +++ b/src/Rules/ValidIpAddressIPV6.php @@ -9,8 +9,9 @@ class ValidIpAddressIPV6 implements Rule /** * Check ip address (ipv6) is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidJalaliDate.php b/src/Rules/ValidJalaliDate.php index 2fa79d45..ba1063b0 100644 --- a/src/Rules/ValidJalaliDate.php +++ b/src/Rules/ValidJalaliDate.php @@ -10,13 +10,14 @@ class ValidJalaliDate implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) { - if (! is_string($value)) { + if (!is_string($value)) { return false; } diff --git a/src/Rules/ValidJwt.php b/src/Rules/ValidJwt.php index a84ee7e4..e8a34a3f 100644 --- a/src/Rules/ValidJwt.php +++ b/src/Rules/ValidJwt.php @@ -9,8 +9,9 @@ class ValidJwt implements Rule /** * Check jwt is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidNameDaysWeek.php b/src/Rules/ValidNameDaysWeek.php index bf9d36c4..1bd2062f 100644 --- a/src/Rules/ValidNameDaysWeek.php +++ b/src/Rules/ValidNameDaysWeek.php @@ -9,8 +9,9 @@ class ValidNameDaysWeek implements Rule /** * Check day is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidNationalCard.php b/src/Rules/ValidNationalCard.php index dc1dafcc..8ce7ed86 100644 --- a/src/Rules/ValidNationalCard.php +++ b/src/Rules/ValidNationalCard.php @@ -9,8 +9,9 @@ class ValidNationalCard implements Rule /** * Check national card is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidOddNumber.php b/src/Rules/ValidOddNumber.php index fbac8603..edea3535 100644 --- a/src/Rules/ValidOddNumber.php +++ b/src/Rules/ValidOddNumber.php @@ -9,8 +9,9 @@ class ValidOddNumber implements Rule /** * Check number is odd. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPattern.php b/src/Rules/ValidPattern.php index 09362349..2feae322 100644 --- a/src/Rules/ValidPattern.php +++ b/src/Rules/ValidPattern.php @@ -15,8 +15,9 @@ public function __construct( /** * Check texts with specific pattern. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPhoneNumber.php b/src/Rules/ValidPhoneNumber.php index 6542aa7e..0ab489c8 100644 --- a/src/Rules/ValidPhoneNumber.php +++ b/src/Rules/ValidPhoneNumber.php @@ -9,8 +9,9 @@ class ValidPhoneNumber implements Rule /** * Check phone number is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPort.php b/src/Rules/ValidPort.php index a5279ec9..af9644b3 100644 --- a/src/Rules/ValidPort.php +++ b/src/Rules/ValidPort.php @@ -9,8 +9,9 @@ class ValidPort implements Rule /** * Check port is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidSlashEndOfString.php b/src/Rules/ValidSlashEndOfString.php index 1df0369e..2b211cd9 100644 --- a/src/Rules/ValidSlashEndOfString.php +++ b/src/Rules/ValidSlashEndOfString.php @@ -9,8 +9,9 @@ class ValidSlashEndOfString implements Rule /** * Check write slash at the end of string. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidSlug.php b/src/Rules/ValidSlug.php index 9645cf0b..4f0d15b3 100644 --- a/src/Rules/ValidSlug.php +++ b/src/Rules/ValidSlug.php @@ -9,8 +9,9 @@ class ValidSlug implements Rule /** * Check slug is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidStrongPassword.php b/src/Rules/ValidStrongPassword.php index 4fda294e..4a8633f0 100644 --- a/src/Rules/ValidStrongPassword.php +++ b/src/Rules/ValidStrongPassword.php @@ -9,8 +9,9 @@ class ValidStrongPassword implements Rule /** * Check password started by capital letters & contains lowercase letters & contains number. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUlid.php b/src/Rules/ValidUlid.php index 620d51d1..3ba8854d 100644 --- a/src/Rules/ValidUlid.php +++ b/src/Rules/ValidUlid.php @@ -9,8 +9,9 @@ class ValidUlid implements Rule /** * Check ulid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUrl.php b/src/Rules/ValidUrl.php index 9738b758..3cec2943 100644 --- a/src/Rules/ValidUrl.php +++ b/src/Rules/ValidUrl.php @@ -9,8 +9,9 @@ class ValidUrl implements Rule /** * Check url is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUsername.php b/src/Rules/ValidUsername.php index 9e1c8b40..cbd2befb 100644 --- a/src/Rules/ValidUsername.php +++ b/src/Rules/ValidUsername.php @@ -9,8 +9,9 @@ class ValidUsername implements Rule /** * It checks that the length of the username must be between 3 and 15 characters without spaces. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUuid.php b/src/Rules/ValidUuid.php index 2501d85c..3e5697f3 100644 --- a/src/Rules/ValidUuid.php +++ b/src/Rules/ValidUuid.php @@ -9,8 +9,9 @@ class ValidUuid implements Rule /** * Check uuid is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/lang/It/validate.php b/src/lang/It/validate.php index 8ca5520e..6a504f82 100644 --- a/src/lang/It/validate.php +++ b/src/lang/It/validate.php @@ -1,34 +1,34 @@ ':attribute non è valido.', - 'bitcoin-address' => ':attribute non è valido.', + 'base64' => ':attribute non è valido.', + 'bitcoin-address' => ':attribute non è valido.', 'capital-char-with-number' => ':attribute non è valido.', - 'car-number' => ':attribute non è valido.', - 'cart-number-iran' => ':attribute non è valido.', - 'discord-username' => ':attribute non è valido.', - 'even-number' => ':attribute non è valido.', - 'hashtag' => ':attribute non è valido.', - 'hex-color' => ':attribute non è valido.', - 'html-tag' => ':attribute non è valido.', - 'imei' => ':attribute non è valido.', - 'ipv4' => ':attribute non è valido.', - 'ipv6' => ':attribute non è valido.', - 'jwt' => ':attribute non è valido.', - 'name-days-week' => ':attribute non è valido.', - 'national-card' => ':attribute non è valido.', - 'odd-number' => ':attribute non è valido.', - 'phone-number' => ':attribute non è valido.', - 'port' => ':attribute non è valido.', - 'slash-end-of-string' => ':attribute non è valido.', - 'slug' => ':attribute non è valido.', - 'strong-password' => ':attribute non è valido.', - 'url' => ':attribute non è valido.', - 'username' => ':attribute non è valido.', - 'uuid' => ':attribute non è valido.', - 'jalali_date' => ':attribute non è valido.', - 'duplicate_character' => ':attribute non è valido.', - 'pattern' => ':attribute non è valido.', - 'duplicate' => ':attribute non è valido.', - 'ulid' => ':attribute non è valido.', + 'car-number' => ':attribute non è valido.', + 'cart-number-iran' => ':attribute non è valido.', + 'discord-username' => ':attribute non è valido.', + 'even-number' => ':attribute non è valido.', + 'hashtag' => ':attribute non è valido.', + 'hex-color' => ':attribute non è valido.', + 'html-tag' => ':attribute non è valido.', + 'imei' => ':attribute non è valido.', + 'ipv4' => ':attribute non è valido.', + 'ipv6' => ':attribute non è valido.', + 'jwt' => ':attribute non è valido.', + 'name-days-week' => ':attribute non è valido.', + 'national-card' => ':attribute non è valido.', + 'odd-number' => ':attribute non è valido.', + 'phone-number' => ':attribute non è valido.', + 'port' => ':attribute non è valido.', + 'slash-end-of-string' => ':attribute non è valido.', + 'slug' => ':attribute non è valido.', + 'strong-password' => ':attribute non è valido.', + 'url' => ':attribute non è valido.', + 'username' => ':attribute non è valido.', + 'uuid' => ':attribute non è valido.', + 'jalali_date' => ':attribute non è valido.', + 'duplicate_character' => ':attribute non è valido.', + 'pattern' => ':attribute non è valido.', + 'duplicate' => ':attribute non è valido.', + 'ulid' => ':attribute non è valido.', ]; diff --git a/src/lang/ar/validate.php b/src/lang/ar/validate.php index 0dbed312..093f189b 100644 --- a/src/lang/ar/validate.php +++ b/src/lang/ar/validate.php @@ -1,34 +1,34 @@ ':attribute غير صالح.', - 'bitcoin-address' => ':attribute غير صالح.', + 'base64' => ':attribute غير صالح.', + 'bitcoin-address' => ':attribute غير صالح.', 'capital-char-with-number' => ':attribute غير صالح.', - 'car-number' => ':attribute غير صالح.', - 'cart-number-iran' => ':attribute غير صالح.', - 'discord-username' => ':attribute غير صالح.', - 'even-number' => ':attribute غير صالح.', - 'hashtag' => ':attribute غير صالح.', - 'hex-color' => ':attribute غير صالح.', - 'html-tag' => ':attribute غير صالح.', - 'imei' => ':attribute غير صالح.', - 'ipv4' => ':attribute غير صالح.', - 'ipv6' => ':attribute غير صالح.', - 'jwt' => ':attribute غير صالح.', - 'name-days-week' => ':attribute غير صالح.', - 'national-card' => ':attribute غير صالح.', - 'odd-number' => ':attribute غير صالح.', - 'phone-number' => ':attribute غير صالح.', - 'port' => ':attribute غير صالح.', - 'slash-end-of-string' => ':attribute غير صالح.', - 'slug' => ':attribute غير صالح.', - 'strong-password' => ':attribute غير صالح.', - 'url' => ':attribute غير صالح.', - 'username' => ':attribute غير صالح.', - 'uuid' => ':attribute غير صالح.', - 'jalali_date' => ':attribute غير صالح.', - 'duplicate_character' => ':attribute غير صالح.', - 'pattern' => ':attribute غير صالح.', - 'duplicate' => ':attribute غير صالح.', - 'ulid' => ':attribute غير صالح.', + 'car-number' => ':attribute غير صالح.', + 'cart-number-iran' => ':attribute غير صالح.', + 'discord-username' => ':attribute غير صالح.', + 'even-number' => ':attribute غير صالح.', + 'hashtag' => ':attribute غير صالح.', + 'hex-color' => ':attribute غير صالح.', + 'html-tag' => ':attribute غير صالح.', + 'imei' => ':attribute غير صالح.', + 'ipv4' => ':attribute غير صالح.', + 'ipv6' => ':attribute غير صالح.', + 'jwt' => ':attribute غير صالح.', + 'name-days-week' => ':attribute غير صالح.', + 'national-card' => ':attribute غير صالح.', + 'odd-number' => ':attribute غير صالح.', + 'phone-number' => ':attribute غير صالح.', + 'port' => ':attribute غير صالح.', + 'slash-end-of-string' => ':attribute غير صالح.', + 'slug' => ':attribute غير صالح.', + 'strong-password' => ':attribute غير صالح.', + 'url' => ':attribute غير صالح.', + 'username' => ':attribute غير صالح.', + 'uuid' => ':attribute غير صالح.', + 'jalali_date' => ':attribute غير صالح.', + 'duplicate_character' => ':attribute غير صالح.', + 'pattern' => ':attribute غير صالح.', + 'duplicate' => ':attribute غير صالح.', + 'ulid' => ':attribute غير صالح.', ]; diff --git a/src/lang/en/validate.php b/src/lang/en/validate.php index 1fa0d3fa..cf875e8b 100644 --- a/src/lang/en/validate.php +++ b/src/lang/en/validate.php @@ -1,34 +1,34 @@ 'The :attribute is not valid.', - 'bitcoin-address' => 'The :attribute is not valid.', + 'base64' => 'The :attribute is not valid.', + 'bitcoin-address' => 'The :attribute is not valid.', 'capital-char-with-number' => 'The :attribute is not valid.', - 'car-number' => 'The :attribute is not valid.', - 'cart-number-iran' => 'The :attribute is not valid.', - 'discord-username' => 'The :attribute is not valid.', - 'even-number' => 'The :attribute is not valid.', - 'hashtag' => 'The :attribute is not valid.', - 'hex-color' => 'The :attribute is not valid.', - 'html-tag' => 'The :attribute is not valid.', - 'imei' => 'The :attribute is not valid.', - 'ipv4' => 'The :attribute is not valid.', - 'ipv6' => 'The :attribute is not valid.', - 'jwt' => 'The :attribute is not valid.', - 'name-days-week' => 'The :attribute is not valid.', - 'national-card' => 'The :attribute is not valid.', - 'odd-number' => 'The :attribute is not valid.', - 'phone-number' => 'The :attribute is not valid.', - 'port' => 'The :attribute is not valid.', - 'slash-end-of-string' => 'The :attribute is not valid.', - 'slug' => 'The :attribute is not valid.', - 'strong-password' => 'The :attribute is not valid.', - 'url' => 'The :attribute is not valid.', - 'username' => 'The :attribute is not valid.', - 'uuid' => 'The :attribute is not valid.', - 'jalali_date' => 'The :attribute is not valid.', - 'duplicate_character' => 'The :attribute is not valid.', - 'pattern' => 'The :attribute is not valid.', - 'duplicate' => 'The :attribute is not valid.', - 'ulid' => 'The :attribute is not valid.', + 'car-number' => 'The :attribute is not valid.', + 'cart-number-iran' => 'The :attribute is not valid.', + 'discord-username' => 'The :attribute is not valid.', + 'even-number' => 'The :attribute is not valid.', + 'hashtag' => 'The :attribute is not valid.', + 'hex-color' => 'The :attribute is not valid.', + 'html-tag' => 'The :attribute is not valid.', + 'imei' => 'The :attribute is not valid.', + 'ipv4' => 'The :attribute is not valid.', + 'ipv6' => 'The :attribute is not valid.', + 'jwt' => 'The :attribute is not valid.', + 'name-days-week' => 'The :attribute is not valid.', + 'national-card' => 'The :attribute is not valid.', + 'odd-number' => 'The :attribute is not valid.', + 'phone-number' => 'The :attribute is not valid.', + 'port' => 'The :attribute is not valid.', + 'slash-end-of-string' => 'The :attribute is not valid.', + 'slug' => 'The :attribute is not valid.', + 'strong-password' => 'The :attribute is not valid.', + 'url' => 'The :attribute is not valid.', + 'username' => 'The :attribute is not valid.', + 'uuid' => 'The :attribute is not valid.', + 'jalali_date' => 'The :attribute is not valid.', + 'duplicate_character' => 'The :attribute is not valid.', + 'pattern' => 'The :attribute is not valid.', + 'duplicate' => 'The :attribute is not valid.', + 'ulid' => 'The :attribute is not valid.', ]; diff --git a/src/lang/fa/validate.php b/src/lang/fa/validate.php index 533d0f97..fb5b7946 100644 --- a/src/lang/fa/validate.php +++ b/src/lang/fa/validate.php @@ -1,34 +1,34 @@ 'مقدار :attribute صحیح نمی باشد.', - 'bitcoin-address' => 'مقدار :attribute صحیح نمی باشد.', + 'base64' => 'مقدار :attribute صحیح نمی باشد.', + 'bitcoin-address' => 'مقدار :attribute صحیح نمی باشد.', 'capital-char-with-number' => 'مقدار :attribute صحیح نمی باشد.', - 'car-number' => 'مقدار :attribute صحیح نمی باشد.', - 'cart-number-iran' => 'مقدار :attribute صحیح نمی باشد.', - 'discord-username' => 'مقدار :attribute صحیح نمی باشد.', - 'even-number' => 'مقدار :attribute صحیح نمی باشد.', - 'hashtag' => 'مقدار :attribute صحیح نمی باشد.', - 'hex-color' => 'مقدار :attribute صحیح نمی باشد.', - 'html-tag' => 'مقدار :attribute صحیح نمی باشد.', - 'imei' => 'مقدار :attribute صحیح نمی باشد.', - 'ipv4' => 'مقدار :attribute صحیح نمی باشد.', - 'ipv6' => 'مقدار :attribute صحیح نمی باشد.', - 'jwt' => 'مقدار :attribute صحیح نمی باشد.', - 'name-days-week' => 'مقدار :attribute صحیح نمی باشد.', - 'national-card' => 'مقدار :attribute صحیح نمی باشد.', - 'odd-number' => 'مقدار :attribute صحیح نمی باشد.', - 'phone-number' => 'مقدار :attribute صحیح نمی باشد.', - 'port' => 'مقدار :attribute صحیح نمی باشد.', - 'slash-end-of-string' => 'مقدار :attribute صحیح نمی باشد.', - 'slug' => 'مقدار :attribute صحیح نمی باشد.', - 'strong-password' => 'مقدار :attribute صحیح نمی باشد.', - 'url' => 'مقدار :attribute صحیح نمی باشد.', - 'username' => 'مقدار :attribute صحیح نمی باشد.', - 'uuid' => 'مقدار :attribute صحیح نمی باشد.', - 'jalali_date' => 'مقدار :attribute صحیح نمی باشد.', - 'duplicate_character' => 'مقدار :attribute صحیح نمی باشد.', - 'pattern' => 'مقدار :attribute صحیح نمی باشد.', - 'duplicate' => 'مقدار :attribute صحیح نمی باشد.', - 'ulid' => 'مقدار :attribute صحیح نمی باشد.', + 'car-number' => 'مقدار :attribute صحیح نمی باشد.', + 'cart-number-iran' => 'مقدار :attribute صحیح نمی باشد.', + 'discord-username' => 'مقدار :attribute صحیح نمی باشد.', + 'even-number' => 'مقدار :attribute صحیح نمی باشد.', + 'hashtag' => 'مقدار :attribute صحیح نمی باشد.', + 'hex-color' => 'مقدار :attribute صحیح نمی باشد.', + 'html-tag' => 'مقدار :attribute صحیح نمی باشد.', + 'imei' => 'مقدار :attribute صحیح نمی باشد.', + 'ipv4' => 'مقدار :attribute صحیح نمی باشد.', + 'ipv6' => 'مقدار :attribute صحیح نمی باشد.', + 'jwt' => 'مقدار :attribute صحیح نمی باشد.', + 'name-days-week' => 'مقدار :attribute صحیح نمی باشد.', + 'national-card' => 'مقدار :attribute صحیح نمی باشد.', + 'odd-number' => 'مقدار :attribute صحیح نمی باشد.', + 'phone-number' => 'مقدار :attribute صحیح نمی باشد.', + 'port' => 'مقدار :attribute صحیح نمی باشد.', + 'slash-end-of-string' => 'مقدار :attribute صحیح نمی باشد.', + 'slug' => 'مقدار :attribute صحیح نمی باشد.', + 'strong-password' => 'مقدار :attribute صحیح نمی باشد.', + 'url' => 'مقدار :attribute صحیح نمی باشد.', + 'username' => 'مقدار :attribute صحیح نمی باشد.', + 'uuid' => 'مقدار :attribute صحیح نمی باشد.', + 'jalali_date' => 'مقدار :attribute صحیح نمی باشد.', + 'duplicate_character' => 'مقدار :attribute صحیح نمی باشد.', + 'pattern' => 'مقدار :attribute صحیح نمی باشد.', + 'duplicate' => 'مقدار :attribute صحیح نمی باشد.', + 'ulid' => 'مقدار :attribute صحیح نمی باشد.', ]; diff --git a/src/lang/fr/validate.php b/src/lang/fr/validate.php index 778969ea..35030479 100644 --- a/src/lang/fr/validate.php +++ b/src/lang/fr/validate.php @@ -1,34 +1,34 @@ ":attribute n'est pas valide.", - 'bitcoin-address' => ":attribute n'est pas valide.", + 'base64' => ":attribute n'est pas valide.", + 'bitcoin-address' => ":attribute n'est pas valide.", 'capital-char-with-number' => ":attribute n'est pas valide.", - 'car-number' => ":attribute n'est pas valide.", - 'cart-number-iran' => ":attribute n'est pas valide.", - 'discord-username' => ":attribute n'est pas valide.", - 'even-number' => ":attribute n'est pas valide.", - 'hashtag' => ":attribute n'est pas valide.", - 'hex-color' => ":attribute n'est pas valide.", - 'html-tag' => ":attribute n'est pas valide.", - 'imei' => ":attribute n'est pas valide.", - 'ipv4' => ":attribute n'est pas valide.", - 'ipv6' => ":attribute n'est pas valide.", - 'jwt' => ":attribute n'est pas valide.", - 'name-days-week' => ":attribute n'est pas valide.", - 'national-card' => ":attribute n'est pas valide.", - 'odd-number' => ":attribute n'est pas valide.", - 'phone-number' => ":attribute n'est pas valide.", - 'port' => ":attribute n'est pas valide.", - 'slash-end-of-string' => ":attribute n'est pas valide.", - 'slug' => ":attribute n'est pas valide.", - 'strong-password' => ":attribute n'est pas valide.", - 'url' => ":attribute n'est pas valide.", - 'username' => ":attribute n'est pas valide.", - 'uuid' => ":attribute n'est pas valide.", - 'jalali_date' => ":attribute n'est pas valide.", - 'duplicate_character' => ":attribute n'est pas valide.", - 'pattern' => ":attribute n'est pas valide.", - 'duplicate' => ":attribute n'est pas valide.", - 'ulid' => ":attribute n'est pas valide.", + 'car-number' => ":attribute n'est pas valide.", + 'cart-number-iran' => ":attribute n'est pas valide.", + 'discord-username' => ":attribute n'est pas valide.", + 'even-number' => ":attribute n'est pas valide.", + 'hashtag' => ":attribute n'est pas valide.", + 'hex-color' => ":attribute n'est pas valide.", + 'html-tag' => ":attribute n'est pas valide.", + 'imei' => ":attribute n'est pas valide.", + 'ipv4' => ":attribute n'est pas valide.", + 'ipv6' => ":attribute n'est pas valide.", + 'jwt' => ":attribute n'est pas valide.", + 'name-days-week' => ":attribute n'est pas valide.", + 'national-card' => ":attribute n'est pas valide.", + 'odd-number' => ":attribute n'est pas valide.", + 'phone-number' => ":attribute n'est pas valide.", + 'port' => ":attribute n'est pas valide.", + 'slash-end-of-string' => ":attribute n'est pas valide.", + 'slug' => ":attribute n'est pas valide.", + 'strong-password' => ":attribute n'est pas valide.", + 'url' => ":attribute n'est pas valide.", + 'username' => ":attribute n'est pas valide.", + 'uuid' => ":attribute n'est pas valide.", + 'jalali_date' => ":attribute n'est pas valide.", + 'duplicate_character' => ":attribute n'est pas valide.", + 'pattern' => ":attribute n'est pas valide.", + 'duplicate' => ":attribute n'est pas valide.", + 'ulid' => ":attribute n'est pas valide.", ]; diff --git a/src/lang/hi/validate.php b/src/lang/hi/validate.php index 12736715..1e6c0213 100644 --- a/src/lang/hi/validate.php +++ b/src/lang/hi/validate.php @@ -1,34 +1,34 @@ ':attributeमान्य नहीं है।.', - 'bitcoin-address' => ':attributeमान्य नहीं है।.', + 'base64' => ':attributeमान्य नहीं है।.', + 'bitcoin-address' => ':attributeमान्य नहीं है।.', 'capital-char-with-number' => ':attributeमान्य नहीं है।.', - 'car-number' => ':attributeमान्य नहीं है।.', - 'cart-number-iran' => ':attributeमान्य नहीं है।.', - 'discord-username' => ':attributeमान्य नहीं है।.', - 'even-number' => ':attributeमान्य नहीं है।.', - 'hashtag' => ':attributeमान्य नहीं है।.', - 'hex-color' => ':attributeमान्य नहीं है।.', - 'html-tag' => ':attributeमान्य नहीं है।.', - 'imei' => ':attributeमान्य नहीं है।.', - 'ipv4' => ':attributeमान्य नहीं है।.', - 'ipv6' => ':attributeमान्य नहीं है।.', - 'jwt' => ':attributeमान्य नहीं है।.', - 'name-days-week' => ':attributeमान्य नहीं है।.', - 'national-card' => ':attributeमान्य नहीं है।.', - 'odd-number' => ':attributeमान्य नहीं है।.', - 'phone-number' => ':attributeमान्य नहीं है।.', - 'port' => ':attributeमान्य नहीं है।.', - 'slash-end-of-string' => ':attributeमान्य नहीं है।.', - 'slug' => ':attributeमान्य नहीं है।.', - 'strong-password' => ':attributeमान्य नहीं है।.', - 'url' => ':attributeमान्य नहीं है।.', - 'username' => ':attributeमान्य नहीं है।.', - 'uuid' => ':attributeमान्य नहीं है।.', - 'jalali_date' => ':attributeमान्य नहीं है।.', - 'duplicate_character' => ':attributeमान्य नहीं है।.', - 'pattern' => ':attributeमान्य नहीं है।.', - 'duplicate' => ':attributeमान्य नहीं है।.', - 'ulid' => ':attributeमान्य नहीं है।.', + 'car-number' => ':attributeमान्य नहीं है।.', + 'cart-number-iran' => ':attributeमान्य नहीं है।.', + 'discord-username' => ':attributeमान्य नहीं है।.', + 'even-number' => ':attributeमान्य नहीं है।.', + 'hashtag' => ':attributeमान्य नहीं है।.', + 'hex-color' => ':attributeमान्य नहीं है।.', + 'html-tag' => ':attributeमान्य नहीं है।.', + 'imei' => ':attributeमान्य नहीं है।.', + 'ipv4' => ':attributeमान्य नहीं है।.', + 'ipv6' => ':attributeमान्य नहीं है।.', + 'jwt' => ':attributeमान्य नहीं है।.', + 'name-days-week' => ':attributeमान्य नहीं है।.', + 'national-card' => ':attributeमान्य नहीं है।.', + 'odd-number' => ':attributeमान्य नहीं है।.', + 'phone-number' => ':attributeमान्य नहीं है।.', + 'port' => ':attributeमान्य नहीं है।.', + 'slash-end-of-string' => ':attributeमान्य नहीं है।.', + 'slug' => ':attributeमान्य नहीं है।.', + 'strong-password' => ':attributeमान्य नहीं है।.', + 'url' => ':attributeमान्य नहीं है।.', + 'username' => ':attributeमान्य नहीं है।.', + 'uuid' => ':attributeमान्य नहीं है।.', + 'jalali_date' => ':attributeमान्य नहीं है।.', + 'duplicate_character' => ':attributeमान्य नहीं है।.', + 'pattern' => ':attributeमान्य नहीं है।.', + 'duplicate' => ':attributeमान्य नहीं है।.', + 'ulid' => ':attributeमान्य नहीं है।.', ]; diff --git a/src/lang/ja/validate.php b/src/lang/ja/validate.php index ff95c7e2..fdf49f57 100644 --- a/src/lang/ja/validate.php +++ b/src/lang/ja/validate.php @@ -1,34 +1,34 @@ ':attribute有効じゃない。', - 'bitcoin-address' => ':attribute有効じゃない。', + 'base64' => ':attribute有効じゃない。', + 'bitcoin-address' => ':attribute有効じゃない。', 'capital-char-with-number' => ':attribute有効じゃない。', - 'car-number' => ':attribute有効じゃない。', - 'cart-number-iran' => ':attribute有効じゃない。', - 'discord-username' => ':attribute有効じゃない。', - 'even-number' => ':attribute有効じゃない。', - 'hashtag' => ':attribute有効じゃない。', - 'hex-color' => ':attribute有効じゃない。', - 'html-tag' => ':attribute有効じゃない。', - 'imei' => ':attribute有効じゃない。', - 'ipv4' => ':attribute有効じゃない。', - 'ipv6' => ':attribute有効じゃない。', - 'jwt' => ':attribute有効じゃない。', - 'name-days-week' => ':attribute有効じゃない。', - 'national-card' => ':attribute有効じゃない。', - 'odd-number' => ':attribute有効じゃない。', - 'phone-number' => ':attribute有効じゃない。', - 'port' => ':attribute有効じゃない。', - 'slash-end-of-string' => ':attribute有効じゃない。', - 'slug' => ':attribute有効じゃない。', - 'strong-password' => ':attribute有効じゃない。', - 'url' => ':attribute有効じゃない。', - 'username' => ':attribute有効じゃない。', - 'uuid' => ':attribute有効じゃない。', - 'jalali_date' => ':attribute有効じゃない。', - 'duplicate_character' => ':attribute有効じゃない。', - 'pattern' => ':attribute有効じゃない。', - 'duplicate' => ':attribute有効じゃない。', - 'ulid' => ':attribute有効じゃない。', + 'car-number' => ':attribute有効じゃない。', + 'cart-number-iran' => ':attribute有効じゃない。', + 'discord-username' => ':attribute有効じゃない。', + 'even-number' => ':attribute有効じゃない。', + 'hashtag' => ':attribute有効じゃない。', + 'hex-color' => ':attribute有効じゃない。', + 'html-tag' => ':attribute有効じゃない。', + 'imei' => ':attribute有効じゃない。', + 'ipv4' => ':attribute有効じゃない。', + 'ipv6' => ':attribute有効じゃない。', + 'jwt' => ':attribute有効じゃない。', + 'name-days-week' => ':attribute有効じゃない。', + 'national-card' => ':attribute有効じゃない。', + 'odd-number' => ':attribute有効じゃない。', + 'phone-number' => ':attribute有効じゃない。', + 'port' => ':attribute有効じゃない。', + 'slash-end-of-string' => ':attribute有効じゃない。', + 'slug' => ':attribute有効じゃない。', + 'strong-password' => ':attribute有効じゃない。', + 'url' => ':attribute有効じゃない。', + 'username' => ':attribute有効じゃない。', + 'uuid' => ':attribute有効じゃない。', + 'jalali_date' => ':attribute有効じゃない。', + 'duplicate_character' => ':attribute有効じゃない。', + 'pattern' => ':attribute有効じゃない。', + 'duplicate' => ':attribute有効じゃない。', + 'ulid' => ':attribute有効じゃない。', ]; diff --git a/src/lang/ko/validate.php b/src/lang/ko/validate.php index c7202c93..a37209c6 100644 --- a/src/lang/ko/validate.php +++ b/src/lang/ko/validate.php @@ -1,34 +1,34 @@ ':attribute유효하지 않습니다.', - 'bitcoin-address' => ':attribute유효하지 않습니다.', + 'base64' => ':attribute유효하지 않습니다.', + 'bitcoin-address' => ':attribute유효하지 않습니다.', 'capital-char-with-number' => ':attribute유효하지 않습니다.', - 'car-number' => ':attribute유효하지 않습니다.', - 'cart-number-iran' => ':attribute유효하지 않습니다.', - 'discord-username' => ':attribute유효하지 않습니다.', - 'even-number' => ':attribute유효하지 않습니다.', - 'hashtag' => ':attribute유효하지 않습니다.', - 'hex-color' => ':attribute유효하지 않습니다.', - 'html-tag' => ':attribute유효하지 않습니다.', - 'imei' => ':attribute유효하지 않습니다.', - 'ipv4' => ':attribute유효하지 않습니다.', - 'ipv6' => ':attribute유효하지 않습니다.', - 'jwt' => ':attribute유효하지 않습니다.', - 'name-days-week' => ':attribute유효하지 않습니다.', - 'national-card' => ':attribute유효하지 않습니다.', - 'odd-number' => ':attribute유효하지 않습니다.', - 'phone-number' => ':attribute유효하지 않습니다.', - 'port' => ':attribute유효하지 않습니다.', - 'slash-end-of-string' => ':attribute유효하지 않습니다.', - 'slug' => ':attribute유효하지 않습니다.', - 'strong-password' => ':attribute유효하지 않습니다.', - 'url' => ':attribute유효하지 않습니다.', - 'username' => ':attribute유효하지 않습니다.', - 'uuid' => ':attribute유효하지 않습니다.', - 'jalali_date' => ':attribute유효하지 않습니다.', - 'duplicate_character' => ':attribute유효하지 않습니다.', - 'pattern' => ':attribute유효하지 않습니다.', - 'duplicate' => ':attribute유효하지 않습니다.', - 'ulid' => ':attribute유효하지 않습니다.', + 'car-number' => ':attribute유효하지 않습니다.', + 'cart-number-iran' => ':attribute유효하지 않습니다.', + 'discord-username' => ':attribute유효하지 않습니다.', + 'even-number' => ':attribute유효하지 않습니다.', + 'hashtag' => ':attribute유효하지 않습니다.', + 'hex-color' => ':attribute유효하지 않습니다.', + 'html-tag' => ':attribute유효하지 않습니다.', + 'imei' => ':attribute유효하지 않습니다.', + 'ipv4' => ':attribute유효하지 않습니다.', + 'ipv6' => ':attribute유효하지 않습니다.', + 'jwt' => ':attribute유효하지 않습니다.', + 'name-days-week' => ':attribute유효하지 않습니다.', + 'national-card' => ':attribute유효하지 않습니다.', + 'odd-number' => ':attribute유효하지 않습니다.', + 'phone-number' => ':attribute유효하지 않습니다.', + 'port' => ':attribute유효하지 않습니다.', + 'slash-end-of-string' => ':attribute유효하지 않습니다.', + 'slug' => ':attribute유효하지 않습니다.', + 'strong-password' => ':attribute유효하지 않습니다.', + 'url' => ':attribute유효하지 않습니다.', + 'username' => ':attribute유효하지 않습니다.', + 'uuid' => ':attribute유효하지 않습니다.', + 'jalali_date' => ':attribute유효하지 않습니다.', + 'duplicate_character' => ':attribute유효하지 않습니다.', + 'pattern' => ':attribute유효하지 않습니다.', + 'duplicate' => ':attribute유효하지 않습니다.', + 'ulid' => ':attribute유효하지 않습니다.', ]; diff --git a/src/lang/ru/validate.php b/src/lang/ru/validate.php index ce7ce6ed..c26526ff 100644 --- a/src/lang/ru/validate.php +++ b/src/lang/ru/validate.php @@ -1,34 +1,34 @@ ':attribute не действует.', - 'bitcoin-address' => ':attribute не действует.', + 'base64' => ':attribute не действует.', + 'bitcoin-address' => ':attribute не действует.', 'capital-char-with-number' => ':attribute не действует.', - 'car-number' => ':attribute не действует.', - 'cart-number-iran' => ':attribute не действует.', - 'discord-username' => ':attribute не действует.', - 'even-number' => ':attribute не действует.', - 'hashtag' => ':attribute не действует.', - 'hex-color' => ':attribute не действует.', - 'html-tag' => ':attribute не действует.', - 'imei' => ':attribute не действует.', - 'ipv4' => ':attribute не действует.', - 'ipv6' => ':attribute не действует.', - 'jwt' => ':attribute не действует.', - 'name-days-week' => ':attribute не действует.', - 'national-card' => ':attribute не действует.', - 'odd-number' => ':attribute не действует.', - 'phone-number' => ':attribute не действует.', - 'port' => ':attribute не действует.', - 'slash-end-of-string' => ':attribute не действует.', - 'slug' => ':attribute не действует.', - 'strong-password' => ':attribute не действует.', - 'url' => ':attribute не действует.', - 'username' => ':attribute не действует.', - 'uuid' => ':attribute не действует.', - 'jalali_date' => ':attribute не действует.', - 'duplicate_character' => ':attribute не действует.', - 'pattern' => ':attribute не действует.', - 'duplicate' => ':attribute не действует.', - 'ulid' => ':attribute не действует.', + 'car-number' => ':attribute не действует.', + 'cart-number-iran' => ':attribute не действует.', + 'discord-username' => ':attribute не действует.', + 'even-number' => ':attribute не действует.', + 'hashtag' => ':attribute не действует.', + 'hex-color' => ':attribute не действует.', + 'html-tag' => ':attribute не действует.', + 'imei' => ':attribute не действует.', + 'ipv4' => ':attribute не действует.', + 'ipv6' => ':attribute не действует.', + 'jwt' => ':attribute не действует.', + 'name-days-week' => ':attribute не действует.', + 'national-card' => ':attribute не действует.', + 'odd-number' => ':attribute не действует.', + 'phone-number' => ':attribute не действует.', + 'port' => ':attribute не действует.', + 'slash-end-of-string' => ':attribute не действует.', + 'slug' => ':attribute не действует.', + 'strong-password' => ':attribute не действует.', + 'url' => ':attribute не действует.', + 'username' => ':attribute не действует.', + 'uuid' => ':attribute не действует.', + 'jalali_date' => ':attribute не действует.', + 'duplicate_character' => ':attribute не действует.', + 'pattern' => ':attribute не действует.', + 'duplicate' => ':attribute не действует.', + 'ulid' => ':attribute не действует.', ]; diff --git a/src/lang/zh_CN/validate.php b/src/lang/zh_CN/validate.php index 1b1809c5..562f872f 100644 --- a/src/lang/zh_CN/validate.php +++ b/src/lang/zh_CN/validate.php @@ -1,34 +1,34 @@ ':attribute无效.', - 'bitcoin-address' => ':attribute无效.', + 'base64' => ':attribute无效.', + 'bitcoin-address' => ':attribute无效.', 'capital-char-with-number' => ':attribute无效.', - 'car-number' => ':attribute无效.', - 'cart-number-iran' => ':attribute无效.', - 'discord-username' => ':attribute无效.', - 'even-number' => ':attribute无效.', - 'hashtag' => ':attribute无效.', - 'hex-color' => ':attribute无效.', - 'html-tag' => ':attribute无效.', - 'imei' => ':attribute无效.', - 'ipv4' => ':attribute无效.', - 'ipv6' => ':attribute无效.', - 'jwt' => ':attribute无效.', - 'name-days-week' => ':attribute无效.', - 'national-card' => ':attribute无效.', - 'odd-number' => ':attribute无效.', - 'phone-number' => ':attribute无效.', - 'port' => ':attribute无效.', - 'slash-end-of-string' => ':attribute无效.', - 'slug' => ':attribute无效.', - 'strong-password' => ':attribute无效.', - 'url' => ':attribute无效.', - 'username' => ':attribute无效.', - 'uuid' => ':attribute无效.', - 'jalali_date' => ':attribute无效.', - 'duplicate_character' => ':attribute无效.', - 'pattern' => ':attribute无效.', - 'duplicate' => ':attribute无效.', - 'ulid' => ':attribute无效.', + 'car-number' => ':attribute无效.', + 'cart-number-iran' => ':attribute无效.', + 'discord-username' => ':attribute无效.', + 'even-number' => ':attribute无效.', + 'hashtag' => ':attribute无效.', + 'hex-color' => ':attribute无效.', + 'html-tag' => ':attribute无效.', + 'imei' => ':attribute无效.', + 'ipv4' => ':attribute无效.', + 'ipv6' => ':attribute无效.', + 'jwt' => ':attribute无效.', + 'name-days-week' => ':attribute无效.', + 'national-card' => ':attribute无效.', + 'odd-number' => ':attribute无效.', + 'phone-number' => ':attribute无效.', + 'port' => ':attribute无效.', + 'slash-end-of-string' => ':attribute无效.', + 'slug' => ':attribute无效.', + 'strong-password' => ':attribute无效.', + 'url' => ':attribute无效.', + 'username' => ':attribute无效.', + 'uuid' => ':attribute无效.', + 'jalali_date' => ':attribute无效.', + 'duplicate_character' => ':attribute无效.', + 'pattern' => ':attribute无效.', + 'duplicate' => ':attribute无效.', + 'ulid' => ':attribute无效.', ]; diff --git a/tests/BaseTest.php b/tests/BaseTest.php index 75e952e9..f97d1d6d 100644 --- a/tests/BaseTest.php +++ b/tests/BaseTest.php @@ -9,7 +9,8 @@ class BaseTest extends \Orchestra\Testbench\TestCase /** * Get package providers. * - * @param \Illuminate\Foundation\Application $app + * @param \Illuminate\Foundation\Application $app + * * @return array */ protected function getPackageProviders($app) From e6ae05c15a2489b9ade46674082486c7339e148f Mon Sep 17 00:00:00 2001 From: milwad-dev Date: Fri, 10 Mar 2023 13:04:50 +0000 Subject: [PATCH 6/8] Fix styling --- src/Rules/ValidBase64.php | 5 +- src/Rules/ValidBitcoinAddress.php | 5 +- src/Rules/ValidCapitalCharWithNumber.php | 5 +- src/Rules/ValidCarNumber.php | 5 +- src/Rules/ValidCartNumberIran.php | 5 +- src/Rules/ValidDiscordUsername.php | 5 +- src/Rules/ValidDuplicate.php | 5 +- src/Rules/ValidDuplicateCharacter.php | 5 +- src/Rules/ValidEvenNumber.php | 5 +- src/Rules/ValidHashtag.php | 5 +- src/Rules/ValidHexColor.php | 5 +- src/Rules/ValidHtmlTag.php | 5 +- src/Rules/ValidImei.php | 7 ++- src/Rules/ValidIpAddressIPV4.php | 5 +- src/Rules/ValidIpAddressIPV6.php | 5 +- src/Rules/ValidJalaliDate.php | 7 ++- src/Rules/ValidJwt.php | 5 +- src/Rules/ValidNameDaysWeek.php | 5 +- src/Rules/ValidNationalCard.php | 5 +- src/Rules/ValidOddNumber.php | 5 +- src/Rules/ValidPattern.php | 5 +- src/Rules/ValidPhoneNumber.php | 5 +- src/Rules/ValidPort.php | 5 +- src/Rules/ValidSlashEndOfString.php | 5 +- src/Rules/ValidSlug.php | 5 +- src/Rules/ValidStrongPassword.php | 5 +- src/Rules/ValidUlid.php | 5 +- src/Rules/ValidUrl.php | 5 +- src/Rules/ValidUsername.php | 5 +- src/Rules/ValidUuid.php | 5 +- src/lang/It/validate.php | 58 ++++++++++++------------ src/lang/ar/validate.php | 58 ++++++++++++------------ src/lang/en/validate.php | 58 ++++++++++++------------ src/lang/fa/validate.php | 58 ++++++++++++------------ src/lang/fr/validate.php | 58 ++++++++++++------------ src/lang/hi/validate.php | 58 ++++++++++++------------ src/lang/ja/validate.php | 58 ++++++++++++------------ src/lang/ko/validate.php | 58 ++++++++++++------------ src/lang/ru/validate.php | 58 ++++++++++++------------ src/lang/zh_CN/validate.php | 58 ++++++++++++------------ tests/BaseTest.php | 3 +- 41 files changed, 353 insertions(+), 384 deletions(-) diff --git a/src/Rules/ValidBase64.php b/src/Rules/ValidBase64.php index b2bb6ec8..460e53cd 100644 --- a/src/Rules/ValidBase64.php +++ b/src/Rules/ValidBase64.php @@ -9,9 +9,8 @@ class ValidBase64 implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidBitcoinAddress.php b/src/Rules/ValidBitcoinAddress.php index 7f38ff48..3c0ee29d 100644 --- a/src/Rules/ValidBitcoinAddress.php +++ b/src/Rules/ValidBitcoinAddress.php @@ -9,9 +9,8 @@ class ValidBitcoinAddress implements Rule /** * Check bitcoin address. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCapitalCharWithNumber.php b/src/Rules/ValidCapitalCharWithNumber.php index f3cc7a9c..dd1e26b3 100644 --- a/src/Rules/ValidCapitalCharWithNumber.php +++ b/src/Rules/ValidCapitalCharWithNumber.php @@ -9,9 +9,8 @@ class ValidCapitalCharWithNumber implements Rule /** * Check all words are capital & with hyphen & number. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCarNumber.php b/src/Rules/ValidCarNumber.php index e1d75c13..6aed527f 100644 --- a/src/Rules/ValidCarNumber.php +++ b/src/Rules/ValidCarNumber.php @@ -9,9 +9,8 @@ class ValidCarNumber implements Rule /** * Check car number is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCartNumberIran.php b/src/Rules/ValidCartNumberIran.php index 9bd6c746..74fa388c 100644 --- a/src/Rules/ValidCartNumberIran.php +++ b/src/Rules/ValidCartNumberIran.php @@ -9,9 +9,8 @@ class ValidCartNumberIran implements Rule /** * Check cart number is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDiscordUsername.php b/src/Rules/ValidDiscordUsername.php index 25087ab9..d72cce7c 100644 --- a/src/Rules/ValidDiscordUsername.php +++ b/src/Rules/ValidDiscordUsername.php @@ -9,9 +9,8 @@ class ValidDiscordUsername implements Rule /** * Check discord username is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDuplicate.php b/src/Rules/ValidDuplicate.php index 9a1c0742..fa802ee0 100644 --- a/src/Rules/ValidDuplicate.php +++ b/src/Rules/ValidDuplicate.php @@ -9,9 +9,8 @@ class ValidDuplicate implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDuplicateCharacter.php b/src/Rules/ValidDuplicateCharacter.php index 4dca9ddd..5e6a58c2 100644 --- a/src/Rules/ValidDuplicateCharacter.php +++ b/src/Rules/ValidDuplicateCharacter.php @@ -9,9 +9,8 @@ class ValidDuplicateCharacter implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidEvenNumber.php b/src/Rules/ValidEvenNumber.php index 82864195..18f3258f 100644 --- a/src/Rules/ValidEvenNumber.php +++ b/src/Rules/ValidEvenNumber.php @@ -9,9 +9,8 @@ class ValidEvenNumber implements Rule /** * Check number is even. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHashtag.php b/src/Rules/ValidHashtag.php index 9a2d0379..48d3a642 100644 --- a/src/Rules/ValidHashtag.php +++ b/src/Rules/ValidHashtag.php @@ -9,9 +9,8 @@ class ValidHashtag implements Rule /** * Check value contains hashtag. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHexColor.php b/src/Rules/ValidHexColor.php index e8ffe89c..8a132a27 100644 --- a/src/Rules/ValidHexColor.php +++ b/src/Rules/ValidHexColor.php @@ -9,9 +9,8 @@ class ValidHexColor implements Rule /** * Check hex color is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHtmlTag.php b/src/Rules/ValidHtmlTag.php index 4dbbf403..8d24933d 100644 --- a/src/Rules/ValidHtmlTag.php +++ b/src/Rules/ValidHtmlTag.php @@ -9,9 +9,8 @@ class ValidHtmlTag implements Rule /** * Check html tag is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidImei.php b/src/Rules/ValidImei.php index b808b3a4..73207b3c 100644 --- a/src/Rules/ValidImei.php +++ b/src/Rules/ValidImei.php @@ -9,16 +9,15 @@ class ValidImei implements Rule /** * Check jwt is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) { $imei = $value; - if (strlen($imei) != 15 || !ctype_digit($imei)) { + if (strlen($imei) != 15 || ! ctype_digit($imei)) { return false; } diff --git a/src/Rules/ValidIpAddressIPV4.php b/src/Rules/ValidIpAddressIPV4.php index 5597feb3..da364c28 100644 --- a/src/Rules/ValidIpAddressIPV4.php +++ b/src/Rules/ValidIpAddressIPV4.php @@ -9,9 +9,8 @@ class ValidIpAddressIPV4 implements Rule /** * Check ip address (ipv4) is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidIpAddressIPV6.php b/src/Rules/ValidIpAddressIPV6.php index 3db78a32..d9486ac6 100644 --- a/src/Rules/ValidIpAddressIPV6.php +++ b/src/Rules/ValidIpAddressIPV6.php @@ -9,9 +9,8 @@ class ValidIpAddressIPV6 implements Rule /** * Check ip address (ipv6) is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidJalaliDate.php b/src/Rules/ValidJalaliDate.php index ba1063b0..2fa79d45 100644 --- a/src/Rules/ValidJalaliDate.php +++ b/src/Rules/ValidJalaliDate.php @@ -10,14 +10,13 @@ class ValidJalaliDate implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) { - if (!is_string($value)) { + if (! is_string($value)) { return false; } diff --git a/src/Rules/ValidJwt.php b/src/Rules/ValidJwt.php index e8a34a3f..a84ee7e4 100644 --- a/src/Rules/ValidJwt.php +++ b/src/Rules/ValidJwt.php @@ -9,9 +9,8 @@ class ValidJwt implements Rule /** * Check jwt is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidNameDaysWeek.php b/src/Rules/ValidNameDaysWeek.php index 1bd2062f..bf9d36c4 100644 --- a/src/Rules/ValidNameDaysWeek.php +++ b/src/Rules/ValidNameDaysWeek.php @@ -9,9 +9,8 @@ class ValidNameDaysWeek implements Rule /** * Check day is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidNationalCard.php b/src/Rules/ValidNationalCard.php index 8ce7ed86..dc1dafcc 100644 --- a/src/Rules/ValidNationalCard.php +++ b/src/Rules/ValidNationalCard.php @@ -9,9 +9,8 @@ class ValidNationalCard implements Rule /** * Check national card is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidOddNumber.php b/src/Rules/ValidOddNumber.php index edea3535..fbac8603 100644 --- a/src/Rules/ValidOddNumber.php +++ b/src/Rules/ValidOddNumber.php @@ -9,9 +9,8 @@ class ValidOddNumber implements Rule /** * Check number is odd. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPattern.php b/src/Rules/ValidPattern.php index 2feae322..09362349 100644 --- a/src/Rules/ValidPattern.php +++ b/src/Rules/ValidPattern.php @@ -15,9 +15,8 @@ public function __construct( /** * Check texts with specific pattern. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPhoneNumber.php b/src/Rules/ValidPhoneNumber.php index 0ab489c8..6542aa7e 100644 --- a/src/Rules/ValidPhoneNumber.php +++ b/src/Rules/ValidPhoneNumber.php @@ -9,9 +9,8 @@ class ValidPhoneNumber implements Rule /** * Check phone number is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPort.php b/src/Rules/ValidPort.php index af9644b3..a5279ec9 100644 --- a/src/Rules/ValidPort.php +++ b/src/Rules/ValidPort.php @@ -9,9 +9,8 @@ class ValidPort implements Rule /** * Check port is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidSlashEndOfString.php b/src/Rules/ValidSlashEndOfString.php index 2b211cd9..1df0369e 100644 --- a/src/Rules/ValidSlashEndOfString.php +++ b/src/Rules/ValidSlashEndOfString.php @@ -9,9 +9,8 @@ class ValidSlashEndOfString implements Rule /** * Check write slash at the end of string. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidSlug.php b/src/Rules/ValidSlug.php index 4f0d15b3..9645cf0b 100644 --- a/src/Rules/ValidSlug.php +++ b/src/Rules/ValidSlug.php @@ -9,9 +9,8 @@ class ValidSlug implements Rule /** * Check slug is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidStrongPassword.php b/src/Rules/ValidStrongPassword.php index 4a8633f0..4fda294e 100644 --- a/src/Rules/ValidStrongPassword.php +++ b/src/Rules/ValidStrongPassword.php @@ -9,9 +9,8 @@ class ValidStrongPassword implements Rule /** * Check password started by capital letters & contains lowercase letters & contains number. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUlid.php b/src/Rules/ValidUlid.php index 3ba8854d..620d51d1 100644 --- a/src/Rules/ValidUlid.php +++ b/src/Rules/ValidUlid.php @@ -9,9 +9,8 @@ class ValidUlid implements Rule /** * Check ulid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUrl.php b/src/Rules/ValidUrl.php index 3cec2943..9738b758 100644 --- a/src/Rules/ValidUrl.php +++ b/src/Rules/ValidUrl.php @@ -9,9 +9,8 @@ class ValidUrl implements Rule /** * Check url is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUsername.php b/src/Rules/ValidUsername.php index cbd2befb..9e1c8b40 100644 --- a/src/Rules/ValidUsername.php +++ b/src/Rules/ValidUsername.php @@ -9,9 +9,8 @@ class ValidUsername implements Rule /** * It checks that the length of the username must be between 3 and 15 characters without spaces. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUuid.php b/src/Rules/ValidUuid.php index 3e5697f3..2501d85c 100644 --- a/src/Rules/ValidUuid.php +++ b/src/Rules/ValidUuid.php @@ -9,9 +9,8 @@ class ValidUuid implements Rule /** * Check uuid is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/lang/It/validate.php b/src/lang/It/validate.php index 6a504f82..8ca5520e 100644 --- a/src/lang/It/validate.php +++ b/src/lang/It/validate.php @@ -1,34 +1,34 @@ ':attribute non è valido.', - 'bitcoin-address' => ':attribute non è valido.', + 'base64' => ':attribute non è valido.', + 'bitcoin-address' => ':attribute non è valido.', 'capital-char-with-number' => ':attribute non è valido.', - 'car-number' => ':attribute non è valido.', - 'cart-number-iran' => ':attribute non è valido.', - 'discord-username' => ':attribute non è valido.', - 'even-number' => ':attribute non è valido.', - 'hashtag' => ':attribute non è valido.', - 'hex-color' => ':attribute non è valido.', - 'html-tag' => ':attribute non è valido.', - 'imei' => ':attribute non è valido.', - 'ipv4' => ':attribute non è valido.', - 'ipv6' => ':attribute non è valido.', - 'jwt' => ':attribute non è valido.', - 'name-days-week' => ':attribute non è valido.', - 'national-card' => ':attribute non è valido.', - 'odd-number' => ':attribute non è valido.', - 'phone-number' => ':attribute non è valido.', - 'port' => ':attribute non è valido.', - 'slash-end-of-string' => ':attribute non è valido.', - 'slug' => ':attribute non è valido.', - 'strong-password' => ':attribute non è valido.', - 'url' => ':attribute non è valido.', - 'username' => ':attribute non è valido.', - 'uuid' => ':attribute non è valido.', - 'jalali_date' => ':attribute non è valido.', - 'duplicate_character' => ':attribute non è valido.', - 'pattern' => ':attribute non è valido.', - 'duplicate' => ':attribute non è valido.', - 'ulid' => ':attribute non è valido.', + 'car-number' => ':attribute non è valido.', + 'cart-number-iran' => ':attribute non è valido.', + 'discord-username' => ':attribute non è valido.', + 'even-number' => ':attribute non è valido.', + 'hashtag' => ':attribute non è valido.', + 'hex-color' => ':attribute non è valido.', + 'html-tag' => ':attribute non è valido.', + 'imei' => ':attribute non è valido.', + 'ipv4' => ':attribute non è valido.', + 'ipv6' => ':attribute non è valido.', + 'jwt' => ':attribute non è valido.', + 'name-days-week' => ':attribute non è valido.', + 'national-card' => ':attribute non è valido.', + 'odd-number' => ':attribute non è valido.', + 'phone-number' => ':attribute non è valido.', + 'port' => ':attribute non è valido.', + 'slash-end-of-string' => ':attribute non è valido.', + 'slug' => ':attribute non è valido.', + 'strong-password' => ':attribute non è valido.', + 'url' => ':attribute non è valido.', + 'username' => ':attribute non è valido.', + 'uuid' => ':attribute non è valido.', + 'jalali_date' => ':attribute non è valido.', + 'duplicate_character' => ':attribute non è valido.', + 'pattern' => ':attribute non è valido.', + 'duplicate' => ':attribute non è valido.', + 'ulid' => ':attribute non è valido.', ]; diff --git a/src/lang/ar/validate.php b/src/lang/ar/validate.php index 093f189b..0dbed312 100644 --- a/src/lang/ar/validate.php +++ b/src/lang/ar/validate.php @@ -1,34 +1,34 @@ ':attribute غير صالح.', - 'bitcoin-address' => ':attribute غير صالح.', + 'base64' => ':attribute غير صالح.', + 'bitcoin-address' => ':attribute غير صالح.', 'capital-char-with-number' => ':attribute غير صالح.', - 'car-number' => ':attribute غير صالح.', - 'cart-number-iran' => ':attribute غير صالح.', - 'discord-username' => ':attribute غير صالح.', - 'even-number' => ':attribute غير صالح.', - 'hashtag' => ':attribute غير صالح.', - 'hex-color' => ':attribute غير صالح.', - 'html-tag' => ':attribute غير صالح.', - 'imei' => ':attribute غير صالح.', - 'ipv4' => ':attribute غير صالح.', - 'ipv6' => ':attribute غير صالح.', - 'jwt' => ':attribute غير صالح.', - 'name-days-week' => ':attribute غير صالح.', - 'national-card' => ':attribute غير صالح.', - 'odd-number' => ':attribute غير صالح.', - 'phone-number' => ':attribute غير صالح.', - 'port' => ':attribute غير صالح.', - 'slash-end-of-string' => ':attribute غير صالح.', - 'slug' => ':attribute غير صالح.', - 'strong-password' => ':attribute غير صالح.', - 'url' => ':attribute غير صالح.', - 'username' => ':attribute غير صالح.', - 'uuid' => ':attribute غير صالح.', - 'jalali_date' => ':attribute غير صالح.', - 'duplicate_character' => ':attribute غير صالح.', - 'pattern' => ':attribute غير صالح.', - 'duplicate' => ':attribute غير صالح.', - 'ulid' => ':attribute غير صالح.', + 'car-number' => ':attribute غير صالح.', + 'cart-number-iran' => ':attribute غير صالح.', + 'discord-username' => ':attribute غير صالح.', + 'even-number' => ':attribute غير صالح.', + 'hashtag' => ':attribute غير صالح.', + 'hex-color' => ':attribute غير صالح.', + 'html-tag' => ':attribute غير صالح.', + 'imei' => ':attribute غير صالح.', + 'ipv4' => ':attribute غير صالح.', + 'ipv6' => ':attribute غير صالح.', + 'jwt' => ':attribute غير صالح.', + 'name-days-week' => ':attribute غير صالح.', + 'national-card' => ':attribute غير صالح.', + 'odd-number' => ':attribute غير صالح.', + 'phone-number' => ':attribute غير صالح.', + 'port' => ':attribute غير صالح.', + 'slash-end-of-string' => ':attribute غير صالح.', + 'slug' => ':attribute غير صالح.', + 'strong-password' => ':attribute غير صالح.', + 'url' => ':attribute غير صالح.', + 'username' => ':attribute غير صالح.', + 'uuid' => ':attribute غير صالح.', + 'jalali_date' => ':attribute غير صالح.', + 'duplicate_character' => ':attribute غير صالح.', + 'pattern' => ':attribute غير صالح.', + 'duplicate' => ':attribute غير صالح.', + 'ulid' => ':attribute غير صالح.', ]; diff --git a/src/lang/en/validate.php b/src/lang/en/validate.php index cf875e8b..1fa0d3fa 100644 --- a/src/lang/en/validate.php +++ b/src/lang/en/validate.php @@ -1,34 +1,34 @@ 'The :attribute is not valid.', - 'bitcoin-address' => 'The :attribute is not valid.', + 'base64' => 'The :attribute is not valid.', + 'bitcoin-address' => 'The :attribute is not valid.', 'capital-char-with-number' => 'The :attribute is not valid.', - 'car-number' => 'The :attribute is not valid.', - 'cart-number-iran' => 'The :attribute is not valid.', - 'discord-username' => 'The :attribute is not valid.', - 'even-number' => 'The :attribute is not valid.', - 'hashtag' => 'The :attribute is not valid.', - 'hex-color' => 'The :attribute is not valid.', - 'html-tag' => 'The :attribute is not valid.', - 'imei' => 'The :attribute is not valid.', - 'ipv4' => 'The :attribute is not valid.', - 'ipv6' => 'The :attribute is not valid.', - 'jwt' => 'The :attribute is not valid.', - 'name-days-week' => 'The :attribute is not valid.', - 'national-card' => 'The :attribute is not valid.', - 'odd-number' => 'The :attribute is not valid.', - 'phone-number' => 'The :attribute is not valid.', - 'port' => 'The :attribute is not valid.', - 'slash-end-of-string' => 'The :attribute is not valid.', - 'slug' => 'The :attribute is not valid.', - 'strong-password' => 'The :attribute is not valid.', - 'url' => 'The :attribute is not valid.', - 'username' => 'The :attribute is not valid.', - 'uuid' => 'The :attribute is not valid.', - 'jalali_date' => 'The :attribute is not valid.', - 'duplicate_character' => 'The :attribute is not valid.', - 'pattern' => 'The :attribute is not valid.', - 'duplicate' => 'The :attribute is not valid.', - 'ulid' => 'The :attribute is not valid.', + 'car-number' => 'The :attribute is not valid.', + 'cart-number-iran' => 'The :attribute is not valid.', + 'discord-username' => 'The :attribute is not valid.', + 'even-number' => 'The :attribute is not valid.', + 'hashtag' => 'The :attribute is not valid.', + 'hex-color' => 'The :attribute is not valid.', + 'html-tag' => 'The :attribute is not valid.', + 'imei' => 'The :attribute is not valid.', + 'ipv4' => 'The :attribute is not valid.', + 'ipv6' => 'The :attribute is not valid.', + 'jwt' => 'The :attribute is not valid.', + 'name-days-week' => 'The :attribute is not valid.', + 'national-card' => 'The :attribute is not valid.', + 'odd-number' => 'The :attribute is not valid.', + 'phone-number' => 'The :attribute is not valid.', + 'port' => 'The :attribute is not valid.', + 'slash-end-of-string' => 'The :attribute is not valid.', + 'slug' => 'The :attribute is not valid.', + 'strong-password' => 'The :attribute is not valid.', + 'url' => 'The :attribute is not valid.', + 'username' => 'The :attribute is not valid.', + 'uuid' => 'The :attribute is not valid.', + 'jalali_date' => 'The :attribute is not valid.', + 'duplicate_character' => 'The :attribute is not valid.', + 'pattern' => 'The :attribute is not valid.', + 'duplicate' => 'The :attribute is not valid.', + 'ulid' => 'The :attribute is not valid.', ]; diff --git a/src/lang/fa/validate.php b/src/lang/fa/validate.php index fb5b7946..533d0f97 100644 --- a/src/lang/fa/validate.php +++ b/src/lang/fa/validate.php @@ -1,34 +1,34 @@ 'مقدار :attribute صحیح نمی باشد.', - 'bitcoin-address' => 'مقدار :attribute صحیح نمی باشد.', + 'base64' => 'مقدار :attribute صحیح نمی باشد.', + 'bitcoin-address' => 'مقدار :attribute صحیح نمی باشد.', 'capital-char-with-number' => 'مقدار :attribute صحیح نمی باشد.', - 'car-number' => 'مقدار :attribute صحیح نمی باشد.', - 'cart-number-iran' => 'مقدار :attribute صحیح نمی باشد.', - 'discord-username' => 'مقدار :attribute صحیح نمی باشد.', - 'even-number' => 'مقدار :attribute صحیح نمی باشد.', - 'hashtag' => 'مقدار :attribute صحیح نمی باشد.', - 'hex-color' => 'مقدار :attribute صحیح نمی باشد.', - 'html-tag' => 'مقدار :attribute صحیح نمی باشد.', - 'imei' => 'مقدار :attribute صحیح نمی باشد.', - 'ipv4' => 'مقدار :attribute صحیح نمی باشد.', - 'ipv6' => 'مقدار :attribute صحیح نمی باشد.', - 'jwt' => 'مقدار :attribute صحیح نمی باشد.', - 'name-days-week' => 'مقدار :attribute صحیح نمی باشد.', - 'national-card' => 'مقدار :attribute صحیح نمی باشد.', - 'odd-number' => 'مقدار :attribute صحیح نمی باشد.', - 'phone-number' => 'مقدار :attribute صحیح نمی باشد.', - 'port' => 'مقدار :attribute صحیح نمی باشد.', - 'slash-end-of-string' => 'مقدار :attribute صحیح نمی باشد.', - 'slug' => 'مقدار :attribute صحیح نمی باشد.', - 'strong-password' => 'مقدار :attribute صحیح نمی باشد.', - 'url' => 'مقدار :attribute صحیح نمی باشد.', - 'username' => 'مقدار :attribute صحیح نمی باشد.', - 'uuid' => 'مقدار :attribute صحیح نمی باشد.', - 'jalali_date' => 'مقدار :attribute صحیح نمی باشد.', - 'duplicate_character' => 'مقدار :attribute صحیح نمی باشد.', - 'pattern' => 'مقدار :attribute صحیح نمی باشد.', - 'duplicate' => 'مقدار :attribute صحیح نمی باشد.', - 'ulid' => 'مقدار :attribute صحیح نمی باشد.', + 'car-number' => 'مقدار :attribute صحیح نمی باشد.', + 'cart-number-iran' => 'مقدار :attribute صحیح نمی باشد.', + 'discord-username' => 'مقدار :attribute صحیح نمی باشد.', + 'even-number' => 'مقدار :attribute صحیح نمی باشد.', + 'hashtag' => 'مقدار :attribute صحیح نمی باشد.', + 'hex-color' => 'مقدار :attribute صحیح نمی باشد.', + 'html-tag' => 'مقدار :attribute صحیح نمی باشد.', + 'imei' => 'مقدار :attribute صحیح نمی باشد.', + 'ipv4' => 'مقدار :attribute صحیح نمی باشد.', + 'ipv6' => 'مقدار :attribute صحیح نمی باشد.', + 'jwt' => 'مقدار :attribute صحیح نمی باشد.', + 'name-days-week' => 'مقدار :attribute صحیح نمی باشد.', + 'national-card' => 'مقدار :attribute صحیح نمی باشد.', + 'odd-number' => 'مقدار :attribute صحیح نمی باشد.', + 'phone-number' => 'مقدار :attribute صحیح نمی باشد.', + 'port' => 'مقدار :attribute صحیح نمی باشد.', + 'slash-end-of-string' => 'مقدار :attribute صحیح نمی باشد.', + 'slug' => 'مقدار :attribute صحیح نمی باشد.', + 'strong-password' => 'مقدار :attribute صحیح نمی باشد.', + 'url' => 'مقدار :attribute صحیح نمی باشد.', + 'username' => 'مقدار :attribute صحیح نمی باشد.', + 'uuid' => 'مقدار :attribute صحیح نمی باشد.', + 'jalali_date' => 'مقدار :attribute صحیح نمی باشد.', + 'duplicate_character' => 'مقدار :attribute صحیح نمی باشد.', + 'pattern' => 'مقدار :attribute صحیح نمی باشد.', + 'duplicate' => 'مقدار :attribute صحیح نمی باشد.', + 'ulid' => 'مقدار :attribute صحیح نمی باشد.', ]; diff --git a/src/lang/fr/validate.php b/src/lang/fr/validate.php index 35030479..778969ea 100644 --- a/src/lang/fr/validate.php +++ b/src/lang/fr/validate.php @@ -1,34 +1,34 @@ ":attribute n'est pas valide.", - 'bitcoin-address' => ":attribute n'est pas valide.", + 'base64' => ":attribute n'est pas valide.", + 'bitcoin-address' => ":attribute n'est pas valide.", 'capital-char-with-number' => ":attribute n'est pas valide.", - 'car-number' => ":attribute n'est pas valide.", - 'cart-number-iran' => ":attribute n'est pas valide.", - 'discord-username' => ":attribute n'est pas valide.", - 'even-number' => ":attribute n'est pas valide.", - 'hashtag' => ":attribute n'est pas valide.", - 'hex-color' => ":attribute n'est pas valide.", - 'html-tag' => ":attribute n'est pas valide.", - 'imei' => ":attribute n'est pas valide.", - 'ipv4' => ":attribute n'est pas valide.", - 'ipv6' => ":attribute n'est pas valide.", - 'jwt' => ":attribute n'est pas valide.", - 'name-days-week' => ":attribute n'est pas valide.", - 'national-card' => ":attribute n'est pas valide.", - 'odd-number' => ":attribute n'est pas valide.", - 'phone-number' => ":attribute n'est pas valide.", - 'port' => ":attribute n'est pas valide.", - 'slash-end-of-string' => ":attribute n'est pas valide.", - 'slug' => ":attribute n'est pas valide.", - 'strong-password' => ":attribute n'est pas valide.", - 'url' => ":attribute n'est pas valide.", - 'username' => ":attribute n'est pas valide.", - 'uuid' => ":attribute n'est pas valide.", - 'jalali_date' => ":attribute n'est pas valide.", - 'duplicate_character' => ":attribute n'est pas valide.", - 'pattern' => ":attribute n'est pas valide.", - 'duplicate' => ":attribute n'est pas valide.", - 'ulid' => ":attribute n'est pas valide.", + 'car-number' => ":attribute n'est pas valide.", + 'cart-number-iran' => ":attribute n'est pas valide.", + 'discord-username' => ":attribute n'est pas valide.", + 'even-number' => ":attribute n'est pas valide.", + 'hashtag' => ":attribute n'est pas valide.", + 'hex-color' => ":attribute n'est pas valide.", + 'html-tag' => ":attribute n'est pas valide.", + 'imei' => ":attribute n'est pas valide.", + 'ipv4' => ":attribute n'est pas valide.", + 'ipv6' => ":attribute n'est pas valide.", + 'jwt' => ":attribute n'est pas valide.", + 'name-days-week' => ":attribute n'est pas valide.", + 'national-card' => ":attribute n'est pas valide.", + 'odd-number' => ":attribute n'est pas valide.", + 'phone-number' => ":attribute n'est pas valide.", + 'port' => ":attribute n'est pas valide.", + 'slash-end-of-string' => ":attribute n'est pas valide.", + 'slug' => ":attribute n'est pas valide.", + 'strong-password' => ":attribute n'est pas valide.", + 'url' => ":attribute n'est pas valide.", + 'username' => ":attribute n'est pas valide.", + 'uuid' => ":attribute n'est pas valide.", + 'jalali_date' => ":attribute n'est pas valide.", + 'duplicate_character' => ":attribute n'est pas valide.", + 'pattern' => ":attribute n'est pas valide.", + 'duplicate' => ":attribute n'est pas valide.", + 'ulid' => ":attribute n'est pas valide.", ]; diff --git a/src/lang/hi/validate.php b/src/lang/hi/validate.php index 1e6c0213..12736715 100644 --- a/src/lang/hi/validate.php +++ b/src/lang/hi/validate.php @@ -1,34 +1,34 @@ ':attributeमान्य नहीं है।.', - 'bitcoin-address' => ':attributeमान्य नहीं है।.', + 'base64' => ':attributeमान्य नहीं है।.', + 'bitcoin-address' => ':attributeमान्य नहीं है।.', 'capital-char-with-number' => ':attributeमान्य नहीं है।.', - 'car-number' => ':attributeमान्य नहीं है।.', - 'cart-number-iran' => ':attributeमान्य नहीं है।.', - 'discord-username' => ':attributeमान्य नहीं है।.', - 'even-number' => ':attributeमान्य नहीं है।.', - 'hashtag' => ':attributeमान्य नहीं है।.', - 'hex-color' => ':attributeमान्य नहीं है।.', - 'html-tag' => ':attributeमान्य नहीं है।.', - 'imei' => ':attributeमान्य नहीं है।.', - 'ipv4' => ':attributeमान्य नहीं है।.', - 'ipv6' => ':attributeमान्य नहीं है।.', - 'jwt' => ':attributeमान्य नहीं है।.', - 'name-days-week' => ':attributeमान्य नहीं है।.', - 'national-card' => ':attributeमान्य नहीं है।.', - 'odd-number' => ':attributeमान्य नहीं है।.', - 'phone-number' => ':attributeमान्य नहीं है।.', - 'port' => ':attributeमान्य नहीं है।.', - 'slash-end-of-string' => ':attributeमान्य नहीं है।.', - 'slug' => ':attributeमान्य नहीं है।.', - 'strong-password' => ':attributeमान्य नहीं है।.', - 'url' => ':attributeमान्य नहीं है।.', - 'username' => ':attributeमान्य नहीं है।.', - 'uuid' => ':attributeमान्य नहीं है।.', - 'jalali_date' => ':attributeमान्य नहीं है।.', - 'duplicate_character' => ':attributeमान्य नहीं है।.', - 'pattern' => ':attributeमान्य नहीं है।.', - 'duplicate' => ':attributeमान्य नहीं है।.', - 'ulid' => ':attributeमान्य नहीं है।.', + 'car-number' => ':attributeमान्य नहीं है।.', + 'cart-number-iran' => ':attributeमान्य नहीं है।.', + 'discord-username' => ':attributeमान्य नहीं है।.', + 'even-number' => ':attributeमान्य नहीं है।.', + 'hashtag' => ':attributeमान्य नहीं है।.', + 'hex-color' => ':attributeमान्य नहीं है।.', + 'html-tag' => ':attributeमान्य नहीं है।.', + 'imei' => ':attributeमान्य नहीं है।.', + 'ipv4' => ':attributeमान्य नहीं है।.', + 'ipv6' => ':attributeमान्य नहीं है।.', + 'jwt' => ':attributeमान्य नहीं है।.', + 'name-days-week' => ':attributeमान्य नहीं है।.', + 'national-card' => ':attributeमान्य नहीं है।.', + 'odd-number' => ':attributeमान्य नहीं है।.', + 'phone-number' => ':attributeमान्य नहीं है।.', + 'port' => ':attributeमान्य नहीं है।.', + 'slash-end-of-string' => ':attributeमान्य नहीं है।.', + 'slug' => ':attributeमान्य नहीं है।.', + 'strong-password' => ':attributeमान्य नहीं है।.', + 'url' => ':attributeमान्य नहीं है।.', + 'username' => ':attributeमान्य नहीं है।.', + 'uuid' => ':attributeमान्य नहीं है।.', + 'jalali_date' => ':attributeमान्य नहीं है।.', + 'duplicate_character' => ':attributeमान्य नहीं है।.', + 'pattern' => ':attributeमान्य नहीं है।.', + 'duplicate' => ':attributeमान्य नहीं है।.', + 'ulid' => ':attributeमान्य नहीं है।.', ]; diff --git a/src/lang/ja/validate.php b/src/lang/ja/validate.php index fdf49f57..ff95c7e2 100644 --- a/src/lang/ja/validate.php +++ b/src/lang/ja/validate.php @@ -1,34 +1,34 @@ ':attribute有効じゃない。', - 'bitcoin-address' => ':attribute有効じゃない。', + 'base64' => ':attribute有効じゃない。', + 'bitcoin-address' => ':attribute有効じゃない。', 'capital-char-with-number' => ':attribute有効じゃない。', - 'car-number' => ':attribute有効じゃない。', - 'cart-number-iran' => ':attribute有効じゃない。', - 'discord-username' => ':attribute有効じゃない。', - 'even-number' => ':attribute有効じゃない。', - 'hashtag' => ':attribute有効じゃない。', - 'hex-color' => ':attribute有効じゃない。', - 'html-tag' => ':attribute有効じゃない。', - 'imei' => ':attribute有効じゃない。', - 'ipv4' => ':attribute有効じゃない。', - 'ipv6' => ':attribute有効じゃない。', - 'jwt' => ':attribute有効じゃない。', - 'name-days-week' => ':attribute有効じゃない。', - 'national-card' => ':attribute有効じゃない。', - 'odd-number' => ':attribute有効じゃない。', - 'phone-number' => ':attribute有効じゃない。', - 'port' => ':attribute有効じゃない。', - 'slash-end-of-string' => ':attribute有効じゃない。', - 'slug' => ':attribute有効じゃない。', - 'strong-password' => ':attribute有効じゃない。', - 'url' => ':attribute有効じゃない。', - 'username' => ':attribute有効じゃない。', - 'uuid' => ':attribute有効じゃない。', - 'jalali_date' => ':attribute有効じゃない。', - 'duplicate_character' => ':attribute有効じゃない。', - 'pattern' => ':attribute有効じゃない。', - 'duplicate' => ':attribute有効じゃない。', - 'ulid' => ':attribute有効じゃない。', + 'car-number' => ':attribute有効じゃない。', + 'cart-number-iran' => ':attribute有効じゃない。', + 'discord-username' => ':attribute有効じゃない。', + 'even-number' => ':attribute有効じゃない。', + 'hashtag' => ':attribute有効じゃない。', + 'hex-color' => ':attribute有効じゃない。', + 'html-tag' => ':attribute有効じゃない。', + 'imei' => ':attribute有効じゃない。', + 'ipv4' => ':attribute有効じゃない。', + 'ipv6' => ':attribute有効じゃない。', + 'jwt' => ':attribute有効じゃない。', + 'name-days-week' => ':attribute有効じゃない。', + 'national-card' => ':attribute有効じゃない。', + 'odd-number' => ':attribute有効じゃない。', + 'phone-number' => ':attribute有効じゃない。', + 'port' => ':attribute有効じゃない。', + 'slash-end-of-string' => ':attribute有効じゃない。', + 'slug' => ':attribute有効じゃない。', + 'strong-password' => ':attribute有効じゃない。', + 'url' => ':attribute有効じゃない。', + 'username' => ':attribute有効じゃない。', + 'uuid' => ':attribute有効じゃない。', + 'jalali_date' => ':attribute有効じゃない。', + 'duplicate_character' => ':attribute有効じゃない。', + 'pattern' => ':attribute有効じゃない。', + 'duplicate' => ':attribute有効じゃない。', + 'ulid' => ':attribute有効じゃない。', ]; diff --git a/src/lang/ko/validate.php b/src/lang/ko/validate.php index a37209c6..c7202c93 100644 --- a/src/lang/ko/validate.php +++ b/src/lang/ko/validate.php @@ -1,34 +1,34 @@ ':attribute유효하지 않습니다.', - 'bitcoin-address' => ':attribute유효하지 않습니다.', + 'base64' => ':attribute유효하지 않습니다.', + 'bitcoin-address' => ':attribute유효하지 않습니다.', 'capital-char-with-number' => ':attribute유효하지 않습니다.', - 'car-number' => ':attribute유효하지 않습니다.', - 'cart-number-iran' => ':attribute유효하지 않습니다.', - 'discord-username' => ':attribute유효하지 않습니다.', - 'even-number' => ':attribute유효하지 않습니다.', - 'hashtag' => ':attribute유효하지 않습니다.', - 'hex-color' => ':attribute유효하지 않습니다.', - 'html-tag' => ':attribute유효하지 않습니다.', - 'imei' => ':attribute유효하지 않습니다.', - 'ipv4' => ':attribute유효하지 않습니다.', - 'ipv6' => ':attribute유효하지 않습니다.', - 'jwt' => ':attribute유효하지 않습니다.', - 'name-days-week' => ':attribute유효하지 않습니다.', - 'national-card' => ':attribute유효하지 않습니다.', - 'odd-number' => ':attribute유효하지 않습니다.', - 'phone-number' => ':attribute유효하지 않습니다.', - 'port' => ':attribute유효하지 않습니다.', - 'slash-end-of-string' => ':attribute유효하지 않습니다.', - 'slug' => ':attribute유효하지 않습니다.', - 'strong-password' => ':attribute유효하지 않습니다.', - 'url' => ':attribute유효하지 않습니다.', - 'username' => ':attribute유효하지 않습니다.', - 'uuid' => ':attribute유효하지 않습니다.', - 'jalali_date' => ':attribute유효하지 않습니다.', - 'duplicate_character' => ':attribute유효하지 않습니다.', - 'pattern' => ':attribute유효하지 않습니다.', - 'duplicate' => ':attribute유효하지 않습니다.', - 'ulid' => ':attribute유효하지 않습니다.', + 'car-number' => ':attribute유효하지 않습니다.', + 'cart-number-iran' => ':attribute유효하지 않습니다.', + 'discord-username' => ':attribute유효하지 않습니다.', + 'even-number' => ':attribute유효하지 않습니다.', + 'hashtag' => ':attribute유효하지 않습니다.', + 'hex-color' => ':attribute유효하지 않습니다.', + 'html-tag' => ':attribute유효하지 않습니다.', + 'imei' => ':attribute유효하지 않습니다.', + 'ipv4' => ':attribute유효하지 않습니다.', + 'ipv6' => ':attribute유효하지 않습니다.', + 'jwt' => ':attribute유효하지 않습니다.', + 'name-days-week' => ':attribute유효하지 않습니다.', + 'national-card' => ':attribute유효하지 않습니다.', + 'odd-number' => ':attribute유효하지 않습니다.', + 'phone-number' => ':attribute유효하지 않습니다.', + 'port' => ':attribute유효하지 않습니다.', + 'slash-end-of-string' => ':attribute유효하지 않습니다.', + 'slug' => ':attribute유효하지 않습니다.', + 'strong-password' => ':attribute유효하지 않습니다.', + 'url' => ':attribute유효하지 않습니다.', + 'username' => ':attribute유효하지 않습니다.', + 'uuid' => ':attribute유효하지 않습니다.', + 'jalali_date' => ':attribute유효하지 않습니다.', + 'duplicate_character' => ':attribute유효하지 않습니다.', + 'pattern' => ':attribute유효하지 않습니다.', + 'duplicate' => ':attribute유효하지 않습니다.', + 'ulid' => ':attribute유효하지 않습니다.', ]; diff --git a/src/lang/ru/validate.php b/src/lang/ru/validate.php index c26526ff..ce7ce6ed 100644 --- a/src/lang/ru/validate.php +++ b/src/lang/ru/validate.php @@ -1,34 +1,34 @@ ':attribute не действует.', - 'bitcoin-address' => ':attribute не действует.', + 'base64' => ':attribute не действует.', + 'bitcoin-address' => ':attribute не действует.', 'capital-char-with-number' => ':attribute не действует.', - 'car-number' => ':attribute не действует.', - 'cart-number-iran' => ':attribute не действует.', - 'discord-username' => ':attribute не действует.', - 'even-number' => ':attribute не действует.', - 'hashtag' => ':attribute не действует.', - 'hex-color' => ':attribute не действует.', - 'html-tag' => ':attribute не действует.', - 'imei' => ':attribute не действует.', - 'ipv4' => ':attribute не действует.', - 'ipv6' => ':attribute не действует.', - 'jwt' => ':attribute не действует.', - 'name-days-week' => ':attribute не действует.', - 'national-card' => ':attribute не действует.', - 'odd-number' => ':attribute не действует.', - 'phone-number' => ':attribute не действует.', - 'port' => ':attribute не действует.', - 'slash-end-of-string' => ':attribute не действует.', - 'slug' => ':attribute не действует.', - 'strong-password' => ':attribute не действует.', - 'url' => ':attribute не действует.', - 'username' => ':attribute не действует.', - 'uuid' => ':attribute не действует.', - 'jalali_date' => ':attribute не действует.', - 'duplicate_character' => ':attribute не действует.', - 'pattern' => ':attribute не действует.', - 'duplicate' => ':attribute не действует.', - 'ulid' => ':attribute не действует.', + 'car-number' => ':attribute не действует.', + 'cart-number-iran' => ':attribute не действует.', + 'discord-username' => ':attribute не действует.', + 'even-number' => ':attribute не действует.', + 'hashtag' => ':attribute не действует.', + 'hex-color' => ':attribute не действует.', + 'html-tag' => ':attribute не действует.', + 'imei' => ':attribute не действует.', + 'ipv4' => ':attribute не действует.', + 'ipv6' => ':attribute не действует.', + 'jwt' => ':attribute не действует.', + 'name-days-week' => ':attribute не действует.', + 'national-card' => ':attribute не действует.', + 'odd-number' => ':attribute не действует.', + 'phone-number' => ':attribute не действует.', + 'port' => ':attribute не действует.', + 'slash-end-of-string' => ':attribute не действует.', + 'slug' => ':attribute не действует.', + 'strong-password' => ':attribute не действует.', + 'url' => ':attribute не действует.', + 'username' => ':attribute не действует.', + 'uuid' => ':attribute не действует.', + 'jalali_date' => ':attribute не действует.', + 'duplicate_character' => ':attribute не действует.', + 'pattern' => ':attribute не действует.', + 'duplicate' => ':attribute не действует.', + 'ulid' => ':attribute не действует.', ]; diff --git a/src/lang/zh_CN/validate.php b/src/lang/zh_CN/validate.php index 562f872f..1b1809c5 100644 --- a/src/lang/zh_CN/validate.php +++ b/src/lang/zh_CN/validate.php @@ -1,34 +1,34 @@ ':attribute无效.', - 'bitcoin-address' => ':attribute无效.', + 'base64' => ':attribute无效.', + 'bitcoin-address' => ':attribute无效.', 'capital-char-with-number' => ':attribute无效.', - 'car-number' => ':attribute无效.', - 'cart-number-iran' => ':attribute无效.', - 'discord-username' => ':attribute无效.', - 'even-number' => ':attribute无效.', - 'hashtag' => ':attribute无效.', - 'hex-color' => ':attribute无效.', - 'html-tag' => ':attribute无效.', - 'imei' => ':attribute无效.', - 'ipv4' => ':attribute无效.', - 'ipv6' => ':attribute无效.', - 'jwt' => ':attribute无效.', - 'name-days-week' => ':attribute无效.', - 'national-card' => ':attribute无效.', - 'odd-number' => ':attribute无效.', - 'phone-number' => ':attribute无效.', - 'port' => ':attribute无效.', - 'slash-end-of-string' => ':attribute无效.', - 'slug' => ':attribute无效.', - 'strong-password' => ':attribute无效.', - 'url' => ':attribute无效.', - 'username' => ':attribute无效.', - 'uuid' => ':attribute无效.', - 'jalali_date' => ':attribute无效.', - 'duplicate_character' => ':attribute无效.', - 'pattern' => ':attribute无效.', - 'duplicate' => ':attribute无效.', - 'ulid' => ':attribute无效.', + 'car-number' => ':attribute无效.', + 'cart-number-iran' => ':attribute无效.', + 'discord-username' => ':attribute无效.', + 'even-number' => ':attribute无效.', + 'hashtag' => ':attribute无效.', + 'hex-color' => ':attribute无效.', + 'html-tag' => ':attribute无效.', + 'imei' => ':attribute无效.', + 'ipv4' => ':attribute无效.', + 'ipv6' => ':attribute无效.', + 'jwt' => ':attribute无效.', + 'name-days-week' => ':attribute无效.', + 'national-card' => ':attribute无效.', + 'odd-number' => ':attribute无效.', + 'phone-number' => ':attribute无效.', + 'port' => ':attribute无效.', + 'slash-end-of-string' => ':attribute无效.', + 'slug' => ':attribute无效.', + 'strong-password' => ':attribute无效.', + 'url' => ':attribute无效.', + 'username' => ':attribute无效.', + 'uuid' => ':attribute无效.', + 'jalali_date' => ':attribute无效.', + 'duplicate_character' => ':attribute无效.', + 'pattern' => ':attribute无效.', + 'duplicate' => ':attribute无效.', + 'ulid' => ':attribute无效.', ]; diff --git a/tests/BaseTest.php b/tests/BaseTest.php index f97d1d6d..75e952e9 100644 --- a/tests/BaseTest.php +++ b/tests/BaseTest.php @@ -9,8 +9,7 @@ class BaseTest extends \Orchestra\Testbench\TestCase /** * Get package providers. * - * @param \Illuminate\Foundation\Application $app - * + * @param \Illuminate\Foundation\Application $app * @return array */ protected function getPackageProviders($app) From d8f8026111803dd919b673d01085a133a6c9e310 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Fri, 10 Mar 2023 13:04:57 +0000 Subject: [PATCH 7/8] Apply fixes from StyleCI --- src/Rules/ValidBase64.php | 5 +- src/Rules/ValidBitcoinAddress.php | 5 +- src/Rules/ValidCapitalCharWithNumber.php | 5 +- src/Rules/ValidCarNumber.php | 5 +- src/Rules/ValidCartNumberIran.php | 5 +- src/Rules/ValidDiscordUsername.php | 5 +- src/Rules/ValidDuplicate.php | 5 +- src/Rules/ValidDuplicateCharacter.php | 5 +- src/Rules/ValidEvenNumber.php | 5 +- src/Rules/ValidHashtag.php | 5 +- src/Rules/ValidHexColor.php | 5 +- src/Rules/ValidHtmlTag.php | 5 +- src/Rules/ValidImei.php | 7 +-- src/Rules/ValidIpAddressIPV4.php | 5 +- src/Rules/ValidIpAddressIPV6.php | 5 +- src/Rules/ValidJalaliDate.php | 7 +-- src/Rules/ValidJwt.php | 5 +- src/Rules/ValidNameDaysWeek.php | 5 +- src/Rules/ValidNationalCard.php | 5 +- src/Rules/ValidOddNumber.php | 5 +- src/Rules/ValidPattern.php | 5 +- src/Rules/ValidPhoneNumber.php | 5 +- src/Rules/ValidPort.php | 5 +- src/Rules/ValidSlashEndOfString.php | 5 +- src/Rules/ValidSlug.php | 5 +- src/Rules/ValidStrongPassword.php | 5 +- src/Rules/ValidUlid.php | 5 +- src/Rules/ValidUrl.php | 5 +- src/Rules/ValidUsername.php | 5 +- src/Rules/ValidUuid.php | 5 +- src/lang/It/validate.php | 58 ++++++++++++------------ src/lang/ar/validate.php | 58 ++++++++++++------------ src/lang/en/validate.php | 58 ++++++++++++------------ src/lang/fa/validate.php | 58 ++++++++++++------------ src/lang/fr/validate.php | 58 ++++++++++++------------ src/lang/hi/validate.php | 58 ++++++++++++------------ src/lang/ja/validate.php | 58 ++++++++++++------------ src/lang/ko/validate.php | 58 ++++++++++++------------ src/lang/ru/validate.php | 58 ++++++++++++------------ src/lang/zh_CN/validate.php | 58 ++++++++++++------------ tests/BaseTest.php | 3 +- 41 files changed, 384 insertions(+), 353 deletions(-) diff --git a/src/Rules/ValidBase64.php b/src/Rules/ValidBase64.php index 460e53cd..b2bb6ec8 100644 --- a/src/Rules/ValidBase64.php +++ b/src/Rules/ValidBase64.php @@ -9,8 +9,9 @@ class ValidBase64 implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidBitcoinAddress.php b/src/Rules/ValidBitcoinAddress.php index 3c0ee29d..7f38ff48 100644 --- a/src/Rules/ValidBitcoinAddress.php +++ b/src/Rules/ValidBitcoinAddress.php @@ -9,8 +9,9 @@ class ValidBitcoinAddress implements Rule /** * Check bitcoin address. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCapitalCharWithNumber.php b/src/Rules/ValidCapitalCharWithNumber.php index dd1e26b3..f3cc7a9c 100644 --- a/src/Rules/ValidCapitalCharWithNumber.php +++ b/src/Rules/ValidCapitalCharWithNumber.php @@ -9,8 +9,9 @@ class ValidCapitalCharWithNumber implements Rule /** * Check all words are capital & with hyphen & number. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCarNumber.php b/src/Rules/ValidCarNumber.php index 6aed527f..e1d75c13 100644 --- a/src/Rules/ValidCarNumber.php +++ b/src/Rules/ValidCarNumber.php @@ -9,8 +9,9 @@ class ValidCarNumber implements Rule /** * Check car number is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCartNumberIran.php b/src/Rules/ValidCartNumberIran.php index 74fa388c..9bd6c746 100644 --- a/src/Rules/ValidCartNumberIran.php +++ b/src/Rules/ValidCartNumberIran.php @@ -9,8 +9,9 @@ class ValidCartNumberIran implements Rule /** * Check cart number is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDiscordUsername.php b/src/Rules/ValidDiscordUsername.php index d72cce7c..25087ab9 100644 --- a/src/Rules/ValidDiscordUsername.php +++ b/src/Rules/ValidDiscordUsername.php @@ -9,8 +9,9 @@ class ValidDiscordUsername implements Rule /** * Check discord username is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDuplicate.php b/src/Rules/ValidDuplicate.php index fa802ee0..9a1c0742 100644 --- a/src/Rules/ValidDuplicate.php +++ b/src/Rules/ValidDuplicate.php @@ -9,8 +9,9 @@ class ValidDuplicate implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDuplicateCharacter.php b/src/Rules/ValidDuplicateCharacter.php index 5e6a58c2..4dca9ddd 100644 --- a/src/Rules/ValidDuplicateCharacter.php +++ b/src/Rules/ValidDuplicateCharacter.php @@ -9,8 +9,9 @@ class ValidDuplicateCharacter implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidEvenNumber.php b/src/Rules/ValidEvenNumber.php index 18f3258f..82864195 100644 --- a/src/Rules/ValidEvenNumber.php +++ b/src/Rules/ValidEvenNumber.php @@ -9,8 +9,9 @@ class ValidEvenNumber implements Rule /** * Check number is even. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHashtag.php b/src/Rules/ValidHashtag.php index 48d3a642..9a2d0379 100644 --- a/src/Rules/ValidHashtag.php +++ b/src/Rules/ValidHashtag.php @@ -9,8 +9,9 @@ class ValidHashtag implements Rule /** * Check value contains hashtag. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHexColor.php b/src/Rules/ValidHexColor.php index 8a132a27..e8ffe89c 100644 --- a/src/Rules/ValidHexColor.php +++ b/src/Rules/ValidHexColor.php @@ -9,8 +9,9 @@ class ValidHexColor implements Rule /** * Check hex color is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHtmlTag.php b/src/Rules/ValidHtmlTag.php index 8d24933d..4dbbf403 100644 --- a/src/Rules/ValidHtmlTag.php +++ b/src/Rules/ValidHtmlTag.php @@ -9,8 +9,9 @@ class ValidHtmlTag implements Rule /** * Check html tag is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidImei.php b/src/Rules/ValidImei.php index 73207b3c..b808b3a4 100644 --- a/src/Rules/ValidImei.php +++ b/src/Rules/ValidImei.php @@ -9,15 +9,16 @@ class ValidImei implements Rule /** * Check jwt is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) { $imei = $value; - if (strlen($imei) != 15 || ! ctype_digit($imei)) { + if (strlen($imei) != 15 || !ctype_digit($imei)) { return false; } diff --git a/src/Rules/ValidIpAddressIPV4.php b/src/Rules/ValidIpAddressIPV4.php index da364c28..5597feb3 100644 --- a/src/Rules/ValidIpAddressIPV4.php +++ b/src/Rules/ValidIpAddressIPV4.php @@ -9,8 +9,9 @@ class ValidIpAddressIPV4 implements Rule /** * Check ip address (ipv4) is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidIpAddressIPV6.php b/src/Rules/ValidIpAddressIPV6.php index d9486ac6..3db78a32 100644 --- a/src/Rules/ValidIpAddressIPV6.php +++ b/src/Rules/ValidIpAddressIPV6.php @@ -9,8 +9,9 @@ class ValidIpAddressIPV6 implements Rule /** * Check ip address (ipv6) is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidJalaliDate.php b/src/Rules/ValidJalaliDate.php index 2fa79d45..ba1063b0 100644 --- a/src/Rules/ValidJalaliDate.php +++ b/src/Rules/ValidJalaliDate.php @@ -10,13 +10,14 @@ class ValidJalaliDate implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) { - if (! is_string($value)) { + if (!is_string($value)) { return false; } diff --git a/src/Rules/ValidJwt.php b/src/Rules/ValidJwt.php index a84ee7e4..e8a34a3f 100644 --- a/src/Rules/ValidJwt.php +++ b/src/Rules/ValidJwt.php @@ -9,8 +9,9 @@ class ValidJwt implements Rule /** * Check jwt is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidNameDaysWeek.php b/src/Rules/ValidNameDaysWeek.php index bf9d36c4..1bd2062f 100644 --- a/src/Rules/ValidNameDaysWeek.php +++ b/src/Rules/ValidNameDaysWeek.php @@ -9,8 +9,9 @@ class ValidNameDaysWeek implements Rule /** * Check day is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidNationalCard.php b/src/Rules/ValidNationalCard.php index dc1dafcc..8ce7ed86 100644 --- a/src/Rules/ValidNationalCard.php +++ b/src/Rules/ValidNationalCard.php @@ -9,8 +9,9 @@ class ValidNationalCard implements Rule /** * Check national card is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidOddNumber.php b/src/Rules/ValidOddNumber.php index fbac8603..edea3535 100644 --- a/src/Rules/ValidOddNumber.php +++ b/src/Rules/ValidOddNumber.php @@ -9,8 +9,9 @@ class ValidOddNumber implements Rule /** * Check number is odd. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPattern.php b/src/Rules/ValidPattern.php index 09362349..2feae322 100644 --- a/src/Rules/ValidPattern.php +++ b/src/Rules/ValidPattern.php @@ -15,8 +15,9 @@ public function __construct( /** * Check texts with specific pattern. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPhoneNumber.php b/src/Rules/ValidPhoneNumber.php index 6542aa7e..0ab489c8 100644 --- a/src/Rules/ValidPhoneNumber.php +++ b/src/Rules/ValidPhoneNumber.php @@ -9,8 +9,9 @@ class ValidPhoneNumber implements Rule /** * Check phone number is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPort.php b/src/Rules/ValidPort.php index a5279ec9..af9644b3 100644 --- a/src/Rules/ValidPort.php +++ b/src/Rules/ValidPort.php @@ -9,8 +9,9 @@ class ValidPort implements Rule /** * Check port is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidSlashEndOfString.php b/src/Rules/ValidSlashEndOfString.php index 1df0369e..2b211cd9 100644 --- a/src/Rules/ValidSlashEndOfString.php +++ b/src/Rules/ValidSlashEndOfString.php @@ -9,8 +9,9 @@ class ValidSlashEndOfString implements Rule /** * Check write slash at the end of string. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidSlug.php b/src/Rules/ValidSlug.php index 9645cf0b..4f0d15b3 100644 --- a/src/Rules/ValidSlug.php +++ b/src/Rules/ValidSlug.php @@ -9,8 +9,9 @@ class ValidSlug implements Rule /** * Check slug is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidStrongPassword.php b/src/Rules/ValidStrongPassword.php index 4fda294e..4a8633f0 100644 --- a/src/Rules/ValidStrongPassword.php +++ b/src/Rules/ValidStrongPassword.php @@ -9,8 +9,9 @@ class ValidStrongPassword implements Rule /** * Check password started by capital letters & contains lowercase letters & contains number. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUlid.php b/src/Rules/ValidUlid.php index 620d51d1..3ba8854d 100644 --- a/src/Rules/ValidUlid.php +++ b/src/Rules/ValidUlid.php @@ -9,8 +9,9 @@ class ValidUlid implements Rule /** * Check ulid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUrl.php b/src/Rules/ValidUrl.php index 9738b758..3cec2943 100644 --- a/src/Rules/ValidUrl.php +++ b/src/Rules/ValidUrl.php @@ -9,8 +9,9 @@ class ValidUrl implements Rule /** * Check url is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUsername.php b/src/Rules/ValidUsername.php index 9e1c8b40..cbd2befb 100644 --- a/src/Rules/ValidUsername.php +++ b/src/Rules/ValidUsername.php @@ -9,8 +9,9 @@ class ValidUsername implements Rule /** * It checks that the length of the username must be between 3 and 15 characters without spaces. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUuid.php b/src/Rules/ValidUuid.php index 2501d85c..3e5697f3 100644 --- a/src/Rules/ValidUuid.php +++ b/src/Rules/ValidUuid.php @@ -9,8 +9,9 @@ class ValidUuid implements Rule /** * Check uuid is valid. * - * @param string $attribute - * @param mixed $value + * @param string $attribute + * @param mixed $value + * * @return bool */ public function passes($attribute, $value) diff --git a/src/lang/It/validate.php b/src/lang/It/validate.php index 8ca5520e..6a504f82 100644 --- a/src/lang/It/validate.php +++ b/src/lang/It/validate.php @@ -1,34 +1,34 @@ ':attribute non è valido.', - 'bitcoin-address' => ':attribute non è valido.', + 'base64' => ':attribute non è valido.', + 'bitcoin-address' => ':attribute non è valido.', 'capital-char-with-number' => ':attribute non è valido.', - 'car-number' => ':attribute non è valido.', - 'cart-number-iran' => ':attribute non è valido.', - 'discord-username' => ':attribute non è valido.', - 'even-number' => ':attribute non è valido.', - 'hashtag' => ':attribute non è valido.', - 'hex-color' => ':attribute non è valido.', - 'html-tag' => ':attribute non è valido.', - 'imei' => ':attribute non è valido.', - 'ipv4' => ':attribute non è valido.', - 'ipv6' => ':attribute non è valido.', - 'jwt' => ':attribute non è valido.', - 'name-days-week' => ':attribute non è valido.', - 'national-card' => ':attribute non è valido.', - 'odd-number' => ':attribute non è valido.', - 'phone-number' => ':attribute non è valido.', - 'port' => ':attribute non è valido.', - 'slash-end-of-string' => ':attribute non è valido.', - 'slug' => ':attribute non è valido.', - 'strong-password' => ':attribute non è valido.', - 'url' => ':attribute non è valido.', - 'username' => ':attribute non è valido.', - 'uuid' => ':attribute non è valido.', - 'jalali_date' => ':attribute non è valido.', - 'duplicate_character' => ':attribute non è valido.', - 'pattern' => ':attribute non è valido.', - 'duplicate' => ':attribute non è valido.', - 'ulid' => ':attribute non è valido.', + 'car-number' => ':attribute non è valido.', + 'cart-number-iran' => ':attribute non è valido.', + 'discord-username' => ':attribute non è valido.', + 'even-number' => ':attribute non è valido.', + 'hashtag' => ':attribute non è valido.', + 'hex-color' => ':attribute non è valido.', + 'html-tag' => ':attribute non è valido.', + 'imei' => ':attribute non è valido.', + 'ipv4' => ':attribute non è valido.', + 'ipv6' => ':attribute non è valido.', + 'jwt' => ':attribute non è valido.', + 'name-days-week' => ':attribute non è valido.', + 'national-card' => ':attribute non è valido.', + 'odd-number' => ':attribute non è valido.', + 'phone-number' => ':attribute non è valido.', + 'port' => ':attribute non è valido.', + 'slash-end-of-string' => ':attribute non è valido.', + 'slug' => ':attribute non è valido.', + 'strong-password' => ':attribute non è valido.', + 'url' => ':attribute non è valido.', + 'username' => ':attribute non è valido.', + 'uuid' => ':attribute non è valido.', + 'jalali_date' => ':attribute non è valido.', + 'duplicate_character' => ':attribute non è valido.', + 'pattern' => ':attribute non è valido.', + 'duplicate' => ':attribute non è valido.', + 'ulid' => ':attribute non è valido.', ]; diff --git a/src/lang/ar/validate.php b/src/lang/ar/validate.php index 0dbed312..093f189b 100644 --- a/src/lang/ar/validate.php +++ b/src/lang/ar/validate.php @@ -1,34 +1,34 @@ ':attribute غير صالح.', - 'bitcoin-address' => ':attribute غير صالح.', + 'base64' => ':attribute غير صالح.', + 'bitcoin-address' => ':attribute غير صالح.', 'capital-char-with-number' => ':attribute غير صالح.', - 'car-number' => ':attribute غير صالح.', - 'cart-number-iran' => ':attribute غير صالح.', - 'discord-username' => ':attribute غير صالح.', - 'even-number' => ':attribute غير صالح.', - 'hashtag' => ':attribute غير صالح.', - 'hex-color' => ':attribute غير صالح.', - 'html-tag' => ':attribute غير صالح.', - 'imei' => ':attribute غير صالح.', - 'ipv4' => ':attribute غير صالح.', - 'ipv6' => ':attribute غير صالح.', - 'jwt' => ':attribute غير صالح.', - 'name-days-week' => ':attribute غير صالح.', - 'national-card' => ':attribute غير صالح.', - 'odd-number' => ':attribute غير صالح.', - 'phone-number' => ':attribute غير صالح.', - 'port' => ':attribute غير صالح.', - 'slash-end-of-string' => ':attribute غير صالح.', - 'slug' => ':attribute غير صالح.', - 'strong-password' => ':attribute غير صالح.', - 'url' => ':attribute غير صالح.', - 'username' => ':attribute غير صالح.', - 'uuid' => ':attribute غير صالح.', - 'jalali_date' => ':attribute غير صالح.', - 'duplicate_character' => ':attribute غير صالح.', - 'pattern' => ':attribute غير صالح.', - 'duplicate' => ':attribute غير صالح.', - 'ulid' => ':attribute غير صالح.', + 'car-number' => ':attribute غير صالح.', + 'cart-number-iran' => ':attribute غير صالح.', + 'discord-username' => ':attribute غير صالح.', + 'even-number' => ':attribute غير صالح.', + 'hashtag' => ':attribute غير صالح.', + 'hex-color' => ':attribute غير صالح.', + 'html-tag' => ':attribute غير صالح.', + 'imei' => ':attribute غير صالح.', + 'ipv4' => ':attribute غير صالح.', + 'ipv6' => ':attribute غير صالح.', + 'jwt' => ':attribute غير صالح.', + 'name-days-week' => ':attribute غير صالح.', + 'national-card' => ':attribute غير صالح.', + 'odd-number' => ':attribute غير صالح.', + 'phone-number' => ':attribute غير صالح.', + 'port' => ':attribute غير صالح.', + 'slash-end-of-string' => ':attribute غير صالح.', + 'slug' => ':attribute غير صالح.', + 'strong-password' => ':attribute غير صالح.', + 'url' => ':attribute غير صالح.', + 'username' => ':attribute غير صالح.', + 'uuid' => ':attribute غير صالح.', + 'jalali_date' => ':attribute غير صالح.', + 'duplicate_character' => ':attribute غير صالح.', + 'pattern' => ':attribute غير صالح.', + 'duplicate' => ':attribute غير صالح.', + 'ulid' => ':attribute غير صالح.', ]; diff --git a/src/lang/en/validate.php b/src/lang/en/validate.php index 1fa0d3fa..cf875e8b 100644 --- a/src/lang/en/validate.php +++ b/src/lang/en/validate.php @@ -1,34 +1,34 @@ 'The :attribute is not valid.', - 'bitcoin-address' => 'The :attribute is not valid.', + 'base64' => 'The :attribute is not valid.', + 'bitcoin-address' => 'The :attribute is not valid.', 'capital-char-with-number' => 'The :attribute is not valid.', - 'car-number' => 'The :attribute is not valid.', - 'cart-number-iran' => 'The :attribute is not valid.', - 'discord-username' => 'The :attribute is not valid.', - 'even-number' => 'The :attribute is not valid.', - 'hashtag' => 'The :attribute is not valid.', - 'hex-color' => 'The :attribute is not valid.', - 'html-tag' => 'The :attribute is not valid.', - 'imei' => 'The :attribute is not valid.', - 'ipv4' => 'The :attribute is not valid.', - 'ipv6' => 'The :attribute is not valid.', - 'jwt' => 'The :attribute is not valid.', - 'name-days-week' => 'The :attribute is not valid.', - 'national-card' => 'The :attribute is not valid.', - 'odd-number' => 'The :attribute is not valid.', - 'phone-number' => 'The :attribute is not valid.', - 'port' => 'The :attribute is not valid.', - 'slash-end-of-string' => 'The :attribute is not valid.', - 'slug' => 'The :attribute is not valid.', - 'strong-password' => 'The :attribute is not valid.', - 'url' => 'The :attribute is not valid.', - 'username' => 'The :attribute is not valid.', - 'uuid' => 'The :attribute is not valid.', - 'jalali_date' => 'The :attribute is not valid.', - 'duplicate_character' => 'The :attribute is not valid.', - 'pattern' => 'The :attribute is not valid.', - 'duplicate' => 'The :attribute is not valid.', - 'ulid' => 'The :attribute is not valid.', + 'car-number' => 'The :attribute is not valid.', + 'cart-number-iran' => 'The :attribute is not valid.', + 'discord-username' => 'The :attribute is not valid.', + 'even-number' => 'The :attribute is not valid.', + 'hashtag' => 'The :attribute is not valid.', + 'hex-color' => 'The :attribute is not valid.', + 'html-tag' => 'The :attribute is not valid.', + 'imei' => 'The :attribute is not valid.', + 'ipv4' => 'The :attribute is not valid.', + 'ipv6' => 'The :attribute is not valid.', + 'jwt' => 'The :attribute is not valid.', + 'name-days-week' => 'The :attribute is not valid.', + 'national-card' => 'The :attribute is not valid.', + 'odd-number' => 'The :attribute is not valid.', + 'phone-number' => 'The :attribute is not valid.', + 'port' => 'The :attribute is not valid.', + 'slash-end-of-string' => 'The :attribute is not valid.', + 'slug' => 'The :attribute is not valid.', + 'strong-password' => 'The :attribute is not valid.', + 'url' => 'The :attribute is not valid.', + 'username' => 'The :attribute is not valid.', + 'uuid' => 'The :attribute is not valid.', + 'jalali_date' => 'The :attribute is not valid.', + 'duplicate_character' => 'The :attribute is not valid.', + 'pattern' => 'The :attribute is not valid.', + 'duplicate' => 'The :attribute is not valid.', + 'ulid' => 'The :attribute is not valid.', ]; diff --git a/src/lang/fa/validate.php b/src/lang/fa/validate.php index 533d0f97..fb5b7946 100644 --- a/src/lang/fa/validate.php +++ b/src/lang/fa/validate.php @@ -1,34 +1,34 @@ 'مقدار :attribute صحیح نمی باشد.', - 'bitcoin-address' => 'مقدار :attribute صحیح نمی باشد.', + 'base64' => 'مقدار :attribute صحیح نمی باشد.', + 'bitcoin-address' => 'مقدار :attribute صحیح نمی باشد.', 'capital-char-with-number' => 'مقدار :attribute صحیح نمی باشد.', - 'car-number' => 'مقدار :attribute صحیح نمی باشد.', - 'cart-number-iran' => 'مقدار :attribute صحیح نمی باشد.', - 'discord-username' => 'مقدار :attribute صحیح نمی باشد.', - 'even-number' => 'مقدار :attribute صحیح نمی باشد.', - 'hashtag' => 'مقدار :attribute صحیح نمی باشد.', - 'hex-color' => 'مقدار :attribute صحیح نمی باشد.', - 'html-tag' => 'مقدار :attribute صحیح نمی باشد.', - 'imei' => 'مقدار :attribute صحیح نمی باشد.', - 'ipv4' => 'مقدار :attribute صحیح نمی باشد.', - 'ipv6' => 'مقدار :attribute صحیح نمی باشد.', - 'jwt' => 'مقدار :attribute صحیح نمی باشد.', - 'name-days-week' => 'مقدار :attribute صحیح نمی باشد.', - 'national-card' => 'مقدار :attribute صحیح نمی باشد.', - 'odd-number' => 'مقدار :attribute صحیح نمی باشد.', - 'phone-number' => 'مقدار :attribute صحیح نمی باشد.', - 'port' => 'مقدار :attribute صحیح نمی باشد.', - 'slash-end-of-string' => 'مقدار :attribute صحیح نمی باشد.', - 'slug' => 'مقدار :attribute صحیح نمی باشد.', - 'strong-password' => 'مقدار :attribute صحیح نمی باشد.', - 'url' => 'مقدار :attribute صحیح نمی باشد.', - 'username' => 'مقدار :attribute صحیح نمی باشد.', - 'uuid' => 'مقدار :attribute صحیح نمی باشد.', - 'jalali_date' => 'مقدار :attribute صحیح نمی باشد.', - 'duplicate_character' => 'مقدار :attribute صحیح نمی باشد.', - 'pattern' => 'مقدار :attribute صحیح نمی باشد.', - 'duplicate' => 'مقدار :attribute صحیح نمی باشد.', - 'ulid' => 'مقدار :attribute صحیح نمی باشد.', + 'car-number' => 'مقدار :attribute صحیح نمی باشد.', + 'cart-number-iran' => 'مقدار :attribute صحیح نمی باشد.', + 'discord-username' => 'مقدار :attribute صحیح نمی باشد.', + 'even-number' => 'مقدار :attribute صحیح نمی باشد.', + 'hashtag' => 'مقدار :attribute صحیح نمی باشد.', + 'hex-color' => 'مقدار :attribute صحیح نمی باشد.', + 'html-tag' => 'مقدار :attribute صحیح نمی باشد.', + 'imei' => 'مقدار :attribute صحیح نمی باشد.', + 'ipv4' => 'مقدار :attribute صحیح نمی باشد.', + 'ipv6' => 'مقدار :attribute صحیح نمی باشد.', + 'jwt' => 'مقدار :attribute صحیح نمی باشد.', + 'name-days-week' => 'مقدار :attribute صحیح نمی باشد.', + 'national-card' => 'مقدار :attribute صحیح نمی باشد.', + 'odd-number' => 'مقدار :attribute صحیح نمی باشد.', + 'phone-number' => 'مقدار :attribute صحیح نمی باشد.', + 'port' => 'مقدار :attribute صحیح نمی باشد.', + 'slash-end-of-string' => 'مقدار :attribute صحیح نمی باشد.', + 'slug' => 'مقدار :attribute صحیح نمی باشد.', + 'strong-password' => 'مقدار :attribute صحیح نمی باشد.', + 'url' => 'مقدار :attribute صحیح نمی باشد.', + 'username' => 'مقدار :attribute صحیح نمی باشد.', + 'uuid' => 'مقدار :attribute صحیح نمی باشد.', + 'jalali_date' => 'مقدار :attribute صحیح نمی باشد.', + 'duplicate_character' => 'مقدار :attribute صحیح نمی باشد.', + 'pattern' => 'مقدار :attribute صحیح نمی باشد.', + 'duplicate' => 'مقدار :attribute صحیح نمی باشد.', + 'ulid' => 'مقدار :attribute صحیح نمی باشد.', ]; diff --git a/src/lang/fr/validate.php b/src/lang/fr/validate.php index 778969ea..35030479 100644 --- a/src/lang/fr/validate.php +++ b/src/lang/fr/validate.php @@ -1,34 +1,34 @@ ":attribute n'est pas valide.", - 'bitcoin-address' => ":attribute n'est pas valide.", + 'base64' => ":attribute n'est pas valide.", + 'bitcoin-address' => ":attribute n'est pas valide.", 'capital-char-with-number' => ":attribute n'est pas valide.", - 'car-number' => ":attribute n'est pas valide.", - 'cart-number-iran' => ":attribute n'est pas valide.", - 'discord-username' => ":attribute n'est pas valide.", - 'even-number' => ":attribute n'est pas valide.", - 'hashtag' => ":attribute n'est pas valide.", - 'hex-color' => ":attribute n'est pas valide.", - 'html-tag' => ":attribute n'est pas valide.", - 'imei' => ":attribute n'est pas valide.", - 'ipv4' => ":attribute n'est pas valide.", - 'ipv6' => ":attribute n'est pas valide.", - 'jwt' => ":attribute n'est pas valide.", - 'name-days-week' => ":attribute n'est pas valide.", - 'national-card' => ":attribute n'est pas valide.", - 'odd-number' => ":attribute n'est pas valide.", - 'phone-number' => ":attribute n'est pas valide.", - 'port' => ":attribute n'est pas valide.", - 'slash-end-of-string' => ":attribute n'est pas valide.", - 'slug' => ":attribute n'est pas valide.", - 'strong-password' => ":attribute n'est pas valide.", - 'url' => ":attribute n'est pas valide.", - 'username' => ":attribute n'est pas valide.", - 'uuid' => ":attribute n'est pas valide.", - 'jalali_date' => ":attribute n'est pas valide.", - 'duplicate_character' => ":attribute n'est pas valide.", - 'pattern' => ":attribute n'est pas valide.", - 'duplicate' => ":attribute n'est pas valide.", - 'ulid' => ":attribute n'est pas valide.", + 'car-number' => ":attribute n'est pas valide.", + 'cart-number-iran' => ":attribute n'est pas valide.", + 'discord-username' => ":attribute n'est pas valide.", + 'even-number' => ":attribute n'est pas valide.", + 'hashtag' => ":attribute n'est pas valide.", + 'hex-color' => ":attribute n'est pas valide.", + 'html-tag' => ":attribute n'est pas valide.", + 'imei' => ":attribute n'est pas valide.", + 'ipv4' => ":attribute n'est pas valide.", + 'ipv6' => ":attribute n'est pas valide.", + 'jwt' => ":attribute n'est pas valide.", + 'name-days-week' => ":attribute n'est pas valide.", + 'national-card' => ":attribute n'est pas valide.", + 'odd-number' => ":attribute n'est pas valide.", + 'phone-number' => ":attribute n'est pas valide.", + 'port' => ":attribute n'est pas valide.", + 'slash-end-of-string' => ":attribute n'est pas valide.", + 'slug' => ":attribute n'est pas valide.", + 'strong-password' => ":attribute n'est pas valide.", + 'url' => ":attribute n'est pas valide.", + 'username' => ":attribute n'est pas valide.", + 'uuid' => ":attribute n'est pas valide.", + 'jalali_date' => ":attribute n'est pas valide.", + 'duplicate_character' => ":attribute n'est pas valide.", + 'pattern' => ":attribute n'est pas valide.", + 'duplicate' => ":attribute n'est pas valide.", + 'ulid' => ":attribute n'est pas valide.", ]; diff --git a/src/lang/hi/validate.php b/src/lang/hi/validate.php index 12736715..1e6c0213 100644 --- a/src/lang/hi/validate.php +++ b/src/lang/hi/validate.php @@ -1,34 +1,34 @@ ':attributeमान्य नहीं है।.', - 'bitcoin-address' => ':attributeमान्य नहीं है।.', + 'base64' => ':attributeमान्य नहीं है।.', + 'bitcoin-address' => ':attributeमान्य नहीं है।.', 'capital-char-with-number' => ':attributeमान्य नहीं है।.', - 'car-number' => ':attributeमान्य नहीं है।.', - 'cart-number-iran' => ':attributeमान्य नहीं है।.', - 'discord-username' => ':attributeमान्य नहीं है।.', - 'even-number' => ':attributeमान्य नहीं है।.', - 'hashtag' => ':attributeमान्य नहीं है।.', - 'hex-color' => ':attributeमान्य नहीं है।.', - 'html-tag' => ':attributeमान्य नहीं है।.', - 'imei' => ':attributeमान्य नहीं है।.', - 'ipv4' => ':attributeमान्य नहीं है।.', - 'ipv6' => ':attributeमान्य नहीं है।.', - 'jwt' => ':attributeमान्य नहीं है।.', - 'name-days-week' => ':attributeमान्य नहीं है।.', - 'national-card' => ':attributeमान्य नहीं है।.', - 'odd-number' => ':attributeमान्य नहीं है।.', - 'phone-number' => ':attributeमान्य नहीं है।.', - 'port' => ':attributeमान्य नहीं है।.', - 'slash-end-of-string' => ':attributeमान्य नहीं है।.', - 'slug' => ':attributeमान्य नहीं है।.', - 'strong-password' => ':attributeमान्य नहीं है।.', - 'url' => ':attributeमान्य नहीं है।.', - 'username' => ':attributeमान्य नहीं है।.', - 'uuid' => ':attributeमान्य नहीं है।.', - 'jalali_date' => ':attributeमान्य नहीं है।.', - 'duplicate_character' => ':attributeमान्य नहीं है।.', - 'pattern' => ':attributeमान्य नहीं है।.', - 'duplicate' => ':attributeमान्य नहीं है।.', - 'ulid' => ':attributeमान्य नहीं है।.', + 'car-number' => ':attributeमान्य नहीं है।.', + 'cart-number-iran' => ':attributeमान्य नहीं है।.', + 'discord-username' => ':attributeमान्य नहीं है।.', + 'even-number' => ':attributeमान्य नहीं है।.', + 'hashtag' => ':attributeमान्य नहीं है।.', + 'hex-color' => ':attributeमान्य नहीं है।.', + 'html-tag' => ':attributeमान्य नहीं है।.', + 'imei' => ':attributeमान्य नहीं है।.', + 'ipv4' => ':attributeमान्य नहीं है।.', + 'ipv6' => ':attributeमान्य नहीं है।.', + 'jwt' => ':attributeमान्य नहीं है।.', + 'name-days-week' => ':attributeमान्य नहीं है।.', + 'national-card' => ':attributeमान्य नहीं है।.', + 'odd-number' => ':attributeमान्य नहीं है।.', + 'phone-number' => ':attributeमान्य नहीं है।.', + 'port' => ':attributeमान्य नहीं है।.', + 'slash-end-of-string' => ':attributeमान्य नहीं है।.', + 'slug' => ':attributeमान्य नहीं है।.', + 'strong-password' => ':attributeमान्य नहीं है।.', + 'url' => ':attributeमान्य नहीं है।.', + 'username' => ':attributeमान्य नहीं है।.', + 'uuid' => ':attributeमान्य नहीं है।.', + 'jalali_date' => ':attributeमान्य नहीं है।.', + 'duplicate_character' => ':attributeमान्य नहीं है।.', + 'pattern' => ':attributeमान्य नहीं है।.', + 'duplicate' => ':attributeमान्य नहीं है।.', + 'ulid' => ':attributeमान्य नहीं है।.', ]; diff --git a/src/lang/ja/validate.php b/src/lang/ja/validate.php index ff95c7e2..fdf49f57 100644 --- a/src/lang/ja/validate.php +++ b/src/lang/ja/validate.php @@ -1,34 +1,34 @@ ':attribute有効じゃない。', - 'bitcoin-address' => ':attribute有効じゃない。', + 'base64' => ':attribute有効じゃない。', + 'bitcoin-address' => ':attribute有効じゃない。', 'capital-char-with-number' => ':attribute有効じゃない。', - 'car-number' => ':attribute有効じゃない。', - 'cart-number-iran' => ':attribute有効じゃない。', - 'discord-username' => ':attribute有効じゃない。', - 'even-number' => ':attribute有効じゃない。', - 'hashtag' => ':attribute有効じゃない。', - 'hex-color' => ':attribute有効じゃない。', - 'html-tag' => ':attribute有効じゃない。', - 'imei' => ':attribute有効じゃない。', - 'ipv4' => ':attribute有効じゃない。', - 'ipv6' => ':attribute有効じゃない。', - 'jwt' => ':attribute有効じゃない。', - 'name-days-week' => ':attribute有効じゃない。', - 'national-card' => ':attribute有効じゃない。', - 'odd-number' => ':attribute有効じゃない。', - 'phone-number' => ':attribute有効じゃない。', - 'port' => ':attribute有効じゃない。', - 'slash-end-of-string' => ':attribute有効じゃない。', - 'slug' => ':attribute有効じゃない。', - 'strong-password' => ':attribute有効じゃない。', - 'url' => ':attribute有効じゃない。', - 'username' => ':attribute有効じゃない。', - 'uuid' => ':attribute有効じゃない。', - 'jalali_date' => ':attribute有効じゃない。', - 'duplicate_character' => ':attribute有効じゃない。', - 'pattern' => ':attribute有効じゃない。', - 'duplicate' => ':attribute有効じゃない。', - 'ulid' => ':attribute有効じゃない。', + 'car-number' => ':attribute有効じゃない。', + 'cart-number-iran' => ':attribute有効じゃない。', + 'discord-username' => ':attribute有効じゃない。', + 'even-number' => ':attribute有効じゃない。', + 'hashtag' => ':attribute有効じゃない。', + 'hex-color' => ':attribute有効じゃない。', + 'html-tag' => ':attribute有効じゃない。', + 'imei' => ':attribute有効じゃない。', + 'ipv4' => ':attribute有効じゃない。', + 'ipv6' => ':attribute有効じゃない。', + 'jwt' => ':attribute有効じゃない。', + 'name-days-week' => ':attribute有効じゃない。', + 'national-card' => ':attribute有効じゃない。', + 'odd-number' => ':attribute有効じゃない。', + 'phone-number' => ':attribute有効じゃない。', + 'port' => ':attribute有効じゃない。', + 'slash-end-of-string' => ':attribute有効じゃない。', + 'slug' => ':attribute有効じゃない。', + 'strong-password' => ':attribute有効じゃない。', + 'url' => ':attribute有効じゃない。', + 'username' => ':attribute有効じゃない。', + 'uuid' => ':attribute有効じゃない。', + 'jalali_date' => ':attribute有効じゃない。', + 'duplicate_character' => ':attribute有効じゃない。', + 'pattern' => ':attribute有効じゃない。', + 'duplicate' => ':attribute有効じゃない。', + 'ulid' => ':attribute有効じゃない。', ]; diff --git a/src/lang/ko/validate.php b/src/lang/ko/validate.php index c7202c93..a37209c6 100644 --- a/src/lang/ko/validate.php +++ b/src/lang/ko/validate.php @@ -1,34 +1,34 @@ ':attribute유효하지 않습니다.', - 'bitcoin-address' => ':attribute유효하지 않습니다.', + 'base64' => ':attribute유효하지 않습니다.', + 'bitcoin-address' => ':attribute유효하지 않습니다.', 'capital-char-with-number' => ':attribute유효하지 않습니다.', - 'car-number' => ':attribute유효하지 않습니다.', - 'cart-number-iran' => ':attribute유효하지 않습니다.', - 'discord-username' => ':attribute유효하지 않습니다.', - 'even-number' => ':attribute유효하지 않습니다.', - 'hashtag' => ':attribute유효하지 않습니다.', - 'hex-color' => ':attribute유효하지 않습니다.', - 'html-tag' => ':attribute유효하지 않습니다.', - 'imei' => ':attribute유효하지 않습니다.', - 'ipv4' => ':attribute유효하지 않습니다.', - 'ipv6' => ':attribute유효하지 않습니다.', - 'jwt' => ':attribute유효하지 않습니다.', - 'name-days-week' => ':attribute유효하지 않습니다.', - 'national-card' => ':attribute유효하지 않습니다.', - 'odd-number' => ':attribute유효하지 않습니다.', - 'phone-number' => ':attribute유효하지 않습니다.', - 'port' => ':attribute유효하지 않습니다.', - 'slash-end-of-string' => ':attribute유효하지 않습니다.', - 'slug' => ':attribute유효하지 않습니다.', - 'strong-password' => ':attribute유효하지 않습니다.', - 'url' => ':attribute유효하지 않습니다.', - 'username' => ':attribute유효하지 않습니다.', - 'uuid' => ':attribute유효하지 않습니다.', - 'jalali_date' => ':attribute유효하지 않습니다.', - 'duplicate_character' => ':attribute유효하지 않습니다.', - 'pattern' => ':attribute유효하지 않습니다.', - 'duplicate' => ':attribute유효하지 않습니다.', - 'ulid' => ':attribute유효하지 않습니다.', + 'car-number' => ':attribute유효하지 않습니다.', + 'cart-number-iran' => ':attribute유효하지 않습니다.', + 'discord-username' => ':attribute유효하지 않습니다.', + 'even-number' => ':attribute유효하지 않습니다.', + 'hashtag' => ':attribute유효하지 않습니다.', + 'hex-color' => ':attribute유효하지 않습니다.', + 'html-tag' => ':attribute유효하지 않습니다.', + 'imei' => ':attribute유효하지 않습니다.', + 'ipv4' => ':attribute유효하지 않습니다.', + 'ipv6' => ':attribute유효하지 않습니다.', + 'jwt' => ':attribute유효하지 않습니다.', + 'name-days-week' => ':attribute유효하지 않습니다.', + 'national-card' => ':attribute유효하지 않습니다.', + 'odd-number' => ':attribute유효하지 않습니다.', + 'phone-number' => ':attribute유효하지 않습니다.', + 'port' => ':attribute유효하지 않습니다.', + 'slash-end-of-string' => ':attribute유효하지 않습니다.', + 'slug' => ':attribute유효하지 않습니다.', + 'strong-password' => ':attribute유효하지 않습니다.', + 'url' => ':attribute유효하지 않습니다.', + 'username' => ':attribute유효하지 않습니다.', + 'uuid' => ':attribute유효하지 않습니다.', + 'jalali_date' => ':attribute유효하지 않습니다.', + 'duplicate_character' => ':attribute유효하지 않습니다.', + 'pattern' => ':attribute유효하지 않습니다.', + 'duplicate' => ':attribute유효하지 않습니다.', + 'ulid' => ':attribute유효하지 않습니다.', ]; diff --git a/src/lang/ru/validate.php b/src/lang/ru/validate.php index ce7ce6ed..c26526ff 100644 --- a/src/lang/ru/validate.php +++ b/src/lang/ru/validate.php @@ -1,34 +1,34 @@ ':attribute не действует.', - 'bitcoin-address' => ':attribute не действует.', + 'base64' => ':attribute не действует.', + 'bitcoin-address' => ':attribute не действует.', 'capital-char-with-number' => ':attribute не действует.', - 'car-number' => ':attribute не действует.', - 'cart-number-iran' => ':attribute не действует.', - 'discord-username' => ':attribute не действует.', - 'even-number' => ':attribute не действует.', - 'hashtag' => ':attribute не действует.', - 'hex-color' => ':attribute не действует.', - 'html-tag' => ':attribute не действует.', - 'imei' => ':attribute не действует.', - 'ipv4' => ':attribute не действует.', - 'ipv6' => ':attribute не действует.', - 'jwt' => ':attribute не действует.', - 'name-days-week' => ':attribute не действует.', - 'national-card' => ':attribute не действует.', - 'odd-number' => ':attribute не действует.', - 'phone-number' => ':attribute не действует.', - 'port' => ':attribute не действует.', - 'slash-end-of-string' => ':attribute не действует.', - 'slug' => ':attribute не действует.', - 'strong-password' => ':attribute не действует.', - 'url' => ':attribute не действует.', - 'username' => ':attribute не действует.', - 'uuid' => ':attribute не действует.', - 'jalali_date' => ':attribute не действует.', - 'duplicate_character' => ':attribute не действует.', - 'pattern' => ':attribute не действует.', - 'duplicate' => ':attribute не действует.', - 'ulid' => ':attribute не действует.', + 'car-number' => ':attribute не действует.', + 'cart-number-iran' => ':attribute не действует.', + 'discord-username' => ':attribute не действует.', + 'even-number' => ':attribute не действует.', + 'hashtag' => ':attribute не действует.', + 'hex-color' => ':attribute не действует.', + 'html-tag' => ':attribute не действует.', + 'imei' => ':attribute не действует.', + 'ipv4' => ':attribute не действует.', + 'ipv6' => ':attribute не действует.', + 'jwt' => ':attribute не действует.', + 'name-days-week' => ':attribute не действует.', + 'national-card' => ':attribute не действует.', + 'odd-number' => ':attribute не действует.', + 'phone-number' => ':attribute не действует.', + 'port' => ':attribute не действует.', + 'slash-end-of-string' => ':attribute не действует.', + 'slug' => ':attribute не действует.', + 'strong-password' => ':attribute не действует.', + 'url' => ':attribute не действует.', + 'username' => ':attribute не действует.', + 'uuid' => ':attribute не действует.', + 'jalali_date' => ':attribute не действует.', + 'duplicate_character' => ':attribute не действует.', + 'pattern' => ':attribute не действует.', + 'duplicate' => ':attribute не действует.', + 'ulid' => ':attribute не действует.', ]; diff --git a/src/lang/zh_CN/validate.php b/src/lang/zh_CN/validate.php index 1b1809c5..562f872f 100644 --- a/src/lang/zh_CN/validate.php +++ b/src/lang/zh_CN/validate.php @@ -1,34 +1,34 @@ ':attribute无效.', - 'bitcoin-address' => ':attribute无效.', + 'base64' => ':attribute无效.', + 'bitcoin-address' => ':attribute无效.', 'capital-char-with-number' => ':attribute无效.', - 'car-number' => ':attribute无效.', - 'cart-number-iran' => ':attribute无效.', - 'discord-username' => ':attribute无效.', - 'even-number' => ':attribute无效.', - 'hashtag' => ':attribute无效.', - 'hex-color' => ':attribute无效.', - 'html-tag' => ':attribute无效.', - 'imei' => ':attribute无效.', - 'ipv4' => ':attribute无效.', - 'ipv6' => ':attribute无效.', - 'jwt' => ':attribute无效.', - 'name-days-week' => ':attribute无效.', - 'national-card' => ':attribute无效.', - 'odd-number' => ':attribute无效.', - 'phone-number' => ':attribute无效.', - 'port' => ':attribute无效.', - 'slash-end-of-string' => ':attribute无效.', - 'slug' => ':attribute无效.', - 'strong-password' => ':attribute无效.', - 'url' => ':attribute无效.', - 'username' => ':attribute无效.', - 'uuid' => ':attribute无效.', - 'jalali_date' => ':attribute无效.', - 'duplicate_character' => ':attribute无效.', - 'pattern' => ':attribute无效.', - 'duplicate' => ':attribute无效.', - 'ulid' => ':attribute无效.', + 'car-number' => ':attribute无效.', + 'cart-number-iran' => ':attribute无效.', + 'discord-username' => ':attribute无效.', + 'even-number' => ':attribute无效.', + 'hashtag' => ':attribute无效.', + 'hex-color' => ':attribute无效.', + 'html-tag' => ':attribute无效.', + 'imei' => ':attribute无效.', + 'ipv4' => ':attribute无效.', + 'ipv6' => ':attribute无效.', + 'jwt' => ':attribute无效.', + 'name-days-week' => ':attribute无效.', + 'national-card' => ':attribute无效.', + 'odd-number' => ':attribute无效.', + 'phone-number' => ':attribute无效.', + 'port' => ':attribute无效.', + 'slash-end-of-string' => ':attribute无效.', + 'slug' => ':attribute无效.', + 'strong-password' => ':attribute无效.', + 'url' => ':attribute无效.', + 'username' => ':attribute无效.', + 'uuid' => ':attribute无效.', + 'jalali_date' => ':attribute无效.', + 'duplicate_character' => ':attribute无效.', + 'pattern' => ':attribute无效.', + 'duplicate' => ':attribute无效.', + 'ulid' => ':attribute无效.', ]; diff --git a/tests/BaseTest.php b/tests/BaseTest.php index 75e952e9..f97d1d6d 100644 --- a/tests/BaseTest.php +++ b/tests/BaseTest.php @@ -9,7 +9,8 @@ class BaseTest extends \Orchestra\Testbench\TestCase /** * Get package providers. * - * @param \Illuminate\Foundation\Application $app + * @param \Illuminate\Foundation\Application $app + * * @return array */ protected function getPackageProviders($app) From 8629b94e7102a465ea9dd72e0b7e56b297209b73 Mon Sep 17 00:00:00 2001 From: milwad-dev Date: Fri, 10 Mar 2023 13:05:26 +0000 Subject: [PATCH 8/8] Fix styling --- src/Rules/ValidBase64.php | 5 +- src/Rules/ValidBitcoinAddress.php | 5 +- src/Rules/ValidCapitalCharWithNumber.php | 5 +- src/Rules/ValidCarNumber.php | 5 +- src/Rules/ValidCartNumberIran.php | 5 +- src/Rules/ValidDiscordUsername.php | 5 +- src/Rules/ValidDuplicate.php | 5 +- src/Rules/ValidDuplicateCharacter.php | 5 +- src/Rules/ValidEvenNumber.php | 5 +- src/Rules/ValidHashtag.php | 5 +- src/Rules/ValidHexColor.php | 5 +- src/Rules/ValidHtmlTag.php | 5 +- src/Rules/ValidImei.php | 7 ++- src/Rules/ValidIpAddressIPV4.php | 5 +- src/Rules/ValidIpAddressIPV6.php | 5 +- src/Rules/ValidJalaliDate.php | 7 ++- src/Rules/ValidJwt.php | 5 +- src/Rules/ValidNameDaysWeek.php | 5 +- src/Rules/ValidNationalCard.php | 5 +- src/Rules/ValidOddNumber.php | 5 +- src/Rules/ValidPattern.php | 5 +- src/Rules/ValidPhoneNumber.php | 5 +- src/Rules/ValidPort.php | 5 +- src/Rules/ValidSlashEndOfString.php | 5 +- src/Rules/ValidSlug.php | 5 +- src/Rules/ValidStrongPassword.php | 5 +- src/Rules/ValidUlid.php | 5 +- src/Rules/ValidUrl.php | 5 +- src/Rules/ValidUsername.php | 5 +- src/Rules/ValidUuid.php | 5 +- src/lang/It/validate.php | 58 ++++++++++++------------ src/lang/ar/validate.php | 58 ++++++++++++------------ src/lang/en/validate.php | 58 ++++++++++++------------ src/lang/fa/validate.php | 58 ++++++++++++------------ src/lang/fr/validate.php | 58 ++++++++++++------------ src/lang/hi/validate.php | 58 ++++++++++++------------ src/lang/ja/validate.php | 58 ++++++++++++------------ src/lang/ko/validate.php | 58 ++++++++++++------------ src/lang/ru/validate.php | 58 ++++++++++++------------ src/lang/zh_CN/validate.php | 58 ++++++++++++------------ tests/BaseTest.php | 3 +- 41 files changed, 353 insertions(+), 384 deletions(-) diff --git a/src/Rules/ValidBase64.php b/src/Rules/ValidBase64.php index b2bb6ec8..460e53cd 100644 --- a/src/Rules/ValidBase64.php +++ b/src/Rules/ValidBase64.php @@ -9,9 +9,8 @@ class ValidBase64 implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidBitcoinAddress.php b/src/Rules/ValidBitcoinAddress.php index 7f38ff48..3c0ee29d 100644 --- a/src/Rules/ValidBitcoinAddress.php +++ b/src/Rules/ValidBitcoinAddress.php @@ -9,9 +9,8 @@ class ValidBitcoinAddress implements Rule /** * Check bitcoin address. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCapitalCharWithNumber.php b/src/Rules/ValidCapitalCharWithNumber.php index f3cc7a9c..dd1e26b3 100644 --- a/src/Rules/ValidCapitalCharWithNumber.php +++ b/src/Rules/ValidCapitalCharWithNumber.php @@ -9,9 +9,8 @@ class ValidCapitalCharWithNumber implements Rule /** * Check all words are capital & with hyphen & number. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCarNumber.php b/src/Rules/ValidCarNumber.php index e1d75c13..6aed527f 100644 --- a/src/Rules/ValidCarNumber.php +++ b/src/Rules/ValidCarNumber.php @@ -9,9 +9,8 @@ class ValidCarNumber implements Rule /** * Check car number is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidCartNumberIran.php b/src/Rules/ValidCartNumberIran.php index 9bd6c746..74fa388c 100644 --- a/src/Rules/ValidCartNumberIran.php +++ b/src/Rules/ValidCartNumberIran.php @@ -9,9 +9,8 @@ class ValidCartNumberIran implements Rule /** * Check cart number is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDiscordUsername.php b/src/Rules/ValidDiscordUsername.php index 25087ab9..d72cce7c 100644 --- a/src/Rules/ValidDiscordUsername.php +++ b/src/Rules/ValidDiscordUsername.php @@ -9,9 +9,8 @@ class ValidDiscordUsername implements Rule /** * Check discord username is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDuplicate.php b/src/Rules/ValidDuplicate.php index 9a1c0742..fa802ee0 100644 --- a/src/Rules/ValidDuplicate.php +++ b/src/Rules/ValidDuplicate.php @@ -9,9 +9,8 @@ class ValidDuplicate implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidDuplicateCharacter.php b/src/Rules/ValidDuplicateCharacter.php index 4dca9ddd..5e6a58c2 100644 --- a/src/Rules/ValidDuplicateCharacter.php +++ b/src/Rules/ValidDuplicateCharacter.php @@ -9,9 +9,8 @@ class ValidDuplicateCharacter implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidEvenNumber.php b/src/Rules/ValidEvenNumber.php index 82864195..18f3258f 100644 --- a/src/Rules/ValidEvenNumber.php +++ b/src/Rules/ValidEvenNumber.php @@ -9,9 +9,8 @@ class ValidEvenNumber implements Rule /** * Check number is even. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHashtag.php b/src/Rules/ValidHashtag.php index 9a2d0379..48d3a642 100644 --- a/src/Rules/ValidHashtag.php +++ b/src/Rules/ValidHashtag.php @@ -9,9 +9,8 @@ class ValidHashtag implements Rule /** * Check value contains hashtag. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHexColor.php b/src/Rules/ValidHexColor.php index e8ffe89c..8a132a27 100644 --- a/src/Rules/ValidHexColor.php +++ b/src/Rules/ValidHexColor.php @@ -9,9 +9,8 @@ class ValidHexColor implements Rule /** * Check hex color is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidHtmlTag.php b/src/Rules/ValidHtmlTag.php index 4dbbf403..8d24933d 100644 --- a/src/Rules/ValidHtmlTag.php +++ b/src/Rules/ValidHtmlTag.php @@ -9,9 +9,8 @@ class ValidHtmlTag implements Rule /** * Check html tag is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidImei.php b/src/Rules/ValidImei.php index b808b3a4..73207b3c 100644 --- a/src/Rules/ValidImei.php +++ b/src/Rules/ValidImei.php @@ -9,16 +9,15 @@ class ValidImei implements Rule /** * Check jwt is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) { $imei = $value; - if (strlen($imei) != 15 || !ctype_digit($imei)) { + if (strlen($imei) != 15 || ! ctype_digit($imei)) { return false; } diff --git a/src/Rules/ValidIpAddressIPV4.php b/src/Rules/ValidIpAddressIPV4.php index 5597feb3..da364c28 100644 --- a/src/Rules/ValidIpAddressIPV4.php +++ b/src/Rules/ValidIpAddressIPV4.php @@ -9,9 +9,8 @@ class ValidIpAddressIPV4 implements Rule /** * Check ip address (ipv4) is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidIpAddressIPV6.php b/src/Rules/ValidIpAddressIPV6.php index 3db78a32..d9486ac6 100644 --- a/src/Rules/ValidIpAddressIPV6.php +++ b/src/Rules/ValidIpAddressIPV6.php @@ -9,9 +9,8 @@ class ValidIpAddressIPV6 implements Rule /** * Check ip address (ipv6) is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidJalaliDate.php b/src/Rules/ValidJalaliDate.php index ba1063b0..2fa79d45 100644 --- a/src/Rules/ValidJalaliDate.php +++ b/src/Rules/ValidJalaliDate.php @@ -10,14 +10,13 @@ class ValidJalaliDate implements Rule /** * Check base64. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) { - if (!is_string($value)) { + if (! is_string($value)) { return false; } diff --git a/src/Rules/ValidJwt.php b/src/Rules/ValidJwt.php index e8a34a3f..a84ee7e4 100644 --- a/src/Rules/ValidJwt.php +++ b/src/Rules/ValidJwt.php @@ -9,9 +9,8 @@ class ValidJwt implements Rule /** * Check jwt is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidNameDaysWeek.php b/src/Rules/ValidNameDaysWeek.php index 1bd2062f..bf9d36c4 100644 --- a/src/Rules/ValidNameDaysWeek.php +++ b/src/Rules/ValidNameDaysWeek.php @@ -9,9 +9,8 @@ class ValidNameDaysWeek implements Rule /** * Check day is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidNationalCard.php b/src/Rules/ValidNationalCard.php index 8ce7ed86..dc1dafcc 100644 --- a/src/Rules/ValidNationalCard.php +++ b/src/Rules/ValidNationalCard.php @@ -9,9 +9,8 @@ class ValidNationalCard implements Rule /** * Check national card is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidOddNumber.php b/src/Rules/ValidOddNumber.php index edea3535..fbac8603 100644 --- a/src/Rules/ValidOddNumber.php +++ b/src/Rules/ValidOddNumber.php @@ -9,9 +9,8 @@ class ValidOddNumber implements Rule /** * Check number is odd. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPattern.php b/src/Rules/ValidPattern.php index 2feae322..09362349 100644 --- a/src/Rules/ValidPattern.php +++ b/src/Rules/ValidPattern.php @@ -15,9 +15,8 @@ public function __construct( /** * Check texts with specific pattern. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPhoneNumber.php b/src/Rules/ValidPhoneNumber.php index 0ab489c8..6542aa7e 100644 --- a/src/Rules/ValidPhoneNumber.php +++ b/src/Rules/ValidPhoneNumber.php @@ -9,9 +9,8 @@ class ValidPhoneNumber implements Rule /** * Check phone number is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidPort.php b/src/Rules/ValidPort.php index af9644b3..a5279ec9 100644 --- a/src/Rules/ValidPort.php +++ b/src/Rules/ValidPort.php @@ -9,9 +9,8 @@ class ValidPort implements Rule /** * Check port is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidSlashEndOfString.php b/src/Rules/ValidSlashEndOfString.php index 2b211cd9..1df0369e 100644 --- a/src/Rules/ValidSlashEndOfString.php +++ b/src/Rules/ValidSlashEndOfString.php @@ -9,9 +9,8 @@ class ValidSlashEndOfString implements Rule /** * Check write slash at the end of string. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidSlug.php b/src/Rules/ValidSlug.php index 4f0d15b3..9645cf0b 100644 --- a/src/Rules/ValidSlug.php +++ b/src/Rules/ValidSlug.php @@ -9,9 +9,8 @@ class ValidSlug implements Rule /** * Check slug is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidStrongPassword.php b/src/Rules/ValidStrongPassword.php index 4a8633f0..4fda294e 100644 --- a/src/Rules/ValidStrongPassword.php +++ b/src/Rules/ValidStrongPassword.php @@ -9,9 +9,8 @@ class ValidStrongPassword implements Rule /** * Check password started by capital letters & contains lowercase letters & contains number. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUlid.php b/src/Rules/ValidUlid.php index 3ba8854d..620d51d1 100644 --- a/src/Rules/ValidUlid.php +++ b/src/Rules/ValidUlid.php @@ -9,9 +9,8 @@ class ValidUlid implements Rule /** * Check ulid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUrl.php b/src/Rules/ValidUrl.php index 3cec2943..9738b758 100644 --- a/src/Rules/ValidUrl.php +++ b/src/Rules/ValidUrl.php @@ -9,9 +9,8 @@ class ValidUrl implements Rule /** * Check url is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUsername.php b/src/Rules/ValidUsername.php index cbd2befb..9e1c8b40 100644 --- a/src/Rules/ValidUsername.php +++ b/src/Rules/ValidUsername.php @@ -9,9 +9,8 @@ class ValidUsername implements Rule /** * It checks that the length of the username must be between 3 and 15 characters without spaces. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/Rules/ValidUuid.php b/src/Rules/ValidUuid.php index 3e5697f3..2501d85c 100644 --- a/src/Rules/ValidUuid.php +++ b/src/Rules/ValidUuid.php @@ -9,9 +9,8 @@ class ValidUuid implements Rule /** * Check uuid is valid. * - * @param string $attribute - * @param mixed $value - * + * @param string $attribute + * @param mixed $value * @return bool */ public function passes($attribute, $value) diff --git a/src/lang/It/validate.php b/src/lang/It/validate.php index 6a504f82..8ca5520e 100644 --- a/src/lang/It/validate.php +++ b/src/lang/It/validate.php @@ -1,34 +1,34 @@ ':attribute non è valido.', - 'bitcoin-address' => ':attribute non è valido.', + 'base64' => ':attribute non è valido.', + 'bitcoin-address' => ':attribute non è valido.', 'capital-char-with-number' => ':attribute non è valido.', - 'car-number' => ':attribute non è valido.', - 'cart-number-iran' => ':attribute non è valido.', - 'discord-username' => ':attribute non è valido.', - 'even-number' => ':attribute non è valido.', - 'hashtag' => ':attribute non è valido.', - 'hex-color' => ':attribute non è valido.', - 'html-tag' => ':attribute non è valido.', - 'imei' => ':attribute non è valido.', - 'ipv4' => ':attribute non è valido.', - 'ipv6' => ':attribute non è valido.', - 'jwt' => ':attribute non è valido.', - 'name-days-week' => ':attribute non è valido.', - 'national-card' => ':attribute non è valido.', - 'odd-number' => ':attribute non è valido.', - 'phone-number' => ':attribute non è valido.', - 'port' => ':attribute non è valido.', - 'slash-end-of-string' => ':attribute non è valido.', - 'slug' => ':attribute non è valido.', - 'strong-password' => ':attribute non è valido.', - 'url' => ':attribute non è valido.', - 'username' => ':attribute non è valido.', - 'uuid' => ':attribute non è valido.', - 'jalali_date' => ':attribute non è valido.', - 'duplicate_character' => ':attribute non è valido.', - 'pattern' => ':attribute non è valido.', - 'duplicate' => ':attribute non è valido.', - 'ulid' => ':attribute non è valido.', + 'car-number' => ':attribute non è valido.', + 'cart-number-iran' => ':attribute non è valido.', + 'discord-username' => ':attribute non è valido.', + 'even-number' => ':attribute non è valido.', + 'hashtag' => ':attribute non è valido.', + 'hex-color' => ':attribute non è valido.', + 'html-tag' => ':attribute non è valido.', + 'imei' => ':attribute non è valido.', + 'ipv4' => ':attribute non è valido.', + 'ipv6' => ':attribute non è valido.', + 'jwt' => ':attribute non è valido.', + 'name-days-week' => ':attribute non è valido.', + 'national-card' => ':attribute non è valido.', + 'odd-number' => ':attribute non è valido.', + 'phone-number' => ':attribute non è valido.', + 'port' => ':attribute non è valido.', + 'slash-end-of-string' => ':attribute non è valido.', + 'slug' => ':attribute non è valido.', + 'strong-password' => ':attribute non è valido.', + 'url' => ':attribute non è valido.', + 'username' => ':attribute non è valido.', + 'uuid' => ':attribute non è valido.', + 'jalali_date' => ':attribute non è valido.', + 'duplicate_character' => ':attribute non è valido.', + 'pattern' => ':attribute non è valido.', + 'duplicate' => ':attribute non è valido.', + 'ulid' => ':attribute non è valido.', ]; diff --git a/src/lang/ar/validate.php b/src/lang/ar/validate.php index 093f189b..0dbed312 100644 --- a/src/lang/ar/validate.php +++ b/src/lang/ar/validate.php @@ -1,34 +1,34 @@ ':attribute غير صالح.', - 'bitcoin-address' => ':attribute غير صالح.', + 'base64' => ':attribute غير صالح.', + 'bitcoin-address' => ':attribute غير صالح.', 'capital-char-with-number' => ':attribute غير صالح.', - 'car-number' => ':attribute غير صالح.', - 'cart-number-iran' => ':attribute غير صالح.', - 'discord-username' => ':attribute غير صالح.', - 'even-number' => ':attribute غير صالح.', - 'hashtag' => ':attribute غير صالح.', - 'hex-color' => ':attribute غير صالح.', - 'html-tag' => ':attribute غير صالح.', - 'imei' => ':attribute غير صالح.', - 'ipv4' => ':attribute غير صالح.', - 'ipv6' => ':attribute غير صالح.', - 'jwt' => ':attribute غير صالح.', - 'name-days-week' => ':attribute غير صالح.', - 'national-card' => ':attribute غير صالح.', - 'odd-number' => ':attribute غير صالح.', - 'phone-number' => ':attribute غير صالح.', - 'port' => ':attribute غير صالح.', - 'slash-end-of-string' => ':attribute غير صالح.', - 'slug' => ':attribute غير صالح.', - 'strong-password' => ':attribute غير صالح.', - 'url' => ':attribute غير صالح.', - 'username' => ':attribute غير صالح.', - 'uuid' => ':attribute غير صالح.', - 'jalali_date' => ':attribute غير صالح.', - 'duplicate_character' => ':attribute غير صالح.', - 'pattern' => ':attribute غير صالح.', - 'duplicate' => ':attribute غير صالح.', - 'ulid' => ':attribute غير صالح.', + 'car-number' => ':attribute غير صالح.', + 'cart-number-iran' => ':attribute غير صالح.', + 'discord-username' => ':attribute غير صالح.', + 'even-number' => ':attribute غير صالح.', + 'hashtag' => ':attribute غير صالح.', + 'hex-color' => ':attribute غير صالح.', + 'html-tag' => ':attribute غير صالح.', + 'imei' => ':attribute غير صالح.', + 'ipv4' => ':attribute غير صالح.', + 'ipv6' => ':attribute غير صالح.', + 'jwt' => ':attribute غير صالح.', + 'name-days-week' => ':attribute غير صالح.', + 'national-card' => ':attribute غير صالح.', + 'odd-number' => ':attribute غير صالح.', + 'phone-number' => ':attribute غير صالح.', + 'port' => ':attribute غير صالح.', + 'slash-end-of-string' => ':attribute غير صالح.', + 'slug' => ':attribute غير صالح.', + 'strong-password' => ':attribute غير صالح.', + 'url' => ':attribute غير صالح.', + 'username' => ':attribute غير صالح.', + 'uuid' => ':attribute غير صالح.', + 'jalali_date' => ':attribute غير صالح.', + 'duplicate_character' => ':attribute غير صالح.', + 'pattern' => ':attribute غير صالح.', + 'duplicate' => ':attribute غير صالح.', + 'ulid' => ':attribute غير صالح.', ]; diff --git a/src/lang/en/validate.php b/src/lang/en/validate.php index cf875e8b..1fa0d3fa 100644 --- a/src/lang/en/validate.php +++ b/src/lang/en/validate.php @@ -1,34 +1,34 @@ 'The :attribute is not valid.', - 'bitcoin-address' => 'The :attribute is not valid.', + 'base64' => 'The :attribute is not valid.', + 'bitcoin-address' => 'The :attribute is not valid.', 'capital-char-with-number' => 'The :attribute is not valid.', - 'car-number' => 'The :attribute is not valid.', - 'cart-number-iran' => 'The :attribute is not valid.', - 'discord-username' => 'The :attribute is not valid.', - 'even-number' => 'The :attribute is not valid.', - 'hashtag' => 'The :attribute is not valid.', - 'hex-color' => 'The :attribute is not valid.', - 'html-tag' => 'The :attribute is not valid.', - 'imei' => 'The :attribute is not valid.', - 'ipv4' => 'The :attribute is not valid.', - 'ipv6' => 'The :attribute is not valid.', - 'jwt' => 'The :attribute is not valid.', - 'name-days-week' => 'The :attribute is not valid.', - 'national-card' => 'The :attribute is not valid.', - 'odd-number' => 'The :attribute is not valid.', - 'phone-number' => 'The :attribute is not valid.', - 'port' => 'The :attribute is not valid.', - 'slash-end-of-string' => 'The :attribute is not valid.', - 'slug' => 'The :attribute is not valid.', - 'strong-password' => 'The :attribute is not valid.', - 'url' => 'The :attribute is not valid.', - 'username' => 'The :attribute is not valid.', - 'uuid' => 'The :attribute is not valid.', - 'jalali_date' => 'The :attribute is not valid.', - 'duplicate_character' => 'The :attribute is not valid.', - 'pattern' => 'The :attribute is not valid.', - 'duplicate' => 'The :attribute is not valid.', - 'ulid' => 'The :attribute is not valid.', + 'car-number' => 'The :attribute is not valid.', + 'cart-number-iran' => 'The :attribute is not valid.', + 'discord-username' => 'The :attribute is not valid.', + 'even-number' => 'The :attribute is not valid.', + 'hashtag' => 'The :attribute is not valid.', + 'hex-color' => 'The :attribute is not valid.', + 'html-tag' => 'The :attribute is not valid.', + 'imei' => 'The :attribute is not valid.', + 'ipv4' => 'The :attribute is not valid.', + 'ipv6' => 'The :attribute is not valid.', + 'jwt' => 'The :attribute is not valid.', + 'name-days-week' => 'The :attribute is not valid.', + 'national-card' => 'The :attribute is not valid.', + 'odd-number' => 'The :attribute is not valid.', + 'phone-number' => 'The :attribute is not valid.', + 'port' => 'The :attribute is not valid.', + 'slash-end-of-string' => 'The :attribute is not valid.', + 'slug' => 'The :attribute is not valid.', + 'strong-password' => 'The :attribute is not valid.', + 'url' => 'The :attribute is not valid.', + 'username' => 'The :attribute is not valid.', + 'uuid' => 'The :attribute is not valid.', + 'jalali_date' => 'The :attribute is not valid.', + 'duplicate_character' => 'The :attribute is not valid.', + 'pattern' => 'The :attribute is not valid.', + 'duplicate' => 'The :attribute is not valid.', + 'ulid' => 'The :attribute is not valid.', ]; diff --git a/src/lang/fa/validate.php b/src/lang/fa/validate.php index fb5b7946..533d0f97 100644 --- a/src/lang/fa/validate.php +++ b/src/lang/fa/validate.php @@ -1,34 +1,34 @@ 'مقدار :attribute صحیح نمی باشد.', - 'bitcoin-address' => 'مقدار :attribute صحیح نمی باشد.', + 'base64' => 'مقدار :attribute صحیح نمی باشد.', + 'bitcoin-address' => 'مقدار :attribute صحیح نمی باشد.', 'capital-char-with-number' => 'مقدار :attribute صحیح نمی باشد.', - 'car-number' => 'مقدار :attribute صحیح نمی باشد.', - 'cart-number-iran' => 'مقدار :attribute صحیح نمی باشد.', - 'discord-username' => 'مقدار :attribute صحیح نمی باشد.', - 'even-number' => 'مقدار :attribute صحیح نمی باشد.', - 'hashtag' => 'مقدار :attribute صحیح نمی باشد.', - 'hex-color' => 'مقدار :attribute صحیح نمی باشد.', - 'html-tag' => 'مقدار :attribute صحیح نمی باشد.', - 'imei' => 'مقدار :attribute صحیح نمی باشد.', - 'ipv4' => 'مقدار :attribute صحیح نمی باشد.', - 'ipv6' => 'مقدار :attribute صحیح نمی باشد.', - 'jwt' => 'مقدار :attribute صحیح نمی باشد.', - 'name-days-week' => 'مقدار :attribute صحیح نمی باشد.', - 'national-card' => 'مقدار :attribute صحیح نمی باشد.', - 'odd-number' => 'مقدار :attribute صحیح نمی باشد.', - 'phone-number' => 'مقدار :attribute صحیح نمی باشد.', - 'port' => 'مقدار :attribute صحیح نمی باشد.', - 'slash-end-of-string' => 'مقدار :attribute صحیح نمی باشد.', - 'slug' => 'مقدار :attribute صحیح نمی باشد.', - 'strong-password' => 'مقدار :attribute صحیح نمی باشد.', - 'url' => 'مقدار :attribute صحیح نمی باشد.', - 'username' => 'مقدار :attribute صحیح نمی باشد.', - 'uuid' => 'مقدار :attribute صحیح نمی باشد.', - 'jalali_date' => 'مقدار :attribute صحیح نمی باشد.', - 'duplicate_character' => 'مقدار :attribute صحیح نمی باشد.', - 'pattern' => 'مقدار :attribute صحیح نمی باشد.', - 'duplicate' => 'مقدار :attribute صحیح نمی باشد.', - 'ulid' => 'مقدار :attribute صحیح نمی باشد.', + 'car-number' => 'مقدار :attribute صحیح نمی باشد.', + 'cart-number-iran' => 'مقدار :attribute صحیح نمی باشد.', + 'discord-username' => 'مقدار :attribute صحیح نمی باشد.', + 'even-number' => 'مقدار :attribute صحیح نمی باشد.', + 'hashtag' => 'مقدار :attribute صحیح نمی باشد.', + 'hex-color' => 'مقدار :attribute صحیح نمی باشد.', + 'html-tag' => 'مقدار :attribute صحیح نمی باشد.', + 'imei' => 'مقدار :attribute صحیح نمی باشد.', + 'ipv4' => 'مقدار :attribute صحیح نمی باشد.', + 'ipv6' => 'مقدار :attribute صحیح نمی باشد.', + 'jwt' => 'مقدار :attribute صحیح نمی باشد.', + 'name-days-week' => 'مقدار :attribute صحیح نمی باشد.', + 'national-card' => 'مقدار :attribute صحیح نمی باشد.', + 'odd-number' => 'مقدار :attribute صحیح نمی باشد.', + 'phone-number' => 'مقدار :attribute صحیح نمی باشد.', + 'port' => 'مقدار :attribute صحیح نمی باشد.', + 'slash-end-of-string' => 'مقدار :attribute صحیح نمی باشد.', + 'slug' => 'مقدار :attribute صحیح نمی باشد.', + 'strong-password' => 'مقدار :attribute صحیح نمی باشد.', + 'url' => 'مقدار :attribute صحیح نمی باشد.', + 'username' => 'مقدار :attribute صحیح نمی باشد.', + 'uuid' => 'مقدار :attribute صحیح نمی باشد.', + 'jalali_date' => 'مقدار :attribute صحیح نمی باشد.', + 'duplicate_character' => 'مقدار :attribute صحیح نمی باشد.', + 'pattern' => 'مقدار :attribute صحیح نمی باشد.', + 'duplicate' => 'مقدار :attribute صحیح نمی باشد.', + 'ulid' => 'مقدار :attribute صحیح نمی باشد.', ]; diff --git a/src/lang/fr/validate.php b/src/lang/fr/validate.php index 35030479..778969ea 100644 --- a/src/lang/fr/validate.php +++ b/src/lang/fr/validate.php @@ -1,34 +1,34 @@ ":attribute n'est pas valide.", - 'bitcoin-address' => ":attribute n'est pas valide.", + 'base64' => ":attribute n'est pas valide.", + 'bitcoin-address' => ":attribute n'est pas valide.", 'capital-char-with-number' => ":attribute n'est pas valide.", - 'car-number' => ":attribute n'est pas valide.", - 'cart-number-iran' => ":attribute n'est pas valide.", - 'discord-username' => ":attribute n'est pas valide.", - 'even-number' => ":attribute n'est pas valide.", - 'hashtag' => ":attribute n'est pas valide.", - 'hex-color' => ":attribute n'est pas valide.", - 'html-tag' => ":attribute n'est pas valide.", - 'imei' => ":attribute n'est pas valide.", - 'ipv4' => ":attribute n'est pas valide.", - 'ipv6' => ":attribute n'est pas valide.", - 'jwt' => ":attribute n'est pas valide.", - 'name-days-week' => ":attribute n'est pas valide.", - 'national-card' => ":attribute n'est pas valide.", - 'odd-number' => ":attribute n'est pas valide.", - 'phone-number' => ":attribute n'est pas valide.", - 'port' => ":attribute n'est pas valide.", - 'slash-end-of-string' => ":attribute n'est pas valide.", - 'slug' => ":attribute n'est pas valide.", - 'strong-password' => ":attribute n'est pas valide.", - 'url' => ":attribute n'est pas valide.", - 'username' => ":attribute n'est pas valide.", - 'uuid' => ":attribute n'est pas valide.", - 'jalali_date' => ":attribute n'est pas valide.", - 'duplicate_character' => ":attribute n'est pas valide.", - 'pattern' => ":attribute n'est pas valide.", - 'duplicate' => ":attribute n'est pas valide.", - 'ulid' => ":attribute n'est pas valide.", + 'car-number' => ":attribute n'est pas valide.", + 'cart-number-iran' => ":attribute n'est pas valide.", + 'discord-username' => ":attribute n'est pas valide.", + 'even-number' => ":attribute n'est pas valide.", + 'hashtag' => ":attribute n'est pas valide.", + 'hex-color' => ":attribute n'est pas valide.", + 'html-tag' => ":attribute n'est pas valide.", + 'imei' => ":attribute n'est pas valide.", + 'ipv4' => ":attribute n'est pas valide.", + 'ipv6' => ":attribute n'est pas valide.", + 'jwt' => ":attribute n'est pas valide.", + 'name-days-week' => ":attribute n'est pas valide.", + 'national-card' => ":attribute n'est pas valide.", + 'odd-number' => ":attribute n'est pas valide.", + 'phone-number' => ":attribute n'est pas valide.", + 'port' => ":attribute n'est pas valide.", + 'slash-end-of-string' => ":attribute n'est pas valide.", + 'slug' => ":attribute n'est pas valide.", + 'strong-password' => ":attribute n'est pas valide.", + 'url' => ":attribute n'est pas valide.", + 'username' => ":attribute n'est pas valide.", + 'uuid' => ":attribute n'est pas valide.", + 'jalali_date' => ":attribute n'est pas valide.", + 'duplicate_character' => ":attribute n'est pas valide.", + 'pattern' => ":attribute n'est pas valide.", + 'duplicate' => ":attribute n'est pas valide.", + 'ulid' => ":attribute n'est pas valide.", ]; diff --git a/src/lang/hi/validate.php b/src/lang/hi/validate.php index 1e6c0213..12736715 100644 --- a/src/lang/hi/validate.php +++ b/src/lang/hi/validate.php @@ -1,34 +1,34 @@ ':attributeमान्य नहीं है।.', - 'bitcoin-address' => ':attributeमान्य नहीं है।.', + 'base64' => ':attributeमान्य नहीं है।.', + 'bitcoin-address' => ':attributeमान्य नहीं है।.', 'capital-char-with-number' => ':attributeमान्य नहीं है।.', - 'car-number' => ':attributeमान्य नहीं है।.', - 'cart-number-iran' => ':attributeमान्य नहीं है।.', - 'discord-username' => ':attributeमान्य नहीं है।.', - 'even-number' => ':attributeमान्य नहीं है।.', - 'hashtag' => ':attributeमान्य नहीं है।.', - 'hex-color' => ':attributeमान्य नहीं है।.', - 'html-tag' => ':attributeमान्य नहीं है।.', - 'imei' => ':attributeमान्य नहीं है।.', - 'ipv4' => ':attributeमान्य नहीं है।.', - 'ipv6' => ':attributeमान्य नहीं है।.', - 'jwt' => ':attributeमान्य नहीं है।.', - 'name-days-week' => ':attributeमान्य नहीं है।.', - 'national-card' => ':attributeमान्य नहीं है।.', - 'odd-number' => ':attributeमान्य नहीं है।.', - 'phone-number' => ':attributeमान्य नहीं है।.', - 'port' => ':attributeमान्य नहीं है।.', - 'slash-end-of-string' => ':attributeमान्य नहीं है।.', - 'slug' => ':attributeमान्य नहीं है।.', - 'strong-password' => ':attributeमान्य नहीं है।.', - 'url' => ':attributeमान्य नहीं है।.', - 'username' => ':attributeमान्य नहीं है।.', - 'uuid' => ':attributeमान्य नहीं है।.', - 'jalali_date' => ':attributeमान्य नहीं है।.', - 'duplicate_character' => ':attributeमान्य नहीं है।.', - 'pattern' => ':attributeमान्य नहीं है।.', - 'duplicate' => ':attributeमान्य नहीं है।.', - 'ulid' => ':attributeमान्य नहीं है।.', + 'car-number' => ':attributeमान्य नहीं है।.', + 'cart-number-iran' => ':attributeमान्य नहीं है।.', + 'discord-username' => ':attributeमान्य नहीं है।.', + 'even-number' => ':attributeमान्य नहीं है।.', + 'hashtag' => ':attributeमान्य नहीं है।.', + 'hex-color' => ':attributeमान्य नहीं है।.', + 'html-tag' => ':attributeमान्य नहीं है।.', + 'imei' => ':attributeमान्य नहीं है।.', + 'ipv4' => ':attributeमान्य नहीं है।.', + 'ipv6' => ':attributeमान्य नहीं है।.', + 'jwt' => ':attributeमान्य नहीं है।.', + 'name-days-week' => ':attributeमान्य नहीं है।.', + 'national-card' => ':attributeमान्य नहीं है।.', + 'odd-number' => ':attributeमान्य नहीं है।.', + 'phone-number' => ':attributeमान्य नहीं है।.', + 'port' => ':attributeमान्य नहीं है।.', + 'slash-end-of-string' => ':attributeमान्य नहीं है।.', + 'slug' => ':attributeमान्य नहीं है।.', + 'strong-password' => ':attributeमान्य नहीं है।.', + 'url' => ':attributeमान्य नहीं है।.', + 'username' => ':attributeमान्य नहीं है।.', + 'uuid' => ':attributeमान्य नहीं है।.', + 'jalali_date' => ':attributeमान्य नहीं है।.', + 'duplicate_character' => ':attributeमान्य नहीं है।.', + 'pattern' => ':attributeमान्य नहीं है।.', + 'duplicate' => ':attributeमान्य नहीं है।.', + 'ulid' => ':attributeमान्य नहीं है।.', ]; diff --git a/src/lang/ja/validate.php b/src/lang/ja/validate.php index fdf49f57..ff95c7e2 100644 --- a/src/lang/ja/validate.php +++ b/src/lang/ja/validate.php @@ -1,34 +1,34 @@ ':attribute有効じゃない。', - 'bitcoin-address' => ':attribute有効じゃない。', + 'base64' => ':attribute有効じゃない。', + 'bitcoin-address' => ':attribute有効じゃない。', 'capital-char-with-number' => ':attribute有効じゃない。', - 'car-number' => ':attribute有効じゃない。', - 'cart-number-iran' => ':attribute有効じゃない。', - 'discord-username' => ':attribute有効じゃない。', - 'even-number' => ':attribute有効じゃない。', - 'hashtag' => ':attribute有効じゃない。', - 'hex-color' => ':attribute有効じゃない。', - 'html-tag' => ':attribute有効じゃない。', - 'imei' => ':attribute有効じゃない。', - 'ipv4' => ':attribute有効じゃない。', - 'ipv6' => ':attribute有効じゃない。', - 'jwt' => ':attribute有効じゃない。', - 'name-days-week' => ':attribute有効じゃない。', - 'national-card' => ':attribute有効じゃない。', - 'odd-number' => ':attribute有効じゃない。', - 'phone-number' => ':attribute有効じゃない。', - 'port' => ':attribute有効じゃない。', - 'slash-end-of-string' => ':attribute有効じゃない。', - 'slug' => ':attribute有効じゃない。', - 'strong-password' => ':attribute有効じゃない。', - 'url' => ':attribute有効じゃない。', - 'username' => ':attribute有効じゃない。', - 'uuid' => ':attribute有効じゃない。', - 'jalali_date' => ':attribute有効じゃない。', - 'duplicate_character' => ':attribute有効じゃない。', - 'pattern' => ':attribute有効じゃない。', - 'duplicate' => ':attribute有効じゃない。', - 'ulid' => ':attribute有効じゃない。', + 'car-number' => ':attribute有効じゃない。', + 'cart-number-iran' => ':attribute有効じゃない。', + 'discord-username' => ':attribute有効じゃない。', + 'even-number' => ':attribute有効じゃない。', + 'hashtag' => ':attribute有効じゃない。', + 'hex-color' => ':attribute有効じゃない。', + 'html-tag' => ':attribute有効じゃない。', + 'imei' => ':attribute有効じゃない。', + 'ipv4' => ':attribute有効じゃない。', + 'ipv6' => ':attribute有効じゃない。', + 'jwt' => ':attribute有効じゃない。', + 'name-days-week' => ':attribute有効じゃない。', + 'national-card' => ':attribute有効じゃない。', + 'odd-number' => ':attribute有効じゃない。', + 'phone-number' => ':attribute有効じゃない。', + 'port' => ':attribute有効じゃない。', + 'slash-end-of-string' => ':attribute有効じゃない。', + 'slug' => ':attribute有効じゃない。', + 'strong-password' => ':attribute有効じゃない。', + 'url' => ':attribute有効じゃない。', + 'username' => ':attribute有効じゃない。', + 'uuid' => ':attribute有効じゃない。', + 'jalali_date' => ':attribute有効じゃない。', + 'duplicate_character' => ':attribute有効じゃない。', + 'pattern' => ':attribute有効じゃない。', + 'duplicate' => ':attribute有効じゃない。', + 'ulid' => ':attribute有効じゃない。', ]; diff --git a/src/lang/ko/validate.php b/src/lang/ko/validate.php index a37209c6..c7202c93 100644 --- a/src/lang/ko/validate.php +++ b/src/lang/ko/validate.php @@ -1,34 +1,34 @@ ':attribute유효하지 않습니다.', - 'bitcoin-address' => ':attribute유효하지 않습니다.', + 'base64' => ':attribute유효하지 않습니다.', + 'bitcoin-address' => ':attribute유효하지 않습니다.', 'capital-char-with-number' => ':attribute유효하지 않습니다.', - 'car-number' => ':attribute유효하지 않습니다.', - 'cart-number-iran' => ':attribute유효하지 않습니다.', - 'discord-username' => ':attribute유효하지 않습니다.', - 'even-number' => ':attribute유효하지 않습니다.', - 'hashtag' => ':attribute유효하지 않습니다.', - 'hex-color' => ':attribute유효하지 않습니다.', - 'html-tag' => ':attribute유효하지 않습니다.', - 'imei' => ':attribute유효하지 않습니다.', - 'ipv4' => ':attribute유효하지 않습니다.', - 'ipv6' => ':attribute유효하지 않습니다.', - 'jwt' => ':attribute유효하지 않습니다.', - 'name-days-week' => ':attribute유효하지 않습니다.', - 'national-card' => ':attribute유효하지 않습니다.', - 'odd-number' => ':attribute유효하지 않습니다.', - 'phone-number' => ':attribute유효하지 않습니다.', - 'port' => ':attribute유효하지 않습니다.', - 'slash-end-of-string' => ':attribute유효하지 않습니다.', - 'slug' => ':attribute유효하지 않습니다.', - 'strong-password' => ':attribute유효하지 않습니다.', - 'url' => ':attribute유효하지 않습니다.', - 'username' => ':attribute유효하지 않습니다.', - 'uuid' => ':attribute유효하지 않습니다.', - 'jalali_date' => ':attribute유효하지 않습니다.', - 'duplicate_character' => ':attribute유효하지 않습니다.', - 'pattern' => ':attribute유효하지 않습니다.', - 'duplicate' => ':attribute유효하지 않습니다.', - 'ulid' => ':attribute유효하지 않습니다.', + 'car-number' => ':attribute유효하지 않습니다.', + 'cart-number-iran' => ':attribute유효하지 않습니다.', + 'discord-username' => ':attribute유효하지 않습니다.', + 'even-number' => ':attribute유효하지 않습니다.', + 'hashtag' => ':attribute유효하지 않습니다.', + 'hex-color' => ':attribute유효하지 않습니다.', + 'html-tag' => ':attribute유효하지 않습니다.', + 'imei' => ':attribute유효하지 않습니다.', + 'ipv4' => ':attribute유효하지 않습니다.', + 'ipv6' => ':attribute유효하지 않습니다.', + 'jwt' => ':attribute유효하지 않습니다.', + 'name-days-week' => ':attribute유효하지 않습니다.', + 'national-card' => ':attribute유효하지 않습니다.', + 'odd-number' => ':attribute유효하지 않습니다.', + 'phone-number' => ':attribute유효하지 않습니다.', + 'port' => ':attribute유효하지 않습니다.', + 'slash-end-of-string' => ':attribute유효하지 않습니다.', + 'slug' => ':attribute유효하지 않습니다.', + 'strong-password' => ':attribute유효하지 않습니다.', + 'url' => ':attribute유효하지 않습니다.', + 'username' => ':attribute유효하지 않습니다.', + 'uuid' => ':attribute유효하지 않습니다.', + 'jalali_date' => ':attribute유효하지 않습니다.', + 'duplicate_character' => ':attribute유효하지 않습니다.', + 'pattern' => ':attribute유효하지 않습니다.', + 'duplicate' => ':attribute유효하지 않습니다.', + 'ulid' => ':attribute유효하지 않습니다.', ]; diff --git a/src/lang/ru/validate.php b/src/lang/ru/validate.php index c26526ff..ce7ce6ed 100644 --- a/src/lang/ru/validate.php +++ b/src/lang/ru/validate.php @@ -1,34 +1,34 @@ ':attribute не действует.', - 'bitcoin-address' => ':attribute не действует.', + 'base64' => ':attribute не действует.', + 'bitcoin-address' => ':attribute не действует.', 'capital-char-with-number' => ':attribute не действует.', - 'car-number' => ':attribute не действует.', - 'cart-number-iran' => ':attribute не действует.', - 'discord-username' => ':attribute не действует.', - 'even-number' => ':attribute не действует.', - 'hashtag' => ':attribute не действует.', - 'hex-color' => ':attribute не действует.', - 'html-tag' => ':attribute не действует.', - 'imei' => ':attribute не действует.', - 'ipv4' => ':attribute не действует.', - 'ipv6' => ':attribute не действует.', - 'jwt' => ':attribute не действует.', - 'name-days-week' => ':attribute не действует.', - 'national-card' => ':attribute не действует.', - 'odd-number' => ':attribute не действует.', - 'phone-number' => ':attribute не действует.', - 'port' => ':attribute не действует.', - 'slash-end-of-string' => ':attribute не действует.', - 'slug' => ':attribute не действует.', - 'strong-password' => ':attribute не действует.', - 'url' => ':attribute не действует.', - 'username' => ':attribute не действует.', - 'uuid' => ':attribute не действует.', - 'jalali_date' => ':attribute не действует.', - 'duplicate_character' => ':attribute не действует.', - 'pattern' => ':attribute не действует.', - 'duplicate' => ':attribute не действует.', - 'ulid' => ':attribute не действует.', + 'car-number' => ':attribute не действует.', + 'cart-number-iran' => ':attribute не действует.', + 'discord-username' => ':attribute не действует.', + 'even-number' => ':attribute не действует.', + 'hashtag' => ':attribute не действует.', + 'hex-color' => ':attribute не действует.', + 'html-tag' => ':attribute не действует.', + 'imei' => ':attribute не действует.', + 'ipv4' => ':attribute не действует.', + 'ipv6' => ':attribute не действует.', + 'jwt' => ':attribute не действует.', + 'name-days-week' => ':attribute не действует.', + 'national-card' => ':attribute не действует.', + 'odd-number' => ':attribute не действует.', + 'phone-number' => ':attribute не действует.', + 'port' => ':attribute не действует.', + 'slash-end-of-string' => ':attribute не действует.', + 'slug' => ':attribute не действует.', + 'strong-password' => ':attribute не действует.', + 'url' => ':attribute не действует.', + 'username' => ':attribute не действует.', + 'uuid' => ':attribute не действует.', + 'jalali_date' => ':attribute не действует.', + 'duplicate_character' => ':attribute не действует.', + 'pattern' => ':attribute не действует.', + 'duplicate' => ':attribute не действует.', + 'ulid' => ':attribute не действует.', ]; diff --git a/src/lang/zh_CN/validate.php b/src/lang/zh_CN/validate.php index 562f872f..1b1809c5 100644 --- a/src/lang/zh_CN/validate.php +++ b/src/lang/zh_CN/validate.php @@ -1,34 +1,34 @@ ':attribute无效.', - 'bitcoin-address' => ':attribute无效.', + 'base64' => ':attribute无效.', + 'bitcoin-address' => ':attribute无效.', 'capital-char-with-number' => ':attribute无效.', - 'car-number' => ':attribute无效.', - 'cart-number-iran' => ':attribute无效.', - 'discord-username' => ':attribute无效.', - 'even-number' => ':attribute无效.', - 'hashtag' => ':attribute无效.', - 'hex-color' => ':attribute无效.', - 'html-tag' => ':attribute无效.', - 'imei' => ':attribute无效.', - 'ipv4' => ':attribute无效.', - 'ipv6' => ':attribute无效.', - 'jwt' => ':attribute无效.', - 'name-days-week' => ':attribute无效.', - 'national-card' => ':attribute无效.', - 'odd-number' => ':attribute无效.', - 'phone-number' => ':attribute无效.', - 'port' => ':attribute无效.', - 'slash-end-of-string' => ':attribute无效.', - 'slug' => ':attribute无效.', - 'strong-password' => ':attribute无效.', - 'url' => ':attribute无效.', - 'username' => ':attribute无效.', - 'uuid' => ':attribute无效.', - 'jalali_date' => ':attribute无效.', - 'duplicate_character' => ':attribute无效.', - 'pattern' => ':attribute无效.', - 'duplicate' => ':attribute无效.', - 'ulid' => ':attribute无效.', + 'car-number' => ':attribute无效.', + 'cart-number-iran' => ':attribute无效.', + 'discord-username' => ':attribute无效.', + 'even-number' => ':attribute无效.', + 'hashtag' => ':attribute无效.', + 'hex-color' => ':attribute无效.', + 'html-tag' => ':attribute无效.', + 'imei' => ':attribute无效.', + 'ipv4' => ':attribute无效.', + 'ipv6' => ':attribute无效.', + 'jwt' => ':attribute无效.', + 'name-days-week' => ':attribute无效.', + 'national-card' => ':attribute无效.', + 'odd-number' => ':attribute无效.', + 'phone-number' => ':attribute无效.', + 'port' => ':attribute无效.', + 'slash-end-of-string' => ':attribute无效.', + 'slug' => ':attribute无效.', + 'strong-password' => ':attribute无效.', + 'url' => ':attribute无效.', + 'username' => ':attribute无效.', + 'uuid' => ':attribute无效.', + 'jalali_date' => ':attribute无效.', + 'duplicate_character' => ':attribute无效.', + 'pattern' => ':attribute无效.', + 'duplicate' => ':attribute无效.', + 'ulid' => ':attribute无效.', ]; diff --git a/tests/BaseTest.php b/tests/BaseTest.php index f97d1d6d..75e952e9 100644 --- a/tests/BaseTest.php +++ b/tests/BaseTest.php @@ -9,8 +9,7 @@ class BaseTest extends \Orchestra\Testbench\TestCase /** * Get package providers. * - * @param \Illuminate\Foundation\Application $app - * + * @param \Illuminate\Foundation\Application $app * @return array */ protected function getPackageProviders($app)