Completed
Pull Request — master (#23)
by Nelson
03:31
created
src/IntString.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
          * Nota: Cualquier objeto que no sea instancia de IntString se
105 105
          * considerará menor.
106 106
          *
107
-         * @param IntString|mixed $other Objeto con el que se va a comparar.
107
+         * @param VersionComponent $other Objeto con el que se va a comparar.
108 108
          *
109 109
          * @return integer Cero (0), si esta instancia es igual a $other; mayor
110 110
          *   a cero (>0), si es mayor a $other; menor a cero (<0), si es menor.
Please login to merge, or discard this patch.
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHP: Nelson Martell Library file
4
- *
5
- * Content:
6
- * - Class definition:  [NelsonMartell]  IntString
7
- *
8
- * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io)
9
- *
10
- * Licensed under The MIT License (MIT)
11
- * For full copyright and license information, please see the LICENSE
12
- * Redistributions of files must retain the above copyright notice.
13
- *
14
- * @copyright 2015-2016 Nelson Martell
15
- * @link      http://nelson6e65.github.io/php_nml/
16
- * @since     v0.1.1
17
- * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
18
- * */
3
+     * PHP: Nelson Martell Library file
4
+     *
5
+     * Content:
6
+     * - Class definition:  [NelsonMartell]  IntString
7
+     *
8
+     * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io)
9
+     *
10
+     * Licensed under The MIT License (MIT)
11
+     * For full copyright and license information, please see the LICENSE
12
+     * Redistributions of files must retain the above copyright notice.
13
+     *
14
+     * @copyright 2015-2016 Nelson Martell
15
+     * @link      http://nelson6e65.github.io/php_nml/
16
+     * @since     v0.1.1
17
+     * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
18
+     * */
19 19
 
20 20
 namespace NelsonMartell {
21 21
 
Please login to merge, or discard this patch.
src/Version.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@
 block discarded – undo
38 38
          *
39 39
          * @param int                              $major    Componente principal
40 40
          * @param int                              $minor    Componente secundario
41
-         * @param int|string|VersionComponent|null $build    Componente de compilación
42
-         * @param int|string|VersionComponent|null $revision Componente de revisión
41
+         * @param VersionComponent|null $build    Componente de compilación
42
+         * @param VersionComponent|null $revision Componente de revisión
43 43
          *
44 44
          * @throws InvalidArgumentException
45 45
          * */
Please login to merge, or discard this patch.
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHP: Nelson Martell Library file
4
- *
5
- * Content:
6
- * - Class definition:  [NelsonMartell]  Version
7
- *
8
- * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io)
9
- *
10
- * Licensed under The MIT License (MIT)
11
- * For full copyright and license information, please see the LICENSE
12
- * Redistributions of files must retain the above copyright notice.
13
- *
14
- * @copyright 2015-2016 Nelson Martell
15
- * @link      http://nelson6e65.github.io/php_nml/
16
- * @since     v0.1.1
17
- * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
18
- * */
3
+     * PHP: Nelson Martell Library file
4
+     *
5
+     * Content:
6
+     * - Class definition:  [NelsonMartell]  Version
7
+     *
8
+     * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io)
9
+     *
10
+     * Licensed under The MIT License (MIT)
11
+     * For full copyright and license information, please see the LICENSE
12
+     * Redistributions of files must retain the above copyright notice.
13
+     *
14
+     * @copyright 2015-2016 Nelson Martell
15
+     * @link      http://nelson6e65.github.io/php_nml/
16
+     * @since     v0.1.1
17
+     * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
18
+     * */
19 19
 
