Formula9/Framework

View on GitHub
Nine/Views/TwigConfigurationSet.php

Summary

Maintainability
A
0 mins
Test Coverage

The parameter $twig_settings is not named in camelCase.
Open

    public function __construct($twig_settings)
    {
        parent::__construct($twig_settings);
    }
Severity: Minor
Found in Nine/Views/TwigConfigurationSet.php by phpmd

CamelCaseParameterName

Since: 0.2

It is considered best practice to use the camelCase notation to name parameters.

Example

class ClassName {
    public function doSomething($user_name) {
    }
}

Source

The variable $twig_settings is not named in camelCase.
Open

    public function __construct($twig_settings)
    {
        parent::__construct($twig_settings);
    }
Severity: Minor
Found in Nine/Views/TwigConfigurationSet.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

There are no issues that match your filters.

Category
Status