Showing 910 of 910 total issues

The method render_array is not named in camelCase.
Open

    function render_array()
    {
        if (count($this->sort_order) != 2) {
            $order = null;
        } else {
Severity: Minor
Found in src/ELearn/Searcher.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

Reference to undeclared property \ELearn_Comment->modif_dtime
Open

        $this->modif_dtime = gmdate('Y-m-d H:i:s');
Severity: Minor
Found in src/ELearn/Comment.php by phan

Class extends undeclared class \Pluf_Model
Open

class ELearn_Domain extends Pluf_Model
Severity: Critical
Found in src/ELearn/Domain.php by phan

Call to undeclared method \ELearn_Part::create
Open

            $part->create();
Severity: Critical
Found in src/ELearn/Form/PartCreate.php by phan

Reference to undeclared property \ELearn_Part->id
Open

        return $this->file_path . '/' . $this->id;
Severity: Minor
Found in src/ELearn/Part.php by phan

Reference to undeclared property \ELearn_PartHistory->_a
Open

        $this->_a['cols'] = array(
Severity: Minor
Found in src/ELearn/PartHistory.php by phan

Reference to undeclared property \ELearn_PartHistory->creation_dtime
Open

            $this->creation_dtime = gmdate('Y-m-d H:i:s');
Severity: Minor
Found in src/ELearn/PartHistory.php by phan

Call to method __construct from undeclared class \Pluf_Exception
Open

    throw new Pluf_Exception(sprintf(__('Part with the same name exist (name: %s'), $name));
Severity: Critical
Found in src/ELearn/Shortcuts.php by phan

Call to method error from undeclared class \Pluf_Log
Open

        Pluf_Log::error(
Severity: Critical
Found in src/ELearn/Shortcuts.php by phan

Call to method __construct from undeclared class \Pluf_SQL
Open

            $sql = new Pluf_SQL('topic=%s', array(
Severity: Critical
Found in src/ELearn/Views/Course.php by phan

Call to method __construct from undeclared class \Pluf_HTTP_Response_Json
Open

        return new Pluf_HTTP_Response_Json($paginator->render_object());
Severity: Critical
Found in src/ELearn/Views/Lesson.php by phan

Call to undeclared function \Pluf_Shortcuts_GetObjectOr404()
Open

        $lessonCopy = Pluf_Shortcuts_GetObjectOr404('ELearn_Lesson', $lessonId);
Severity: Critical
Found in src/ELearn/Views/Lesson.php by phan

Call to method updateObject from undeclared class \Pluf_Views
Open

        return $plufService->updateObject($request, $match, $p);
Severity: Critical
Found in src/ELearn/Views/Lesson.php by phan

Reference to instance property REQUEST from undeclared class \Pluf_HTTP_Request
Open

        } elseif (isset($request->REQUEST['lessonId'])) {
Severity: Minor
Found in src/ELearn/Views/Part.php by phan

Call with 2 arg(s) to \ELearn_Form_PartUpdate::__construct() which only takes 0 arg(s) defined at /code/src/ELearn/Form/PartUpdate.php:11
Open

        $form = new ELearn_Form_PartUpdate(array_merge($request->REQUEST, $request->FILES), $extra);
Severity: Info
Found in src/ELearn/Views/Part.php by phan

Call to method removedir from undeclared class \Pluf_FileUtil
Open

Pluf_FileUtil::removedir($tmp_path);
Severity: Critical
Found in run.php by phan

Reference to undeclared property \ELearn_Part->modif_dtime
Open

        $this->modif_dtime = gmdate('Y-m-d H:i:s');
Severity: Minor
Found in src/ELearn/Part.php by phan

Reference to undeclared property \ELearn_Course->creation_dtime
Open

            $this->creation_dtime = gmdate('Y-m-d H:i:s');
Severity: Minor
Found in src/ELearn/Course.php by phan

Reference to undeclared property \ELearn_Part->file_name
Open

        $fileInfo = Pluf_FileUtil::getMimeType($this->file_name);
Severity: Minor
Found in src/ELearn/Part.php by phan

Reference to instance property REQUEST from undeclared class \Pluf_HTTP_Request
Open

            $sql = new Pluf_SQL($request->REQUEST['_px_fk'] . '=%s', $request->REQUEST['_px_fv']);
Severity: Minor
Found in src/ELearn/Searcher.php by phan
Severity
Category
Status
Source
Language