Test Setup Failed
Branch master (e9839e)
by Sergey
02:37 queued 24s
created
src/LTDBeget/dns/configurator/zoneEntities/record/TxtRecord.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     public function __toString() : string
44 44
     {
45 45
         $spited_string      = str_split($this->getTxtData(), 255);
46
-        $spited_with_quotes = array_map(function ($value) {
46
+        $spited_with_quotes = array_map(function($value) {
47 47
             return "\"$value\"";
48 48
         }, $spited_string);
49 49
         $char_sets          = implode("\n", $spited_with_quotes);
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/zoneEntities/record/SoaRecord.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,8 +63,7 @@
 block discarded – undo
63 63
      * @param int $expire
64 64
      * @param int $minimum
65 65
      */
66
-    public function __construct
67
-    (
66
+    public function __construct(
68 67
         Node $node,
69 68
         int $ttl,
70 69
         string $mName,
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/zoneEntities/RecordAppender.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -128,8 +128,7 @@  discard block
 block discarded – undo
128 128
      * @param int|null $ttl
129 129
      * @return RecordAppender
130 130
      */
131
-    public function appendSoaRecord
132
-    (
131
+    public function appendSoaRecord(
133 132
         string $mName,
134 133
         string $rName,
135 134
         int $serial,
@@ -163,8 +162,7 @@  discard block
 block discarded – undo
163 162
      * @param int|null $ttl
164 163
      * @return RecordAppender
165 164
      */
166
-    public function appendSrvRecord
167
-    (
165
+    public function appendSrvRecord(
168 166
         int $priority,
169 167
         int $weight,
170 168
         int $port,
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/zoneEntities/RecordsStore.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
 
88 88
     public function sort()
89 89
     {
90
-        usort($this->records, function (Record $a, Record $b) {
90
+        usort($this->records, function(Record $a, Record $b) {
91 91
             if ($a->getType()->is(eRecordType::SOA)) {
92 92
                 return -1;
93 93
             } elseif ($b->getType()->is(eRecordType::SOA)) {
Please login to merge, or discard this patch.