Completed
Push — master ( 8d39d6...58e1d9 )
by Xeriab
02:50
created
src/Konfig.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
      * Gets a parser for a given file extension
138 138
      *
139 139
      * @param  string $ext
140
-     * @return Konfig\FileParser
140
+     * @return FileParser
141 141
      * @throws UnsupportedFileFormatException If `$path` is an unsupported file format
142 142
      */
143 143
     private function getParser($ext)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 
13 13
 namespace Exen\Konfig;
14 14
 
15
-use Exen\Konfig\Exception\Exception;
16 15
 use Exen\Konfig\Exception\EmptyDirectoryException;
16
+use Exen\Konfig\Exception\Exception;
17 17
 use Exen\Konfig\Exception\FileNotFoundException;
18 18
 use Exen\Konfig\Exception\UnsupportedFileFormatException;
19 19
 
Please login to merge, or discard this patch.
src/Arr.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
      * Un-sets dot-notated key from an array
181 181
      *
182 182
      * @param array $array The search array
183
-     * @param mixed $key The dot-notated key or array of keys
183
+     * @param string $key The dot-notated key or array of keys
184 184
      * @return mixed
185 185
      * @since 0.1.0
186 186
      */
Please login to merge, or discard this patch.
src/FileParser/Ini.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     /**
64 64
      * Returns the formatted configuration file contents.
65 65
      *
66
-     * @param   array   $content  configuration array
66
+     * @param   array   $contents  configuration array
67 67
      * @return  string  formatted configuration file contents
68 68
      * @since 0.2.4
69 69
      * @codeCoverageIgnore
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 
13 13
 namespace Exen\Konfig\FileParser;
14 14
 
15
-use Exen\Konfig\Utils;
16 15
 use Exen\Konfig\Exception\Exception;
17 16
 use Exen\Konfig\Exception\ParseException;
17
+use Exen\Konfig\Utils;
18 18
 
19 19
 class Ini extends AbstractFileParser
20 20
 {
Please login to merge, or discard this patch.
src/FileParser/Json.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     /**
73 73
      * Returns the formatted configuration file contents.
74 74
      *
75
-     * @param   array   $content  configuration array
75
+     * @param   array   $contents  configuration array
76 76
      * @return  string  formatted configuration file contents
77 77
      * @since 0.2.4
78 78
      * @codeCoverageIgnore
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,8 @@
 block discarded – undo
12 12
 
13 13
 namespace Exen\Konfig\FileParser;
14 14
 
15
-use Exen\Konfig\Utils;
16
-use Exen\Konfig\Exception\Exception;
17 15
 use Exen\Konfig\Exception\ParseException;
16
+use Exen\Konfig\Utils;
18 17
 
19 18
 class Json extends AbstractFileParser
20 19
 {
Please login to merge, or discard this patch.
src/FileParser/Neon.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     /**
71 71
      * Returns the formatted configuration file contents.
72 72
      *
73
-     * @param   array   $content  configuration array
73
+     * @param   array   $contents  configuration array
74 74
      * @return  string  formatted configuration file contents
75 75
      * @since 0.2.4
76 76
      * @codeCoverageIgnore
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 
13 13
 namespace Exen\Konfig\FileParser;
14 14
 
15
-use Exen\Konfig\Utils;
16 15
 use Exen\Konfig\Exception\Exception;
17 16
 use Exen\Konfig\Exception\ParseException;
17
+use Exen\Konfig\Utils;
18 18
 
19 19
 use Nette\Neon\Neon as NeonParser;
20 20
 
Please login to merge, or discard this patch.
src/FileParser/Php.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     /**
82 82
      * Returns the formatted configuration file contents.
83 83
      *
84
-     * @param   array   $content  configuration array
84
+     * @param   array   $contents  configuration array
85 85
      * @return  string  formatted configuration file contents
86 86
      * @since 0.2.4
87 87
      * @codeCoverageIgnore
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
 
13 13
 namespace Exen\Konfig\FileParser;
14 14
 
15
-use Exen\Konfig\Utils;
16 15
 use Exen\Konfig\Exception\Exception;
17 16
 use Exen\Konfig\Exception\ParseException;
18 17
 use Exen\Konfig\Exception\UnsupportedFileFormatException;
18
+use Exen\Konfig\Utils;
19 19
 
20 20
 class Php extends AbstractFileParser
21 21
 {
Please login to merge, or discard this patch.
src/FileParser/Properties.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -179,6 +179,7 @@  discard block
 block discarded – undo
179 179
     /**
180 180
      * {@inheritDoc}
181 181
      * @codeCoverageIgnore
182
+     * @param string $field
182 183
      */
183 184
     private function deleteFields($field, $analysis)
184 185
     {
@@ -238,7 +239,7 @@  discard block
 block discarded – undo
238 239
     /**
239 240
      * Returns the formatted configuration file contents.
240 241
      *
241
-     * @param   array   $content  configuration array
242
+     * @param   array   $contents  configuration array
242 243
      * @return  string  formatted configuration file contents
243 244
      * @since 0.2.4
244 245
      * @codeCoverageIgnore
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@
 block discarded – undo
13 13
 namespace Exen\Konfig\FileParser;
14 14
 
15 15
 use Exen\Konfig\Arr;
16
-use Exen\Konfig\Utils;
17 16
 use Exen\Konfig\Exception\Exception;
18 17
 use Exen\Konfig\Exception\ParseException;
18
+use Exen\Konfig\Utils;
19 19
 
20 20
 class Properties extends AbstractFileParser
21 21
 {
Please login to merge, or discard this patch.
src/FileParser/Toml.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     /**
71 71
      * Returns the formatted configuration file contents.
72 72
      *
73
-     * @param   array   $content  configuration array
73
+     * @param   array   $contents  configuration array
74 74
      * @return  string  formatted configuration file contents
75 75
      * @since 0.2.4
76 76
      * @codeCoverageIgnore
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 
13 13
 namespace Exen\Konfig\FileParser;
14 14
 
15
-use Exen\Konfig\Utils;
16 15
 use Exen\Konfig\Exception\Exception;
17 16
 use Exen\Konfig\Exception\ParseException;
17
+use Exen\Konfig\Utils;
18 18
 
19 19
 use Yosymfony\Toml\Toml as TomlLib;
20 20
 
Please login to merge, or discard this patch.
src/FileParser/Xml.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * Loads in the given file and parses it.
59 59
      *
60 60
      * @param   string  $file File to load
61
-     * @return  array
61
+     * @return  \SimpleXMLElement
62 62
      * @since 0.2.4
63 63
      * @codeCoverageIgnore
64 64
      */
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * Returns the formatted configuration file contents.
78 78
      *
79
-     * @param   array   $content  configuration array
79
+     * @param   array   $contents  configuration array
80 80
      * @return  string  formatted configuration file contents
81 81
      * @since 0.2.4
82 82
      * @codeCoverageIgnore
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 
13 13
 namespace Exen\Konfig\FileParser;
14 14
 
15
-use Exen\Konfig\Utils;
16 15
 use Exen\Konfig\Exception\Exception;
17 16
 use Exen\Konfig\Exception\ParseException;
17
+use Exen\Konfig\Utils;
18 18
 
19 19
 class Xml extends AbstractFileParser
20 20
 {
Please login to merge, or discard this patch.