20 20
 namespace NelsonMartell {
21 21
 
Please login to merge, or discard this patch.
src/VersionComponent.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
         /**
167 167
          * Getter method for VersionComponent::IntValue property.
168 168
          *
169
-         * @return integer|NULL
169
+         * @return integer
170 170
          * */
171 171
         public function getIntValue()
172 172
         {
Please login to merge, or discard this patch.
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHP: Nelson Martell Library file
4
- *
5
- * Content:
6
- * - Class definition:  [NelsonMartell]  VersionComponent
7
- *
8
- * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io)
9
- *
10
- * Licensed under The MIT License (MIT)
11
- * For full copyright and license information, please see the LICENSE
12
- * Redistributions of files must retain the above copyright notice.
13
- *
14
- * @copyright 2015-2016 Nelson Martell
15
- * @link      http://nelson6e65.github.io/php_nml/
16
- * @since     v0.1.1
17
- * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
18
- * */
3
+     * PHP: Nelson Martell Library file
4
+     *
5
+     * Content:
6
+     * - Class definition:  [NelsonMartell]  VersionComponent
7
+     *
8
+     * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io)
9
+     *
10
+     * Licensed under The MIT License (MIT)
11
+     * For full copyright and license information, please see the LICENSE
12
+     * Redistributions of files must retain the above copyright notice.
13
+     *
14
+     * @copyright 2015-2016 Nelson Martell
15
+     * @link      http://nelson6e65.github.io/php_nml/
16
+     * @since     v0.1.1
17
+     * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
18
+     * */
19 19
 
20 20
 namespace NelsonMartell {
21 21
 
Please login to merge, or discard this patch.
src/Type.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHP: Nelson Martell Library file
4
- *
5
- * Content:
6
- * - Class definition:    [NelsonMartell]  Type
7
- * - Function definition: []               typeof(mixed)
8
- *
9
- * Copyright © 2013-2015 Nelson Martell (http://nelson6e65.github.io)
10
- *
11
- * Licensed under The MIT License (MIT)
12
- * For full copyright and license information, please see the LICENSE
13
- * Redistributions of files must retain the above copyright notice.
14
- *
15
- * @copyright 2013-2015 Nelson Martell
16
- * @link      http://nelson6e65.github.io/php_nml/
17
- * @since     v0.1.1
18
- * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
19
- * */
3
+     * PHP: Nelson Martell Library file
4
+     *
5
+     * Content:
6
+     * - Class definition:    [NelsonMartell]  Type
7
+     * - Function definition: []               typeof(mixed)
8
+     *
9
+     * Copyright © 2013-2015 Nelson Martell (http://nelson6e65.github.io)
10
+     *
11
+     * Licensed under The MIT License (MIT)
12
+     * For full copyright and license information, please see the LICENSE
13
+     * Redistributions of files must retain the above copyright notice.
14
+     *
15
+     * @copyright 2013-2015 Nelson Martell
16
+     * @link      http://nelson6e65.github.io/php_nml/
17
+     * @since     v0.1.1
18
+     * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
19
+     * */
20 20
 
21 21
 namespace NelsonMartell {
22 22
 
Please login to merge, or discard this patch.
src/Utilities/UnitTesting/Assert.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
                 );
97 97
 
98 98
                 if ($msg) {
99
-                    $error .= ' ' . sprintf(dgettext('nml', 'Message: %s'), $msg);
99
+                    $error .= ' '.sprintf(dgettext('nml', 'Message: %s'), $msg);
100 100
                 }
101 101
 
102 102
                 trigger_error($error, E_USER_WARNING);
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
                 );
150 150
 
151 151
                 if ($msg) {
152
-                    $error .= ' ' . sprintf(dgettext('nml', 'Message: %s'), $msg);
152
+                    $error .= ' '.sprintf(dgettext('nml', 'Message: %s'), $msg);
153 153
                 }
154 154
 
155 155
                 trigger_error($error, E_USER_WARNING);
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
                         );
219 219
 
220 220
                         if ($msg) {
221
-                            $error .= ' ' . sprintf(dgettext('nml', 'Message: %s'), $msg);
221
+                            $error .= ' '.sprintf(dgettext('nml', 'Message: %s'), $msg);
222 222
                         }
223 223
 
224 224
                         trigger_error($error, E_USER_WARNING);
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
                 );
241 241
 
