Passed
Push — master ( 064570...be0868 )
by Sergey
05:55 queued 03:15
created
src/LTDBeget/dns/configurator/zoneEntities/record/SoaRecord.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,8 +64,7 @@  discard block
 block discarded – undo
64 64
      * @param int    $expire
65 65
      * @param int    $minimum
66 66
      */
67
-    public function __construct
68
-    (
67
+    public function __construct(
69 68
         Node $node,
70 69
         int $ttl,
71 70
         string $mName,
@@ -92,7 +91,7 @@  discard block
 block discarded – undo
92 91
      */
93 92
     public function __toString() : string
94 93
     {
95
-        return $this->getMainRecordPart() . ' ' . implode(' ', [
94
+        return $this->getMainRecordPart().' '.implode(' ', [
96 95
             $this->getMName(),
97 96
             $this->getRName(),
98 97
             $this->getSerial(),
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/zoneEntities/record/CnameRecord.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     public function __toString() : string
46 46
     {
47
-        return $this->getMainRecordPart() . ' ' . $this->getCname();
47
+        return $this->getMainRecordPart().' '.$this->getCname();
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/zoneEntities/record/AaaaRecord.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     public function __toString() : string
46 46
     {
47
-        return $this->getMainRecordPart() . ' ' . $this->getAddress();
47
+        return $this->getMainRecordPart().' '.$this->getAddress();
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/zoneEntities/record/ARecord.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     public function __toString() : string
46 46
     {
47
-        return $this->getMainRecordPart() . ' ' . $this->getAddress();
47
+        return $this->getMainRecordPart().' '.$this->getAddress();
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/zoneEntities/record/TxtRecord.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     private function sanitizeTxtData(string $txtData) : string
46 46
     {
47 47
         $txtDataArray = explode('\"', trim($txtData, '"'));
48
-        $txtDataArray = array_map(function ($value) {
48
+        $txtDataArray = array_map(function($value) {
49 49
             return str_replace('"', '\"', $value);
50 50
         }, $txtDataArray);
51 51
 
@@ -58,19 +58,19 @@  discard block
 block discarded – undo
58 58
     public function __toString() : string
59 59
     {
60 60
         $spited_string      = str_split($this->getTxtData(), 255);
61
-        $spited_with_quotes = array_map(function ($value) {
61
+        $spited_with_quotes = array_map(function($value) {
62 62
             return "\"$value\"";
63 63
         }, $spited_string);
64 64
 
65
-        $char_sets          = implode("\n", $spited_with_quotes);
65
+        $char_sets = implode("\n", $spited_with_quotes);
66 66
 
67 67
         if (count($spited_with_quotes) > 1) {
68
-            $rdataString = " ( \n" . $char_sets . "\n ) \n";
68
+            $rdataString = " ( \n".$char_sets."\n ) \n";
69 69
         } else {
70
-            $rdataString = ' ' . $char_sets;
70
+            $rdataString = ' '.$char_sets;
71 71
         }
72 72
 
73
-        return $this->getMainRecordPart() . $rdataString;
73
+        return $this->getMainRecordPart().$rdataString;
74 74
     }
75 75
 
76 76
     /**
Please login to merge, or discard this patch.
src/LTDBeget/dns/enums/eErrorCode.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 /**
13 13
  * Class ErrorCode
14
- 
15 14
  * 
16 15
 *@package beget\lib\dns\lib\errors
17 16
  * @method static eErrorCode WRONG_ORIGIN()
Please login to merge, or discard this patch.