Completed
Push — master ( ab4a14...6ea419 )
by Nelson
02:30
created
src/Object.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
- * - Class definition:  [NelsonMartell]  Object
7
- *
8
- * Copyright © 2014-2015 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 2014-2015 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]  Object
7
+     *
8
+     * Copyright © 2014-2015 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 2014-2015 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/PropertiesHandler.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHP: Nelson Martell Library file
4
- *
5
- * Content:
6
- * - Trait definition:  [NelsonMartell]  PropertiesHandler
7
- *
8
- * Copyright © 2015 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 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
+     * - Trait definition:  [NelsonMartell]  PropertiesHandler
7
+     *
8
+     * Copyright © 2015 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 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
 namespace NelsonMartell {
21 21
 
@@ -121,8 +121,8 @@  discard block
 block discarded – undo
121 121
 
122 122
             if (property_exists($this, $name) === false) {
123 123
                 $args = [
124
-                         'class'    => typeof($this)->Name,
125
-                         'property' => $name,
124
+                            'class'    => typeof($this)->Name,
125
+                            'property' => $name,
126 126
                         ];
127 127
 
128 128
                 $msg = nml_msg('Property "{class}::{property}" do not exists.', $args);
@@ -153,8 +153,8 @@  discard block
 block discarded – undo
153 153
 
154 154
             if (method_exists($this, $name) === false) {
155 155
                 $args = [
156
-                         'class'  => typeof($this)->Name,
157
-                         'method' => $name,
156
+                            'class'  => typeof($this)->Name,
157
+                            'method' => $name,
158 158
                         ];
159 159
 
160 160
                 $msg = nml_msg('Method "{class}::{method}" do not exists.', $args);
@@ -182,8 +182,8 @@  discard block
 block discarded – undo
182 182
                 $setter = $this->ensureMethodExists($setter);
183 183
             } catch (BadMethodCallException $error) {
184 184
                 $args = [
185
-                         'class' => typeof($this)->Name,
186
-                         'name'  => $name,
185
+                            'class' => typeof($this)->Name,
186
+                            'name'  => $name,
187 187
                         ];
188 188
 
189 189
                 $msg = nml_msg('Property "{class}::{name}" has not a setter.', $args);
@@ -211,8 +211,8 @@  discard block
 block discarded – undo
211 211
                 $getter = $this->ensureMethodExists($getter);
212 212
             } catch (BadMethodCallException $error) {
213 213
                 $args = [
214
-                         'class' => typeof($this)->Name,
215
-                         'name'  => $name,
214
+                            'class' => typeof($this)->Name,
215
+                            'name'  => $name,
216 216
                         ];
217 217
 
218 218
                 $msg = nml_msg('Property "{class}::{name}" has not a getter.', $args);
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/Asset.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
- * - Class definition:  [NelsonMartell\Utilities]  Asset
7
- *
8
- * Copyright © 2014-2015 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 2014-2015 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]  Asset
7
+     *
8
+     * Copyright © 2014-2015 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 2014-2015 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 {
21 21
 
Please login to merge, or discard this patch.
src/Utilities/UnitTesting/Assert.php 2 patches
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 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 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 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 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.
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.
src/constants.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 constants definitions.
7
- *
8
- * Copyright © 2015 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 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
+     * - Global constants definitions.
7
+     *
8
+     * Copyright © 2015 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 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
 /**
21 21
  * Gettext domain for NML messages.
Please login to merge, or discard this patch.