Passed
Push — master ( 52583d...43ebcf )
by Henrique
03:18
created
src/JsonSchemaValidatorException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace RamosHenrique\JsonSchemaValidator;
4 4
 
Please login to merge, or discard this patch.
src/ServiceProvider.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,10 +44,10 @@
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-    * Make config publishment optional by merging the config from the package.
48
-    *
49
-    * @return  void
50
-    */
47
+     * Make config publishment optional by merging the config from the package.
48
+     *
49
+     * @return  void
50
+     */
51 51
     public function register()
52 52
     {
53 53
         $this->mergeConfigFrom(
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace RamosHenrique\JsonSchemaValidator;
4 4
 
@@ -14,12 +14,12 @@  discard block
 block discarded – undo
14 14
     {
15 15
         $this->publishes(
16 16
             [
17
-            __DIR__.'/../config/json_schema_validator.php' => config_path('json_schema_validator.php'),
17
+            __DIR__ . '/../config/json_schema_validator.php' => config_path('json_schema_validator.php'),
18 18
             ],
19 19
             'json_schema_validator'
20 20
         );
21 21
 
22
-        BaseValidator::extend('json_schema_validator', static function ($attribute, $value, $parameters, $validator) {
22
+        BaseValidator::extend('json_schema_validator', static function($attribute, $value, $parameters, $validator) {
23 23
             if (count($parameters) != 1) {
24 24
                 throw ValidationException::withMessages([
25 25
                     'json_schema_validator' => JsonSchemaValidatorException::INVALID_PARAMETERS_QUANTITY,
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     public function register()
52 52
     {
53 53
         $this->mergeConfigFrom(
54
-            __DIR__.'/../config/json_schema_validator.php',
54
+            __DIR__ . '/../config/json_schema_validator.php',
55 55
             'json_schema_validator'
56 56
         );
57 57
     }
Please login to merge, or discard this patch.
src/JsonSchemaValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace RamosHenrique\JsonSchemaValidator;
4 4
 
Please login to merge, or discard this patch.