condorrocks/condor

View on GitHub
app/Board.php

Summary

Maintainability
A
0 mins
Test Coverage

The parameter $alert_to is not named in camelCase.
Open

    public function setAlertToAttribute($alert_to)
    {
        $this->attributes['alert_to'] = trim($alert_to) ?: null;
    }
Severity: Minor
Found in app/Board.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 $alert_to is not named in camelCase.
Open

    public function setAlertToAttribute($alert_to)
    {
        $this->attributes['alert_to'] = trim($alert_to) ?: null;
    }
Severity: Minor
Found in app/Board.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