Passed
Branch new-version (72fcef)
by Jeroen
03:10
created
src/Formatter/Property/FullNameFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,6 +18,6 @@
 block discarded – undo
18 18
 
19 19
     public function getVcfString(): string
20 20
     {
21
-        return $this->fullName->getNode() . ':' . $this->escape($this->fullName->getValue());
21
+        return $this->fullName->getNode().':'.$this->escape($this->fullName->getValue());
22 22
     }
23 23
 }
Please login to merge, or discard this patch.
src/Formatter/Property/AddressFormatter.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -19,15 +19,15 @@
 block discarded – undo
19 19
     public function getVcfString(): string
20 20
     {
21 21
         $string = $this->address->getNode();
22
-        $string .= ';TYPE=' . $this->address->getType()->__toString();
23
-        $string .=':' . $this->escape(
22
+        $string .= ';TYPE='.$this->address->getType()->__toString();
23
+        $string .= ':'.$this->escape(
24 24
             $this->address->getPostOfficeBox()
25
-            . ';' . $this->address->getExtendedAddress()
26
-            . ';' . $this->address->getStreetAddress()
27
-            . ';' . $this->address->getLocality()
28
-            . ';' . $this->address->getRegion()
29
-            . ';' . $this->address->getPostalCode()
30
-            . ';' . $this->address->getCountryName()
25
+            . ';'.$this->address->getExtendedAddress()
26
+            . ';'.$this->address->getStreetAddress()
27
+            . ';'.$this->address->getLocality()
28
+            . ';'.$this->address->getRegion()
29
+            . ';'.$this->address->getPostalCode()
30
+            . ';'.$this->address->getCountryName()
31 31
         );
32 32
 
33 33
         return $string;
Please login to merge, or discard this patch.
src/Formatter/VcfFormatter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,14 +22,14 @@
 block discarded – undo
22 22
              * @var PropertyParameterInterface $parameter
23 23
              */
24 24
             foreach ($vCard->getParameters() as $parameter) {
25
-                $string .= $this->fold($parameter->getFormatter()->getVcfString() . "\r\n");
25
+                $string .= $this->fold($parameter->getFormatter()->getVcfString()."\r\n");
26 26
             }
27 27
 
28 28
             /**
29 29
              * @var PropertyInterface $property
30 30
              */
31 31
             foreach ($vCard->getProperties() as $property) {
32
-                $string .= $this->fold($property->getFormatter()->getVcfString() . "\r\n");
32
+                $string .= $this->fold($property->getFormatter()->getVcfString()."\r\n");
33 33
             }
34 34
 
35 35
             $string .= "END:VCARD\r\n";
Please login to merge, or discard this patch.
src/Parser/VcfParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         return $vCards;
39 39
     }
40 40
 
41
-    private function parseParameters(?string $parameters): array
41
+    private function parseParameters(?string $parameters) : array
42 42
     {
43 43
         if ($parameters === null) {
44 44
             return [];
Please login to merge, or discard this patch.
src/VCard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
             return $this->parameters;
80 80
         }
81 81
 
82
-        return array_filter($this->parameters, function (PropertyParameterInterface $parameter) use ($filterByPropertyParameterClass) {
82
+        return array_filter($this->parameters, function(PropertyParameterInterface $parameter) use ($filterByPropertyParameterClass) {
83 83
             return $parameter instanceof $filterByPropertyParameterClass;
84 84
         });
85 85
     }
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
             return $this->properties;
91 91
         }
92 92
 
93
-        return array_filter($this->properties, function (PropertyInterface $property) use ($filterByPropertyClass) {
93
+        return array_filter($this->properties, function(PropertyInterface $property) use ($filterByPropertyClass) {
94 94
             return $property instanceof $filterByPropertyClass;
95 95
         });
96 96
     }
Please login to merge, or discard this patch.