samizdam/PhamilyFramework

View on GitHub
src/Model/NamingScheme.php

Summary

Maintainability
A
0 mins
Test Coverage

Avoid unused local variables such as '$rules'.
Open

        foreach ($formConfig as $anthroponymType => $rules) {
Severity: Minor
Found in src/Model/NamingScheme.php by phpmd

UnusedLocalVariable

Since: 0.2

Detects when a local variable is declared and/or assigned, but not used.

Example

class Foo {
    public function doSomething()
    {
        $i = 5; // Unused
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

Avoid unused local variables such as '$schemeOrder'.
Open

        $schemeOrder = array_keys($formConfig);
Severity: Minor
Found in src/Model/NamingScheme.php by phpmd

UnusedLocalVariable

Since: 0.2

Detects when a local variable is declared and/or assigned, but not used.

Example

class Foo {
    public function doSomething()
    {
        $i = 5; // Unused
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

Whitespace found at end of line
Open

 *         
Severity: Minor
Found in src/Model/NamingScheme.php by phpcodesniffer

Whitespace found at end of line
Open

 * 
Severity: Minor
Found in src/Model/NamingScheme.php by phpcodesniffer

Whitespace found at end of line
Open

 *         
Severity: Minor
Found in src/Model/NamingScheme.php by phpcodesniffer

There are no issues that match your filters.

Category
Status