Completed
Push — master ( 75748b...36048b )
by Michael
06:58
created
lib/Xsd/Validator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      */
54 54
     public function __construct($dir = __DIR__)
55 55
     {
56
-        $this->setRelativeBaseDir($dir . '/');
56
+        $this->setRelativeBaseDir($dir.'/');
57 57
     }
58 58
     /**
59 59
      * @param EveApiEventInterface $event
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
             libxml_clear_errors();
98 98
             libxml_use_internal_errors($oldErrors);
99 99
             $apiName = $data->getEveApiName();
100
-            $data->setEveApiName('Invalid_' . $apiName);
100
+            $data->setEveApiName('Invalid_'.$apiName);
101 101
             // Cache error XML.
102 102
             $this->emitEvents($data, 'cache');
103 103
             $data->setEveApiName($apiName);
Please login to merge, or discard this patch.
lib/Xml/EveApiXmlData.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
             return $this;
58 58
         }
59 59
         if (!is_string($name)) {
60
-            $mess = 'Name MUST be string but was given ' . gettype($name);
60
+            $mess = 'Name MUST be string but was given '.gettype($name);
61 61
             throw new InvalidArgumentException($mess);
62 62
         }
63 63
         $this->eveApiArguments[$name] = (string)$value;
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     {
90 90
         $name = (string)$name;
91 91
         if (!array_key_exists($name, $this->eveApiArguments)) {
92
-            $mess = 'Unknown argument ' . $name;
92
+            $mess = 'Unknown argument '.$name;
93 93
             throw new DomainException($mess);
94 94
         }
95 95
         return $this->eveApiArguments[$name];
@@ -151,14 +151,14 @@  discard block
 block discarded – undo
151 151
      */
152 152
     public function getHash()
153 153
     {
154
-        $hash = $this->getEveApiName() . $this->getEveApiSectionName();
154
+        $hash = $this->getEveApiName().$this->getEveApiSectionName();
155 155
         $arguments = $this->getEveApiArguments();
156 156
         ksort($arguments);
157 157
         foreach ($arguments as $key => $value) {
158 158
             if ('mask' === $key) {
159 159
                 continue;
160 160
             }
161
-            $hash .= $key . $value;
161
+            $hash .= $key.$value;
162 162
         }
163 163
         return hash('md5', $hash);
164 164
     }
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
     public function setEveApiName($value)
229 229
     {
230 230
         if (!is_string($value)) {
231
-            $mess = 'Name MUST be string but was given ' . gettype($value);
231
+            $mess = 'Name MUST be string but was given '.gettype($value);
232 232
             throw new InvalidArgumentException($mess);
233 233
         }
234 234
         $this->eveApiName = $value;
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
     public function setEveApiSectionName($value)
246 246
     {
247 247
         if (!is_string($value)) {
248
-            $mess = 'Section name MUST be string but was given ' . gettype($value);
248
+            $mess = 'Section name MUST be string but was given '.gettype($value);
249 249
             throw new InvalidArgumentException($mess);
250 250
         }
251 251
         $this->eveApiSectionName = $value;
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
             $xml = '';
266 266
         }
267 267
         if (!is_string($xml)) {
268
-            $mess = 'Xml MUST be string but was given ' . gettype($xml);
268
+            $mess = 'Xml MUST be string but was given '.gettype($xml);
269 269
             throw new InvalidArgumentException($mess);
270 270
         }
271 271
         $this->eveApiXml = $xml;
Please login to merge, or discard this patch.