features/upload/lib.php

Summary

Maintainability
A
0 mins
Test Coverage

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class Uploader {
Severity: Minor
Found in features/upload/lib.php by phpcodesniffer

Opening brace of a class must be on the line after the definition
Open

class Uploader {
Severity: Minor
Found in features/upload/lib.php by phpcodesniffer

Method name "Uploader::send_file" is not in camel caps format
Open

    public function send_file($file_path, $event_id = 0) {
Severity: Minor
Found in features/upload/lib.php by phpcodesniffer

The closing brace for the class must go on the next line after the body
Open

}
Severity: Minor
Found in features/upload/lib.php by phpcodesniffer

Opening brace should be on a new line
Open

    public function send_file($file_path, $event_id = 0) {
Severity: Minor
Found in features/upload/lib.php by phpcodesniffer

Opening brace should be on a new line
Open

    public function __construct($options) {
Severity: Minor
Found in features/upload/lib.php by phpcodesniffer

There are no issues that match your filters.

Category
Status