lancew/DojoList

View on GitHub
tests-old/sync_test.php

Summary

Maintainability
A
0 mins
Test Coverage

The variable $dojo_array is not named in camelCase.
Open

    function testDojoNotInLocal()
    {
        
        unlink('data/dojo_test.xml');
        $dojo_array = array(
Severity: Minor
Found in tests-old/sync_test.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

The variable $dojo_array is not named in camelCase.
Open

    function testListDojoNotInLocal()
    {
        
        $dojo_array = array(
                     'DojoName' => 'test_dojo', 
Severity: Minor
Found in tests-old/sync_test.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

The variable $dojo_array is not named in camelCase.
Open

    function testDojoNotInLocal()
    {
        
        unlink('data/dojo_test.xml');
        $dojo_array = array(
Severity: Minor
Found in tests-old/sync_test.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

The variable $dojo_array is not named in camelCase.
Open

    function testListDojoNotInLocal()
    {
        
        $dojo_array = array(
                     'DojoName' => 'test_dojo', 
Severity: Minor
Found in tests-old/sync_test.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