features/links/lib.php
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class Links {
- Exclude checks
Visibility must be declared on method "undelete_forum_links_for_event" Open
Open
static function undelete_forum_links_for_event($event_id, $conn = null) {
- Exclude checks
Visibility must be declared on method "get_forum_link" Open
Open
static function get_forum_link($theid, $conn = null) {
- Exclude checks
Method name "Links::get_forum_link" is not in camel caps format Open
Open
static function get_forum_link($theid, $conn = null) {
- Exclude checks
Method name "Links::get_forum_links_for_event" is not in camel caps format Open
Open
static function get_forum_links_for_event($event_id, $conn = null) {
- Exclude checks
Visibility must be declared on method "delete_forum_links_for_event" Open
Open
static function delete_forum_links_for_event($event_id, $conn = null) {
- Exclude checks
Visibility must be declared on method "delete_forum_link" Open
Open
static function delete_forum_link($theid, $conn = null) {
- Exclude checks
Method name "Links::save_forum_links" is not in camel caps format Open
Open
static function save_forum_links($forum_links, $conn = null) {
- Exclude checks
Method name "Links::undelete_forum_links_for_event" is not in camel caps format Open
Open
static function undelete_forum_links_for_event($event_id, $conn = null) {
- Exclude checks
Visibility must be declared on method "save_forum_links" Open
Open
static function save_forum_links($forum_links, $conn = null) {
- Exclude checks
Opening brace of a class must be on the line after the definition Open
Open
class Links {
- Exclude checks
Visibility must be declared on method "get_forum_links_for_event" Open
Open
static function get_forum_links_for_event($event_id, $conn = null) {
- Exclude checks
Method name "Links::delete_forum_links_for_event" is not in camel caps format Open
Open
static function delete_forum_links_for_event($event_id, $conn = null) {
- Exclude checks
Method name "Links::delete_forum_link" is not in camel caps format Open
Open
static function delete_forum_link($theid, $conn = null) {
- Exclude checks
Opening brace should be on a new line Open
Open
static function get_forum_link($theid, $conn = null) {
- Exclude checks
Opening brace should be on a new line Open
Open
static function delete_forum_links_for_event($event_id, $conn = null) {
- Exclude checks
Opening brace should be on a new line Open
Open
static function get_forum_links_for_event($event_id, $conn = null) {
- Exclude checks
Opening brace should be on a new line Open
Open
static function save_forum_links($forum_links, $conn = null) {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 10 Open
Open
$forum = Persistence::save_forum($forum_links, $conn);
- Exclude checks
Opening brace should be on a new line Open
Open
static function delete_forum_link($theid, $conn = null) {
- Exclude checks
Opening brace should be on a new line Open
Open
static function undelete_forum_links_for_event($event_id, $conn = null) {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 10 Open
Open
return array("status" => self::ERROR, "error" => $e->getMessage());
- Exclude checks