Test Setup Failed
Push — master ( ba0680...ac7792 )
by Peter
06:12
created
lib/DataType/Quantity/DateAndTime/TimeStamp.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
         $dt         = new \DateTime($in, new \DateTimeZone($tz));
95 95
         $time_stamp = new self($dt);
96 96
         $time_stamp->setOffset($tz[0] === '+')
97
-          ->setPrecision($precision);
97
+            ->setPrecision($precision);
98 98
         return $time_stamp;
99 99
     }
100 100
 
@@ -106,9 +106,9 @@  discard block
 block discarded – undo
106 106
     {
107 107
         if ($this->getDate()) {
108 108
             $value = \mb_substr(
109
-              $this->getDate()->format(self::DATE_FORMAT),
110
-              0,
111
-              $this->getPrecision()
109
+                $this->getDate()->format(self::DATE_FORMAT),
110
+                0,
111
+                $this->getPrecision()
112 112
             );
113 113
 
114 114
             if ($this->getPrecision() >= self::PRECISION_MINUTES
Please login to merge, or discard this patch.
lib/DataType/ValueType.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     public function __construct($value, $attribute = 'value')
58 58
     {
59 59
         $this->setValue($value)
60
-          ->setAttribute($attribute);
60
+            ->setAttribute($attribute);
61 61
     }
62 62
 
63 63
     /**
Please login to merge, or discard this patch.
lib/DataType/IntegerType.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     public function __construct(int $value, string $tag)
66 66
     {
67 67
         $this->setValue($value)
68
-          ->setTag($tag);
68
+            ->setTag($tag);
69 69
     }
70 70
 
71 71
     /**
Please login to merge, or discard this patch.
lib/DataType/Code/AddressCodeType.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     {
96 96
         $upper_code = strtoupper($code);
97 97
         $this->code = \in_array($upper_code,
98
-          array(
98
+            array(
99 99
             self::BUSINESS,
100 100
             self::HOME,
101 101
             self::HOME_BUSINESS,
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
             self::MOBILE_CONTACT,
107 107
             self::PAGER,
108 108
             self::WORKPLACE
109
-          ), true)
109
+            ), true)
110 110
           ? $upper_code
111 111
           : '';
112 112
         return $this;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
  */
42 42
 class AddressCodeType extends AnyType
43 43
 {
44
-    const BUSINESS = 'WP';  // An office address. First choice for business related con- tacts during business hours.
45
-    const HOME     = 'H';   // A communication address at a home, attempted contacts for business purposes might
44
+    const BUSINESS = 'WP'; // An office address. First choice for business related con- tacts during business hours.
45
+    const HOME     = 'H'; // A communication address at a home, attempted contacts for business purposes might
46 46
     // intrude privacy and chances are one will contact family or other household members
47 47
     // instead of the person one wishes to call. Typically used with urgent cases, or if no other contacts are available.
48 48
     const HOME_BUSINESS     = 'WP H';
Please login to merge, or discard this patch.
lib/DataType/Code/LoincCode.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -42,14 +42,14 @@  discard block
 block discarded – undo
42 42
      * @param $displayName
43 43
      */
44 44
     public function __construct(
45
-      $code,
46
-      $displayName
45
+        $code,
46
+        $displayName
47 47
     ) {
48 48
         parent::__construct(
49
-          $code,
50
-          $displayName,
51
-          self::CODE_SYSTEM,
52
-          self::CODE_SYSTEM_NAME
49
+            $code,
50
+            $displayName,
51
+            self::CODE_SYSTEM,
52
+            self::CODE_SYSTEM_NAME
53 53
         );
54 54
     }
55 55
 
@@ -64,10 +64,10 @@  discard block
 block discarded – undo
64 64
     public static function create($code, $displayName): CodedValue
65 65
     {
66 66
         return new CodedValue(
67
-          $code,
68
-          $displayName,
69
-          self::CODE_SYSTEM,
70
-          self::CODE_SYSTEM_NAME
67
+            $code,
68
+            $displayName,
69
+            self::CODE_SYSTEM,
70
+            self::CODE_SYSTEM_NAME
71 71
         );
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
lib/DataType/Code/ConfidentialityCode.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,10 +51,10 @@
 block discarded – undo
51 51
     public static function create($key, $displayName): CodedValue
52 52
     {
53 53
         return new CodedValue(
54
-          $key,
55
-          $displayName,
56
-          self::CODE_SYSTEM,
57
-          self::CODE_SYSTEM_NAME
54
+            $key,
55
+            $displayName,
56
+            self::CODE_SYSTEM,
57
+            self::CODE_SYSTEM_NAME
58 58
         );
59 59
     }
60 60
 }
Please login to merge, or discard this patch.
lib/DataType/Code/CodedValue.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -44,14 +44,14 @@
 block discarded – undo
44 44
      * @param $codeSystemName
45 45
      */
46 46
     public function __construct(
47
-      $code,
48
-      $displayName,
49
-      $codeSystem,
50
-      $codeSystemName
47
+        $code,
48
+        $displayName,
49
+        $codeSystem,
50
+        $codeSystemName
51 51
     ) {
52 52
         $this->setCode($code)
53
-          ->setDisplayName($displayName)
54
-          ->setCodeSystem($codeSystem)
55
-          ->setCodeSystemName($codeSystemName);
53
+            ->setDisplayName($displayName)
54
+            ->setCodeSystem($codeSystem)
55
+            ->setCodeSystemName($codeSystemName);
56 56
     }
57 57
 }
Please login to merge, or discard this patch.
lib/DataType/Code/SnomedCTCode.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@
 block discarded – undo
42 42
     public function __construct($code, $displayName)
43 43
     {
44 44
         parent::__construct($code,
45
-          $displayName,
46
-          self::CODE_SYSTEM,
47
-          self::CODE_SYSTEM_NAME);
45
+            $displayName,
46
+            self::CODE_SYSTEM,
47
+            self::CODE_SYSTEM_NAME);
48 48
     }
49 49
 }
Please login to merge, or discard this patch.
lib/DataType/Collection/Interval/PeriodicIntervalOfTime.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,8 +63,8 @@  discard block
 block discarded – undo
63 63
     public function __construct(\DateInterval $period)
64 64
     {
65 65
         $this->setPeriod($period)
66
-          ->setXSIType(XSITypeInterface::PERIODIC_TIME_INTERVAL)
67
-          ->setTag('period');
66
+            ->setXSIType(XSITypeInterface::PERIODIC_TIME_INTERVAL)
67
+            ->setTag('period');
68 68
     }
69 69
 
70 70
     /**
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         }
81 81
         if ($this->hasInstitutionSpecified()) {
82 82
             $el->setAttribute(CDA::NS_CDA . 'institutionSpecified',
83
-              $this->getInstitutionSpecified()
83
+                $this->getInstitutionSpecified()
84 84
                 ? 'true'
85 85
                 : 'false');
86 86
         }
Please login to merge, or discard this patch.