Kint_Object_Parameter does not seem to conform to the naming convention (^[A-Z][a-zA-Z0-9]*$).
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.
The property $type_hint is not named in camelCase.
This check marks property names that have not been written in camelCase.
In camelCase names are written without any punctuation, the start of each new word being marked
by a capital letter. Thus the name database connection string becomes databaseConnectionString.
$type_hint does not seem to conform to the naming convention (^[a-z][a-zA-Z0-9]*$).
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...
6
public $default = null;
7
public $position = null;
8
public $hints = array('parameter');
9
10
public function getType()
11
{
12
return $this->type_hint;
13
}
14
15
public function getName()
16
{
17
return '$'.$this->name;
18
}
19
20
public function __construct(ReflectionParameter $param)
21
{
22
if (method_exists('ReflectionParameter', 'getType')) {
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.