@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | public function getLastLibXmlError() |
| 40 | 40 | { |
| 41 | 41 | $error = libxml_get_last_error(); |
| 42 | - if (! $error instanceof \LibXMLError) { |
|
| 42 | + if (!$error instanceof \LibXMLError) { |
|
| 43 | 43 | return false; |
| 44 | 44 | } |
| 45 | 45 | |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | */ |
| 55 | 55 | public function parseFile($filename) |
| 56 | 56 | { |
| 57 | - if (! is_readable($filename)) { |
|
| 57 | + if (!is_readable($filename)) { |
|
| 58 | 58 | throw new \UnexpectedValueException(sprintf( |
| 59 | 59 | 'File %s is not readable', |
| 60 | 60 | basename($filename) |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | foreach ($items as $item) { |
| 79 | 79 | |
| 80 | 80 | $class = $item->getAttribute('class'); |
| 81 | - if (! $class) { |
|
| 81 | + if (!$class) { |
|
| 82 | 82 | $class = explode('::', $item->parentNode->getAttribute('name'))[0]; |
| 83 | 83 | } |
| 84 | 84 | |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | switch ($type) { |
| 98 | 98 | case 'error': |
| 99 | 99 | case 'failure': |
| 100 | - if (! $element->hasAttributes()) { |
|
| 100 | + if (!$element->hasAttributes()) { |
|
| 101 | 101 | var_Dump(get_Class($element)); |
| 102 | 102 | break; |
| 103 | 103 | } |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | if ($message instanceof \DOMAttr) { |
| 106 | 106 | $message = $message->value; |
| 107 | 107 | } |
| 108 | - $ftype = $element->attributes->getNamedItem('type'); |
|
| 108 | + $ftype = $element->attributes->getNamedItem('type'); |
|
| 109 | 109 | if ($ftype instanceof \DOMAttr) { |
| 110 | 110 | $ftype = $ftype->value; |
| 111 | 111 | } |