Test Failed
Branch master (ac7191)
by Peter
03:23
created
lib/Component/SingleComponent/Section.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -94,9 +94,9 @@  discard block
 block discarded – undo
94 94
     public function __construct($id = null, $code = null, $title = null, $text = null, $entry = [])
95 95
     {
96 96
         $this->setAcceptableClassCodes(ClassCodeInterface::ActClass)
97
-          ->setAcceptableMoodCodes(MoodCodeInterface::ActMood)
98
-          ->setClassCode(ClassCodeInterface::DOCUMENT_SECTION)
99
-          ->setMoodCode(MoodCodeInterface::EVENT);
97
+            ->setAcceptableMoodCodes(MoodCodeInterface::ActMood)
98
+            ->setClassCode(ClassCodeInterface::DOCUMENT_SECTION)
99
+            ->setMoodCode(MoodCodeInterface::EVENT);
100 100
 
101 101
         $this->entries = [];
102 102
 
@@ -155,17 +155,17 @@  discard block
 block discarded – undo
155 155
     {
156 156
         $el = $this->createElement($doc);
157 157
         $this->renderId($el, $doc)
158
-          ->renderCode($el, $doc)
159
-          ->renderTitle($el, $doc)
160
-          ->renderText($el, $doc)
161
-          ->renderConfidentialityCode($el, $doc)
162
-          ->renderLanguageCode($el, $doc)
163
-          ->renderSubject($el, $doc)
164
-          ->renderAuthor($el, $doc)
165
-          ->renderInformants($el, $doc)
166
-          ->renderEntries($el, $doc)
167
-          ->renderComponents($el, $doc)
168
-          ->renderExtCoverage2($el, $doc);
158
+            ->renderCode($el, $doc)
159
+            ->renderTitle($el, $doc)
160
+            ->renderText($el, $doc)
161
+            ->renderConfidentialityCode($el, $doc)
162
+            ->renderLanguageCode($el, $doc)
163
+            ->renderSubject($el, $doc)
164
+            ->renderAuthor($el, $doc)
165
+            ->renderInformants($el, $doc)
166
+            ->renderEntries($el, $doc)
167
+            ->renderComponents($el, $doc)
168
+            ->renderExtCoverage2($el, $doc);
169 169
         return $el;
170 170
     }
171 171
 
Please login to merge, or discard this patch.
lib/Elements/Quantity.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,12 +67,12 @@
 block discarded – undo
67 67
     {
68 68
         if (!
69 69
         (
70
-          $quantity instanceof PhysicalQuantity
70
+            $quantity instanceof PhysicalQuantity
71 71
           || $quantity instanceof AbstractInterval
72 72
         )
73 73
         ) {
74 74
             throw new \UnexpectedValueException(sprintf('The value of quantity should be an instance of %s or %s',
75
-              PhysicalQuantity::class, AbstractInterval::class));
75
+                PhysicalQuantity::class, AbstractInterval::class));
76 76
         }
77 77
 
78 78
         $this->quantity = $quantity;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     public function setQuantity($quantity): self
67 67
     {
68
-        if (!
69
-        (
68
+        if (!(
70 69
           $quantity instanceof PhysicalQuantity
71 70
           || $quantity instanceof AbstractInterval
72 71
         )
Please login to merge, or discard this patch.