@@ -34,7 +34,7 @@ |
||
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); |
@@ -241,7 +241,7 @@ discard block |
||
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 |
||
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( |