Passed
Push — master ( f54444...bb44e9 )
by Sergey
02:48
created
src/LTDBeget/dns/configurator/zoneEntities/record/TxtRecord.php 2 patches
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.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: Viskov Sergey
4
- * @date  : 4/12/16
5
- * @time  : 1:00 PM
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date  : 4/12/16
5
+     * @time  : 1:00 PM
6
+     */
7 7
 
8 8
 namespace LTDBeget\dns\configurator\deserializer;
9 9
 
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/zoneEntities/record/SoaRecord.php 2 patches
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.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: Viskov Sergey
4
- * @date  : 4/12/16
5
- * @time  : 1:00 PM
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date  : 4/12/16
5
+     * @time  : 1:00 PM
6
+     */
7 7
 
8 8
 namespace LTDBeget\dns\configurator\deserializer;
9 9
 
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/zoneEntities/RecordAppender.php 2 patches
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.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: Viskov Sergey
4
- * @date  : 4/12/16
5
- * @time  : 1:00 PM
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date  : 4/12/16
5
+     * @time  : 1:00 PM
6
+     */
7 7
 
8 8
 namespace LTDBeget\dns\configurator\deserializer;
9 9
 
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/zoneEntities/RecordsStore.php 2 patches
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.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: Viskov Sergey
4
- * @date  : 4/12/16
5
- * @time  : 1:00 PM
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date  : 4/12/16
5
+     * @time  : 1:00 PM
6
+     */
7 7
 
8 8
 namespace LTDBeget\dns\configurator\deserializer;
9 9
 
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/Zone.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     }
127 127
 
128 128
     /**
129
-     * @return Node[]
129
+     * @return \Generator
130 130
      */
131 131
     public function iterateNodes()
132 132
     {
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 
138 138
     /**
139 139
      * @param eRecordType|null $type
140
-     * @return Record[]
140
+     * @return \Generator
141 141
      */
142 142
     public function iterateRecords(eRecordType $type = NULL)
143 143
     {
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
     /**
188 188
      * Check is node by given name already exists
189 189
      *
190
-     * @param $name
190
+     * @param string $name
191 191
      * @return bool
192 192
      */
193 193
     public function isNodeExist($name) : bool
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: Viskov Sergey
4
- * @date  : 4/12/16
5
- * @time  : 1:00 PM
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date  : 4/12/16
5
+     * @time  : 1:00 PM
6
+     */
7 7
 
8 8
 namespace LTDBeget\dns\configurator\deserializer;
9 9
 
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/validators/Int32Validator.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: [email protected]
4
- * @date  : 4/12/16
5
- */
3
+     * @author: [email protected]
4
+     * @date  : 4/12/16
5
+     */
6 6
 
7 7
 namespace LTDBeget\dns\configurator\validators;
8 8
 
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/traits/RecordsIterateTrait.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: Viskov Sergey
4
- * @date  : 4/12/16
5
- * @time  : 1:31 PM
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date  : 4/12/16
5
+     * @time  : 1:31 PM
6
+     */
7 7
 
8 8
 namespace LTDBeget\dns\configurator\traits;
9 9
 
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/deserializer/ArrayDeserializer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: Viskov Sergey
4
- * @date  : 4/12/16
5
- * @time  : 1:00 PM
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date  : 4/12/16
5
+     * @time  : 1:00 PM
6
+     */
7 7
 
8 8
 namespace LTDBeget\dns\configurator\deserializer;
9 9
 
Please login to merge, or discard this patch.
src/LTDBeget/dns/enums/eErrorCode.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: Viskov Sergey
4
- * @date  : 4/12/16
5
- * @time  : 1:00 PM
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date  : 4/12/16
5
+     * @time  : 1:00 PM
6
+     */
7 7
 
8 8
 namespace LTDBeget\dns\configurator\deserializer;
9 9
 
Please login to merge, or discard this patch.