Completed
Pull Request — master (#34)
by
unknown
07:36
created
src/PhpAssumptions/Output/XmlOutput.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         $assumptions = $result->getAssumptions();
56 56
 
57 57
         foreach ($assumptions as $assumption) {
58
-            $fileElements = $this->xpath->query('/phpa/files/file[@name="' . $assumption['file'] . '"]');
58
+            $fileElements = $this->xpath->query('/phpa/files/file[@name="'.$assumption['file'].'"]');
59 59
 
60 60
             if ($fileElements->length === 0) {
61 61
                 $files = $this->xpath->query('/phpa/files')->item(0);
Please login to merge, or discard this patch.
src/PhpAssumptions/Analyser.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     private $excludes = [];
42 42
 
43 43
     /**
44
-     * @param ParserAbstract|Multiple $parser
44
+     * @param Multiple $parser
45 45
      * @param NodeTraverserInterface  $nodeTraverser
46 46
      * @param string[]                $excludes
47 47
      */
@@ -90,6 +90,9 @@  discard block
 block discarded – undo
90 90
         $this->result->increaseBoolExpressionsCount();
91 91
     }
92 92
 
93
+    /**
94
+     * @param integer $line
95
+     */
93 96
     private function readLine($line)
94 97
     {
95 98
         if (count($this->currentFile) === 0) {
Please login to merge, or discard this patch.