ampache/ampache

View on GitHub
src/Module/WebDav/WebDavCatalog.php

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

        // Warning: this means that two items with the same name will not be supported for now TODO support folders instead of objects
Severity: Minor
Found in src/Module/WebDav/WebDavCatalog.php by fixme

syntax error, unexpected 'int' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private int $catalog_id;
Severity: Critical
Found in src/Module/WebDav/WebDavCatalog.php by phan

The parameter $catalog_id is not named in camelCase.
Open

    public function __construct(int $catalog_id)
    {
        $this->catalog_id = $catalog_id;
    }
Severity: Minor
Found in src/Module/WebDav/WebDavCatalog.php by phpmd

CamelCaseParameterName

Since: 0.2

It is considered best practice to use the camelCase notation to name parameters.

Example

class ClassName {
    public function doSomething($user_name) {
    }
}

Source

There are no issues that match your filters.

Category
Status