Completed
Push — master ( 446f2e...32b2c3 )
by Nelson
11:26
created

functions.php ➔ nmsg()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 4
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * PHP: Nelson Martell Library file
4
 *
5
 * Content:
6
 * - Aliases of global internal functions in order to make them availables in this namespace.
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
20
namespace NelsonMartell\Collections;
21
22
/**
23
 * @see \NelsonMartell\msg()
24
 * @internal
25
 */
26
function msg($message, $args = null)
27
{
28
    return \NelsonMartell\msg($message, $args);
29
}
30
31
/**
32
 * @see \NelsonMartell\nmsg()
33
 * @internal
34
 */
35
function nmsg($singular, $plural, $n, $args = null)
0 ignored issues
show
Comprehensibility introduced by
Avoid variables with short names like $n. Configured minimum length is 3.

Short variable names may make your code harder to understand. Variable names should be self-descriptive. This check looks for variable names who are shorter than a configured minimum.

Loading history...
36
{
37
    return \NelsonMartell\nmsg($singular, $plural, $n, $args);
38
}
39
40
/**
41
 * @see \NelsonMartell\typeof()
42
 * @internal
43
 */
44
function typeof($obj)
45
{
46
    return \NelsonMartell\typeof($obj);
0 ignored issues
show
Deprecated Code introduced by
The function typeof() has been deprecated with message: since v0.6.0, will be removed in v0.7.0. Use `\NelsonMartell\typeof()` instead.

This function has been deprecated. The supplier of the file has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the function will be removed from the class and what other function to use instead.

Loading history...
47
}
0 ignored issues
show
Coding Style introduced by
As per coding style, files should not end with a newline character.

This check marks files that end in a newline character, i.e. an empy line.

Loading history...
48