chamilo/chamilo-lms

View on GitHub
public/main/lp/aiccResource.class.php

Summary

Maintainability
A
0 mins
Test Coverage

The class aiccResource is not named in CamelCase.
Open

class aiccResource
{
    public $identifier = '';
    public $title = '';
    public $description = '';
Severity: Minor
Found in public/main/lp/aiccResource.class.php by phpmd

CamelCaseClassName

Since: 0.2

It is considered best practice to use the CamelCase notation to name classes.

Example

class class_name {
}

Source

The property $developer_id is not named in camelCase.
Open

class aiccResource
{
    public $identifier = '';
    public $title = '';
    public $description = '';
Severity: Minor
Found in public/main/lp/aiccResource.class.php by phpmd

CamelCasePropertyName

Since: 0.2

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

Example

class ClassName {
    protected $property_name;
}

Source

Member variable "developer_id" is not in valid camel caps format
Open

    public $developer_id = '';

Variable "developer_id" is not in valid camel caps format
Open

                                $this->developer_id = $value;

Arguments with default values must be at the end of the argument list
Open

    public function __construct($type = 'config', $params)

Class name "aiccResource" is not in camel caps format
Open

class aiccResource

There are no issues that match your filters.

Category
Status