@@ -1,22 +1,22 @@ |
||
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 |
@@ -1,21 +1,21 @@ |
||
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 |
@@ -1,21 +1,21 @@ |
||
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 |
@@ -96,7 +96,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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); |
@@ -1,21 +1,21 @@ |
||
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. |
@@ -1,21 +1,21 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * PHP: Nelson Martell Library file |
|
4 | - * |
|
5 | - * Content: |
|
6 | - * - Global functions definition for NML. |
|
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.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 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.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; |
@@ -1,22 +1,22 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * PHP: Nelson Martell Library file |
|
4 | - * |
|
5 | - * Content: |
|
6 | - * - Trait definition: [NelsonMartell\Collections] CollectionIterator |
|
7 | - * - Class definition: [NelsonMartell\Collections] Collection |
|
8 | - * |
|
9 | - * Copyright © 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 2015 Nelson Martell |
|
16 | - * @link http://nelson6e65.github.io/php_nml/ |
|
17 | - * @since v0.4.0 |
|
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 | + * - Trait definition: [NelsonMartell\Collections] CollectionIterator |
|
7 | + * - Class definition: [NelsonMartell\Collections] Collection |
|
8 | + * |
|
9 | + * Copyright © 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 2015 Nelson Martell |
|
16 | + * @link http://nelson6e65.github.io/php_nml/ |
|
17 | + * @since v0.4.0 |
|
18 | + * @license http://www.opensource.org/licenses/mit-license.php The MIT License (MIT) |
|
19 | + * */ |
|
20 | 20 | |
21 | 21 | namespace NelsonMartell\Collections; |
22 | 22 |
@@ -144,8 +144,8 @@ discard block |
||
144 | 144 | |
145 | 145 | if (property_exists($this, $name) === false) { |
146 | 146 | $args = [ |
147 | - 'class' => typeof($this)->Name, |
|
148 | - 'property' => $name, |
|
147 | + 'class' => typeof($this)->Name, |
|
148 | + 'property' => $name, |
|
149 | 149 | ]; |
150 | 150 | |
151 | 151 | $msg = nml_msg('Property "{class}::{property}" do not exists.', $args); |
@@ -176,8 +176,8 @@ discard block |
||
176 | 176 | |
177 | 177 | if (method_exists($this, $name) === false) { |
178 | 178 | $args = [ |
179 | - 'class' => typeof($this)->Name, |
|
180 | - 'method' => $name, |
|
179 | + 'class' => typeof($this)->Name, |
|
180 | + 'method' => $name, |
|
181 | 181 | ]; |
182 | 182 | |
183 | 183 | $msg = nml_msg('Method "{class}::{method}" do not exists.', $args); |
@@ -206,8 +206,8 @@ discard block |
||
206 | 206 | $setter = $this->ensureMethodExists($setter); |
207 | 207 | } catch (BadMethodCallException $error) { |
208 | 208 | $args = [ |
209 | - 'class' => typeof($this)->Name, |
|
210 | - 'name' => $name, |
|
209 | + 'class' => typeof($this)->Name, |
|
210 | + 'name' => $name, |
|
211 | 211 | ]; |
212 | 212 | |
213 | 213 | $msg = nml_msg('Property "{class}::{name}" has not a setter.', $args); |
@@ -236,8 +236,8 @@ discard block |
||
236 | 236 | $getter = $this->ensureMethodExists($getter); |
237 | 237 | } catch (BadMethodCallException $error) { |
238 | 238 | $args = [ |
239 | - 'class' => typeof($this)->Name, |
|
240 | - 'name' => $name, |
|
239 | + 'class' => typeof($this)->Name, |
|
240 | + 'name' => $name, |
|
241 | 241 | ]; |
242 | 242 | |
243 | 243 | $msg = nml_msg('Property "{class}::{name}" has not a getter.', $args); |