Showing 910 of 910 total issues
The method render_array is not named in camelCase. Open
Open
function render_array()
{
if (count($this->sort_order) != 2) {
$order = null;
} else {
- Read upRead up
- Exclude checks
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
Open
$this->modif_dtime = gmdate('Y-m-d H:i:s');
- Exclude checks
Class extends undeclared class \Pluf_Model
Open
Open
class ELearn_Domain extends Pluf_Model
- Exclude checks
Call to undeclared method \ELearn_Part::create
Open
Open
$part->create();
- Exclude checks
Reference to undeclared property \ELearn_Part->id
Open
Open
return $this->file_path . '/' . $this->id;
- Exclude checks
Reference to undeclared property \ELearn_PartHistory->_a
Open
Open
$this->_a['cols'] = array(
- Exclude checks
Reference to undeclared property \ELearn_PartHistory->creation_dtime
Open
Open
$this->creation_dtime = gmdate('Y-m-d H:i:s');
- Exclude checks
Call to method __construct
from undeclared class \Pluf_Exception
Open
Open
throw new Pluf_Exception(sprintf(__('Part with the same name exist (name: %s'), $name));
- Exclude checks
Call to method error
from undeclared class \Pluf_Log
Open
Open
Pluf_Log::error(
- Exclude checks
Call to method __construct
from undeclared class \Pluf_SQL
Open
Open
$sql = new Pluf_SQL('topic=%s', array(
- Exclude checks
Call to method __construct
from undeclared class \Pluf_HTTP_Response_Json
Open
Open
return new Pluf_HTTP_Response_Json($paginator->render_object());
- Exclude checks
Call to undeclared function \Pluf_Shortcuts_GetObjectOr404()
Open
Open
$lessonCopy = Pluf_Shortcuts_GetObjectOr404('ELearn_Lesson', $lessonId);
- Exclude checks
Call to method updateObject
from undeclared class \Pluf_Views
Open
Open
return $plufService->updateObject($request, $match, $p);
- Exclude checks
Reference to instance property REQUEST
from undeclared class \Pluf_HTTP_Request
Open
Open
} elseif (isset($request->REQUEST['lessonId'])) {
- Exclude checks
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
Open
$form = new ELearn_Form_PartUpdate(array_merge($request->REQUEST, $request->FILES), $extra);
- Exclude checks
Call to method removedir
from undeclared class \Pluf_FileUtil
Open
Open
Pluf_FileUtil::removedir($tmp_path);
- Exclude checks
Reference to undeclared property \ELearn_Part->modif_dtime
Open
Open
$this->modif_dtime = gmdate('Y-m-d H:i:s');
- Exclude checks
Reference to undeclared property \ELearn_Course->creation_dtime
Open
Open
$this->creation_dtime = gmdate('Y-m-d H:i:s');
- Exclude checks
Reference to undeclared property \ELearn_Part->file_name
Open
Open
$fileInfo = Pluf_FileUtil::getMimeType($this->file_name);
- Exclude checks
Reference to instance property REQUEST
from undeclared class \Pluf_HTTP_Request
Open
Open
$sql = new Pluf_SQL($request->REQUEST['_px_fk'] . '=%s', $request->REQUEST['_px_fv']);
- Exclude checks