public/plugin/courseblock/CourseBlockPlugin.php
The property $course_settings is not named in camelCase. Open
Open
class CourseBlockPlugin extends Plugin
{
public $isCoursePlugin = true;
public $addCourseTool = false;
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
Missing function doc comment Open
Open
public function install()
- Exclude checks
Member variable "course_settings" is not in valid camel caps format Open
Open
public $course_settings = [
- Exclude checks
Missing function doc comment Open
Open
public function uninstall()
- Exclude checks
Line indented incorrectly; expected at least 9 spaces, found 8 Open
Open
],
- Exclude checks
Line indented incorrectly; expected at least 9 spaces, found 8 Open
Open
],
- Exclude checks
Line indented incorrectly; expected at least 9 spaces, found 8 Open
Open
[
- Exclude checks
Line indented incorrectly; expected at least 9 spaces, found 8 Open
Open
[
- Exclude checks
Line indented incorrectly; expected at least 9 spaces, found 8 Open
Open
],
- Exclude checks
Line indented incorrectly; expected at least 9 spaces, found 8 Open
Open
],
- Exclude checks
Line indented incorrectly; expected at least 9 spaces, found 8 Open
Open
[
- Exclude checks