TextParser does not seem to conform to the naming convention (Utils?$).
This check examines a number of code elements and verifies that they conform
to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties,
methods, parameters, interfaces, classes, exceptions and special methods.
Loading history...
15
{
16
/**
17
* Truncating text.
18
*
19
* @param string $text
20
* @param bool|int $length
21
* @param bool $addDots
22
*
23
* @return string
24
*/
25
public static function textTruncate($text, $length = false, $addDots = true)
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.