features/upload/lib.php
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class Uploader {
- Exclude checks
Opening brace of a class must be on the line after the definition Open
Open
class Uploader {
- Exclude checks
Method name "Uploader::send_file" is not in camel caps format Open
Open
public function send_file($file_path, $event_id = 0) {
- Exclude checks
The closing brace for the class must go on the next line after the body Open
Open
}
- Exclude checks
Opening brace should be on a new line Open
Open
public function send_file($file_path, $event_id = 0) {
- Exclude checks
Opening brace should be on a new line Open
Open
public function __construct($options) {
- Exclude checks