qcubed/framework

View on GitHub
includes/watchers/QWatcherNone.class.php

Summary

Maintainability
A
0 mins
Test Coverage

Avoid unused parameters such as '$strFormWatcherTime'.
Open

        static public function FormWatcherChanged (&$strFormWatcherTime) {

UnusedFormalParameter

Since: 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example

class Foo
{
    private function bar($howdy)
    {
        // $howdy is not used
    }
}

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

Avoid unused parameters such as '$strTableName'.
Open

        static public function MarkTableModified ($strDbName, $strTableName) {

UnusedFormalParameter

Since: 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example

class Foo
{
    private function bar($howdy)
    {
        // $howdy is not used
    }
}

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

Avoid unused parameters such as '$strDbName'.
Open

        static public function MarkTableModified ($strDbName, $strTableName) {

UnusedFormalParameter

Since: 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example

class Foo
{
    private function bar($howdy)
    {
        // $howdy is not used
    }
}

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

The method MakeCurrent is not named in camelCase.
Open

        public function MakeCurrent() {
        }

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 FormWatcherChanged is not named in camelCase.
Open

        static public function FormWatcherChanged (&$strFormWatcherTime) {
            return false;
        }

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 MarkTableModified is not named in camelCase.
Open

        static public function MarkTableModified ($strDbName, $strTableName) {
        }

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 IsCurrent is not named in camelCase.
Open

        public function IsCurrent() {
            return true;
        }

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

There are no issues that match your filters.

Category
Status