Test Failed
Push — master ( 3c2029...7a5756 )
by Randy
02:39
created
src/Hydrator/Dom/Assembler.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,6 +2,9 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace Dgame\Soap\Hydrator\Dom;
4 4
 
5
+use DOMDocument;
6
+use DOMElement;
7
+use DOMNode;
5 8
 use Dgame\Soap\Attribute\Attribute;
6 9
 use Dgame\Soap\Attribute\XmlAttribute;
7 10
 use Dgame\Soap\Element;
@@ -9,9 +12,6 @@  discard block
 block discarded – undo
9 12
 use Dgame\Soap\Visitor\ElementVisitorInterface;
10 13
 use Dgame\Soap\XmlElement;
11 14
 use Dgame\Soap\XmlNode;
12
-use DOMDocument;
13
-use DOMElement;
14
-use DOMNode;
15 15
 
16 16
 /**
17 17
  * Class Assembler
Please login to merge, or discard this patch.
src/Visitor/AttributeVisitableInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -10,6 +10,7 @@
 block discarded – undo
10 10
 {
11 11
     /**
12 12
      * @param AttributeVisitorInterface $visitor
13
+     * @return void
13 14
      */
14 15
     public function accept(AttributeVisitorInterface $visitor);
15 16
 }
16 17
\ No newline at end of file
Please login to merge, or discard this patch.
src/Visitor/AttributeVisitorInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -13,11 +13,13 @@
 block discarded – undo
13 13
 {
14 14
     /**
15 15
      * @param Attribute $attribute
16
+     * @return void
16 17
      */
17 18
     public function visitAttribute(Attribute $attribute);
18 19
 
19 20
     /**
20 21
      * @param XmlAttribute $attribute
22
+     * @return void
21 23
      */
22 24
     public function visitXmlAttribute(XmlAttribute $attribute);
23 25
 }
24 26
\ No newline at end of file
Please login to merge, or discard this patch.
src/Visitor/ElementVisitableInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -10,6 +10,7 @@
 block discarded – undo
10 10
 {
11 11
     /**
12 12
      * @param ElementVisitorInterface $visitor
13
+     * @return void
13 14
      */
14 15
     public function accept(ElementVisitorInterface $visitor);
15 16
 }
16 17
\ No newline at end of file
Please login to merge, or discard this patch.
src/Visitor/ElementVisitorInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,16 +14,19 @@
 block discarded – undo
14 14
 {
15 15
     /**
16 16
      * @param Element $element
17
+     * @return void
17 18
      */
18 19
     public function visitElement(Element $element);
19 20
 
20 21
     /**
21 22
      * @param XmlElement $element
23
+     * @return void
22 24
      */
23 25
     public function visitXmlElement(XmlElement $element);
24 26
 
25 27
     /**
26 28
      * @param XmlNode $node
29
+     * @return void
27 30
      */
28 31
     public function visitXmlNode(XmlNode $node);
29 32
 }
30 33
\ No newline at end of file
Please login to merge, or discard this patch.
tests/HydrationTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
205 205
         $doc = new DOMDocument();
206 206
         $doc->load(__DIR__ . '/xml/test3.xml');
207 207
 
208
-        $mapper   = new ClassMapper(
208
+        $mapper = new ClassMapper(
209 209
             [
210 210
                 'Car'     => TestCar::class,
211 211
                 'Phone'   => TestPhone::class,
Please login to merge, or discard this patch.