lancew/DojoList

View on GitHub

Showing 1,940 of 1,940 total issues

The variable $quote_style is not named in camelCase.
Open

    function htmlspecialchars_decode($string, $quote_style = ENT_COMPAT)
    {
        return limonade_htmlspecialchars_decode($string, $quote_style);
    }
Severity: Minor
Found in lib/limonade.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 $http_request is not named in camelCase.
Open

function _recaptcha_http_post($host, $path, $data, $port = 80) 
{

        $req = _recaptcha_qsencode($data);

Severity: Minor
Found in lib/recaptchalib.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 $block_size is not named in camelCase.
Open

function _recaptcha_aes_pad($val) 
{
    $block_size = 16;
    $numpad = $block_size - (strlen($val) % $block_size);
    return str_pad($val, strlen($val) + $numpad, chr($numpad));
Severity: Minor
Found in lib/recaptchalib.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 $item_count is not named in camelCase.
Open

function Delete_Oldest_rss($max_items='20')
{
    $new_rss = RSS_header();
    $item_count = 0;
    $rss = Load_RSS_data();
Severity: Minor
Found in lib/rss.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 $item_count is not named in camelCase.
Open

function Add_Rss_item($item_array = null)
{
    $new_rss = RSS_header();
    $item_count = 0;
    $rss = Load_RSS_data();
Severity: Minor
Found in lib/rss.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 $fardojolist_up is not named in camelCase.
Open

function ListNewerFarDojo($file)
{
    $farxml = LoadFarXML($file);
    $localxml = Load_Xml_data();
    
Severity: Minor
Found in lib/sync.model.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 method testLoad_default_xml_data is not named in camelCase.
Open

    function testLoad_default_xml_data()
    {
        $this->assertTrue(Load_Xml_data('data/data.xml'));
    }
Severity: Minor
Found in tests-old/data_test.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method testLoad_specific_xml_data is not named in camelCase.
Open

    function testLoad_specific_xml_data()
    {
        $this->assertTrue(Load_Xml_data('data/data.xml'));
    }
Severity: Minor
Found in tests-old/data_test.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method AllTests is not named in camelCase.
Open

    function AllTests()
    {
        $this->TestSuite('All tests');
        $this->addFile('tests/dojo_test.php');
        $this->addFile('tests/data_test.php');
Severity: Minor
Found in tests-old/all_tests.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method TestAddRssItem is not named in camelCase.
Open

    function TestAddRssItem()
    {
        $item_array = array('description' => 'test_add');
        //print_r($item_array);
        Add_rss_item($item_array);
Severity: Minor
Found in tests-old/rss_test.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method TestDeleteOldestRss is not named in camelCase.
Open

    function TestDeleteOldestRss()
    {
        $text = Delete_oldest_rss();
        $this->assertEqual($text, 'data/dojo.rss');

Severity: Minor
Found in tests-old/rss_test.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method testLoad_wrong_file is not named in camelCase.
Open

    function testLoad_wrong_file()
    {
        $this->assertEqual(Load_Xml_data('data/No_file.xml'), 'Failed to load XML');
    }
Severity: Minor
Found in tests-old/data_test.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method testFind_Dojo_all is not named in camelCase.
Open

    function testFind_Dojo_all()
    {
        $this->assertTrue(Find_Dojo_all());
    }
Severity: Minor
Found in tests-old/dojo_test.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method testSave_data is not named in camelCase.
Open

    function testSave_data()
    {
        include_once 'lib/data.model.php';
        $xml = Load_Xml_data('data/test.xml');
        $response = Save_Xml_data($xml, 'data/test1.xml');
Severity: Minor
Found in tests-old/data_test.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method testFind_dojo_Alresford is not named in camelCase.
Open

    function testFind_dojo_Alresford()
    {
        $this->assertTrue(Find_dojo('Alresford Judo Club'));
    }
Severity: Minor
Found in tests-old/dojo_test.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method testFind_dojo_doesnotexist is not named in camelCase.
Open

    function testFind_dojo_doesnotexist()
    {
        $this->assertFalse(Find_dojo('fake'));
    }
Severity: Minor
Found in tests-old/dojo_test.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method TestLoadRssFile is not named in camelCase.
Open

    function TestLoadRssFile()
    {
        $this->assertTrue(Load_RSS_data());
    }
Severity: Minor
Found in tests-old/rss_test.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method testFind_dojo_AlresfordDetails is not named in camelCase.
Open

    function testFind_dojo_AlresfordDetails()
    {
        $xml = Find_dojo('Alresford Judo Club');
        $text = $xml->DojoName;
        $this->assertEqual($text, 'Alresford Judo Club');
Severity: Minor
Found in tests-old/dojo_test.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

FIXME found
Open

    return this.ne == this.sw; // is this right? FIXME
Severity: Minor
Found in js/mapstraction.js by fixme

TODO found
Open

            case 'viamichelin': // TODO
Severity: Minor
Found in js/mapstraction.js by fixme
Severity
Category
Status
Source
Language