Passed
Push — master ( a623d1...b1f06d )
by Roberto
02:29 queued 01:10
created
src/Factories/Traits/RegraNomeValido.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $part = explode(' ', $name);
35 35
         if (count($part) > 14) {
36 36
             $name = '';
37
-            for ($x=0; $x<=14; $x++) {
37
+            for ($x = 0; $x <= 14; $x++) {
38 38
                 //não permite parte com maisnde 21 caracteres (regra 6)
39 39
                 if (strlen($part[$x]) > 21) {
40 40
                     $part[$x] = substr($part[$x], 0, 21);
Please login to merge, or discard this patch.
src/Common/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
             return true;
242 242
         }
243 243
         $validator = new JsonValid();
244
-        $validator->check($data, (object)['$ref' => 'file://' . $this->jsonschema]);
244
+        $validator->check($data, (object) ['$ref' => 'file://' . $this->jsonschema]);
245 245
         if (!$validator->isValid()) {
246 246
             $msg = "";
247 247
             foreach ($validator->getErrors() as $error) {
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
             $this->dom->addChild(
296 296
                 $ideContri,
297 297
                 "tpInsc",
298
-                (string)$this->tpInsc,
298
+                (string) $this->tpInsc,
299 299
                 true
300 300
             );
301 301
             $this->dom->addChild(
Please login to merge, or discard this patch.