242 242
                 if ($msg) {
243
-                    $error .= ' ' . sprintf(dgettext('nml', 'Message: %s'), $msg);
243
+                    $error .= ' '.sprintf(dgettext('nml', 'Message: %s'), $msg);
244 244
                 }
245 245
 
246 246
                 trigger_error($error, E_USER_WARNING);
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
                         );
289 289
 
290 290
                         if ($msg) {
291
-                            $error .= ' ' . sprintf(dgettext('nml', 'Message: %s'), $msg);
291
+                            $error .= ' '.sprintf(dgettext('nml', 'Message: %s'), $msg);
292 292
                         }
293 293
 
294 294
                         trigger_error($error, E_USER_WARNING);
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
                 );
311 311
 
312 312
                 if ($msg) {
313
-                    $error .= ' ' . sprintf(dgettext('nml', 'Message: %s'), $msg);
313
+                    $error .= ' '.sprintf(dgettext('nml', 'Message: %s'), $msg);
314 314
                 }
315 315
 
316 316
                 trigger_error($error, E_USER_WARNING);
Please login to merge, or discard this patch.
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHP: Nelson Martell Library file
4
- *
5
- * Content:
6
- * - Class definition:  [NelsonMartell\Utilities\UnitTesting]  Assert
7
- *
8
- * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io)
9
- *
10
- * Licensed under The MIT License (MIT)
11
- * For full copyright and license information, please see the LICENSE
12
- * Redistributions of files must retain the above copyright notice.
13
- *
14
- * @copyright 2015-2016 Nelson Martell
15
- * @link      http://nelson6e65.github.io/php_nml/
16
- * @since     v0.1.1
17
- * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
18
- * */
3
+     * PHP: Nelson Martell Library file
4
+     *
5
+     * Content:
6
+     * - Class definition:  [NelsonMartell\Utilities\UnitTesting]  Assert
7
+     *
8
+     * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io)
9
+     *
10
+     * Licensed under The MIT License (MIT)
11
+     * For full copyright and license information, please see the LICENSE
12
+     * Redistributions of files must retain the above copyright notice.
13
+     *
14
+     * @copyright 2015-2016 Nelson Martell
15
+     * @link      http://nelson6e65.github.io/php_nml/
16
+     * @since     v0.1.1
17
+     * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
18
+     * */
19 19
 
20 20
 namespace NelsonMartell\Utilities\UnitTesting {
21 21
 
Please login to merge, or discard this patch.
src/Extensions/String.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
     /**
101 101
      * Ensures that object given is an string. Else, thows an exception
102 102
      *
103
-     * @param mixed $obj Object to validate.
103
+     * @param string $obj Object to validate.
104 104
      *
105 105
      * @return string Same object given, but ensured that is an string.
106 106
      * @throws InvalidArgumentException if object is not an `string`.
Please login to merge, or discard this patch.
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHP: Nelson Martell Library file
4
- *
5
- * Content:
6
- * - Class definition:  [NelsonMartell\Extensions]  String
7
- *
8
- * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io)
9
- *
10
- * Licensed under The MIT License (MIT)
11
- * For full copyright and license information, please see the LICENSE
12
- * Redistributions of files must retain the above copyright notice.
13
- *
14
- * @copyright 2015-2016 Nelson Martell
15
- * @link      http://nelson6e65.github.io/php_nml/
16
- * @since     v0.4.1
17
- * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
18
- * */
3
+     * PHP: Nelson Martell Library file
4
+     *
5
+     * Content:
6
+     * - Class definition:  [NelsonMartell\Extensions]  String
7
+     *
8
+     * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io)
9
+     *
10
+     * Licensed under The MIT License (MIT)
11
+     * For full copyright and license information, please see the LICENSE
12
+     * Redistributions of files must retain the above copyright notice.
13
+     *
14
+     * @copyright 2015-2016 Nelson Martell
15
+     * @link      http://nelson6e65.github.io/php_nml/
16
+     * @since     v0.4.1
17
+     * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
18
+     * */
19 19
 namespace NelsonMartell\Extensions;
20 20
 
21 21
 use Cake\Utility\Text;
