Passed
Push — master ( bf511f...2a756f )
by Mehmet
01:35
created
src/Providers/ValidationExtendServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 {
10 10
     public function boot()
11 11
     {
12
-        $this->loadTranslationsFrom(__DIR__ . '/../../resources/lang', 'X-Laravel');
12
+        $this->loadTranslationsFrom(__DIR__.'/../../resources/lang', 'X-Laravel');
13 13
 
14 14
         Validator::extend('human_name', 'XLaravel\ValidationExtend\Rules\HumanNameRule@passes');
15 15
     }
Please login to merge, or discard this patch.
src/Rules/HumanNameRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function passes($attribute, $value): bool
10 10
     {
11
-        return (bool)preg_match("/^\p{Lu}[\p{L} '&-]*[\p{L}]$/u", $value);
11
+        return (bool) preg_match("/^\p{Lu}[\p{L} '&-]*[\p{L}]$/u", $value);
12 12
     }
13 13
 
14 14
     public function message(): string
Please login to merge, or discard this patch.