Showing 651 of 651 total issues

The method _set_module_path is not named in camelCase.
Open

    protected function _set_module_path(&$_route)
    {
        if (! empty($_route)) {
            // Are module/directory/controller/method segments being specified?
            $sgs = sscanf($_route, '%[^/]/%[^/]/%[^/]/%s', $module, $directory, $class, $method);
Severity: Minor
Found in third_party/MX/Router.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 _ci_load is not named in camelCase.
Open

    public function _ci_load($_ci_data)
    {
        extract($_ci_data);

        if (isset($_ci_view)) {
Severity: Minor
Found in third_party/MX/Loader.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 load_file is not named in camelCase.
Open

    public static function load_file($file, $path, $type = 'other', $result = true)
    {
        $file = str_replace(EXT, '', $file);
        $location = $path.$file.EXT;

Severity: Minor
Found in third_party/MX/Modules.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 parse_routes is not named in camelCase.
Open

    public static function parse_routes($module, $uri)
    {
        // load the route file
        if (! isset(self::$routes[$module])) {
            // Backward function
Severity: Minor
Found in third_party/MX/Modules.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

Call to undeclared function \log_message()
Open

        log_message('debug', $class.' MX_Controller Initialized');
Severity: Critical
Found in third_party/MX/Controller.php by phan

Reference to undeclared property \MX_Controller->load
Open

        $this->load = clone load_class('Loader');
Severity: Minor
Found in third_party/MX/Controller.php by phan

Saw unextractable annotation for comment '* @method __get'
Open

     * @method __get
Severity: Info
Found in third_party/MX/Controller.php by phan

The phpdoc comment for @method cannot occur on a method
Open

     * @method __construct
Severity: Info
Found in third_party/MX/Base.php by phan

The phpdoc comment for @method cannot occur on a method
Open

    * @method library
Severity: Info
Found in third_party/MX/Loader.php by phan

Saw unextractable annotation for comment '* @method libraries'
Open

     * @method libraries
Severity: Info
Found in third_party/MX/Loader.php by phan

The phpdoc comment for @method cannot occur on a method
Open

     * @method load
Severity: Info
Found in third_party/MX/Config.php by phan

Saw unextractable annotation for comment '* @param [type] $object_name [description]'
Open

     * @param  [type]  $object_name [description]
Severity: Info
Found in third_party/MX/Loader.php by phan

Saw unextractable annotation for comment '* @method __construct'
Open

     * @method __construct
Severity: Info
Found in third_party/MX/Controller.php by phan

Reference to undeclared property \CI->db
Open

            isset(CI::$APP->db) && is_object(CI::$APP->db) && ! empty(CI::$APP->db->conn_id)) {
Severity: Minor
Found in third_party/MX/Loader.php by phan

Saw unextractable annotation for comment '* @return [type] [description]'
Open

     * @return [type]         [description]
Severity: Info
Found in third_party/MX/Loader.php by phan

Saw unextractable annotation for comment '* @method languages'
Open

     * @method languages
Severity: Info
Found in third_party/MX/Loader.php by phan

Reference to undeclared property \MX_Loader->_ci_classes
Open

            $this->_ci_classes[$class] = $_alias;
Severity: Minor
Found in third_party/MX/Loader.php by phan

Saw unextractable annotation for comment '* @method module'
Open

     * @method module
Severity: Info
Found in third_party/MX/Loader.php by phan

Class \CI defined at /code/third_party/MX/Ci.php:39 was previously defined as Class \CI at /code/third_party/MX/Base.php:40
Open

class CI
Severity: Minor
Found in third_party/MX/Ci.php by phan

Reference to undeclared property \MX_Lang->language
Open

                $this->language = array_merge($this->language, $lang);
Severity: Minor
Found in third_party/MX/Lang.php by phan
Severity
Category
Status
Source
Language