Please login to merge, or discard this patch.
src/functions.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHP: Nelson Martell Library file
4
- *
5
- * Content:
6
- * - Global functions definition for NML.
7
- *
8
- * Copyright © 2016 Nelson Martell (http://nelson6e65.github.io)
9
- *
10
- * Licensed under The MIT License (MIT)
11
- * For full copyright and license information, please see the LICENSE
12
- * Redistributions of files must retain the above copyright notice.
13
- *
14
- * @copyright 2016 Nelson Martell
15
- * @link      http://nelson6e65.github.io/php_nml/
16
- * @since     v0.6.0
17
- * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
18
- * */
3
+     * PHP: Nelson Martell Library file
4
+     *
5
+     * Content:
6
+     * - Global functions definition for NML.
7
+     *
8
+     * Copyright © 2016 Nelson Martell (http://nelson6e65.github.io)
9
+     *
10
+     * Licensed under The MIT License (MIT)
11
+     * For full copyright and license information, please see the LICENSE
12
+     * Redistributions of files must retain the above copyright notice.
13
+     *
14
+     * @copyright 2016 Nelson Martell
15
+     * @link      http://nelson6e65.github.io/php_nml/
16
+     * @since     v0.6.0
17
+     * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
18
+     * */
19 19
 
20 20
 namespace NelsonMartell;
21 21
 
Please login to merge, or discard this patch.
src/deprecated_functions.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHP: Nelson Martell Library file
4
- *
5
- * Content:
6
- * - Global functions definition for NML.
7
- *
8
- * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io)
9
- *
10
- * Licensed under The MIT License (MIT)
11
- * For full copyright and license information, please see the LICENSE
12
- * Redistributions of files must retain the above copyright notice.
13
- *
14
- * @copyright 2015-2016 Nelson Martell
15
- * @link      http://nelson6e65.github.io/php_nml/
16
- * @since     v0.4.5
17
- * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
18
- * */
3
+     * PHP: Nelson Martell Library file
4
+     *
5
+     * Content:
6
+     * - Global functions definition for NML.
7
+     *
8
+     * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io)
9
+     *
10
+     * Licensed under The MIT License (MIT)
11
+     * For full copyright and license information, please see the LICENSE
12
+     * Redistributions of files must retain the above copyright notice.
13
+     *
14
+     * @copyright 2015-2016 Nelson Martell
15
+     * @link      http://nelson6e65.github.io/php_nml/
16
+     * @since     v0.4.5
17
+     * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
18
+     * */
19 19
 
20 20
 use NelsonMartell\Extensions\String;
21 21
 use NelsonMartell\Type;
Please login to merge, or discard this patch.
config/bootstrap.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHP: Nelson Martell Library file
4
- *
5
- * Content:
6
- * - Library initialization
7
- *
8
- * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io)
9
- *
10
- * Licensed under The MIT License (MIT)
11
- * For full copyright and license information, please see the LICENSE
12
- * Redistributions of files must retain the above copyright notice.
13
- *
14
- * @copyright 2015-2016 Nelson Martell
15
- * @link      http://nelson6e65.github.io/php_nml/
16
- * @since     v0.5.0
17
- * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
18
- * */
3
+     * PHP: Nelson Martell Library file
4
+     *
5
+     * Content:
6
+     * - Library initialization
7
+     *
8
+     * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io)
9
+     *
10
+     * Licensed under The MIT License (MIT)
11
+     * For full copyright and license information, please see the LICENSE
12
+     * Redistributions of files must retain the above copyright notice.
13
+     *
14
+     * @copyright 2015-2016 Nelson Martell
15
+     * @link      http://nelson6e65.github.io/php_nml/
16
+     * @since     v0.5.0
17
+     * @license   http://www.opensource.org/licenses/mit-license.php The MIT License (MIT)
18
+     * */
19 19
 
20 20
 // Set the path of translations
21 21
 bindtextdomain(NML_GETTEXT_DOMAIN, __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'Locale');
Please login to merge, or discard this patch.