agorlov/lipid

View on GitHub
src/App/ApplicationStd.php

Summary

Maintainability
A
0 mins
Test Coverage

The parameter $SERVER is not named in camelCase.
Wontfix

    public function __construct($action, Response $response = null, Request $SERVER = null)
    {
        if ($action instanceof Action) {
            $this->action = $action;
        } elseif (is_array($action)) {
Severity: Minor
Found in src/App/ApplicationStd.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 $SERVER is not named in camelCase.
Wontfix

    public function __construct($action, Response $response = null, Request $SERVER = null)
    {
        if ($action instanceof Action) {
            $this->action = $action;
        } elseif (is_array($action)) {
Severity: Minor
Found in src/App/ApplicationStd.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