YetiForceCompany/YetiForceCRM

View on GitHub
dav.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Call to undeclared method \App\Integrations\Dav\Server::start
Open

$server->start();
Severity: Critical
Found in dav.php by phan

Call to undeclared method \App\Integrations\Dav\Server::setBaseUri
Open

$server->setBaseUri($_SERVER['SCRIPT_NAME']);
Severity: Critical
Found in dav.php by phan

Call to method __construct from undeclared class \Sabre\DAV\Auth\Plugin
Open

$server->addPlugin(new Sabre\DAV\Auth\Plugin($authBackend));
Severity: Critical
Found in dav.php by phan

Call to method __construct from undeclared class \Sabre\CalDAV\Subscriptions\Plugin
Open

    $server->addPlugin(new Sabre\CalDAV\Subscriptions\Plugin());
Severity: Critical
Found in dav.php by phan

Call to method __construct from undeclared class \Sabre\CalDAV\Schedule\Plugin
Open

    $server->addPlugin(new Sabre\CalDAV\Schedule\Plugin());
Severity: Critical
Found in dav.php by phan

Call to method __construct from undeclared class \Sabre\CardDAV\AddressBookRoot
Open

    $nodes[] = new Sabre\CardDAV\AddressBookRoot($principalBackend, $cardBackend);
Severity: Critical
Found in dav.php by phan

Call to method __construct from undeclared class \Sabre\CardDAV\Plugin
Open

    $server->addPlugin(new Sabre\CardDAV\Plugin());
Severity: Critical
Found in dav.php by phan

Call to undeclared method \App\Integrations\Dav\Server::addPlugin
Open

    $server->addPlugin(new Sabre\CardDAV\Plugin());
Severity: Critical
Found in dav.php by phan

Call to undeclared method \App\Integrations\Dav\Server::addPlugin
Open

    $server->addPlugin(new \App\Integrations\Dav\Debug());
Severity: Critical
Found in dav.php by phan

Call to method __construct from undeclared class \Sabre\CalDAV\Principal\Collection
Open

    $nodes[] = new Sabre\CalDAV\Principal\Collection($principalBackend);
Severity: Critical
Found in dav.php by phan

Call to method __construct from undeclared class \Sabre\CalDAV\Plugin
Open

    $server->addPlugin(new Sabre\CalDAV\Plugin());
Severity: Critical
Found in dav.php by phan

Static property 'exposeVersion' on \App\Integrations\Dav\Server is undeclared
Open

\App\Integrations\Dav\Server::$exposeVersion = false;
Severity: Critical
Found in dav.php by phan

Call to undeclared method \App\Integrations\Dav\Server::addPlugin
Open

    $server->addPlugin(new Sabre\DAV\Browser\Plugin());
Severity: Critical
Found in dav.php by phan

Call to undeclared method \App\Integrations\Dav\Server::addPlugin
Open

    $server->addPlugin(new Sabre\CalDAV\Plugin());
Severity: Critical
Found in dav.php by phan

Call with 1 arg(s) to \App\Integrations\Dav\Backend\Calendar::__construct() which only takes 0 arg(s) defined at /code/app/Integrations/Dav/Backend/Calendar.php:21
Open

    $calendarBackend = new \App\Integrations\Dav\Backend\Calendar($pdo);
Severity: Info
Found in dav.php by phan

Call to undeclared method \App\Integrations\Dav\Server::addPlugin
Open

    $server->addPlugin(new Sabre\CalDAV\Schedule\Plugin());
Severity: Critical
Found in dav.php by phan

Call with 1 arg(s) to \App\Integrations\Dav\Backend\Card::__construct() which only takes 0 arg(s) defined at /code/app/Integrations/Dav/Backend/Card.php:20
Open

    $cardBackend = new \App\Integrations\Dav\Backend\Card($pdo);
Severity: Info
Found in dav.php by phan

Call to method __construct from undeclared class \Sabre\DAVACL\Plugin
Open

$aclPlugin = new Sabre\DAVACL\Plugin();
Severity: Critical
Found in dav.php by phan

Call with 1 arg(s) to \App\Integrations\Dav\Backend\Auth::__construct() which only takes 0 arg(s) defined at /code/app/Integrations/Dav/Backend/Auth.php:22
Open

$authBackend = new \App\Integrations\Dav\Backend\Auth($pdo);
Severity: Info
Found in dav.php by phan

Call to undeclared method \App\Integrations\Dav\Server::addPlugin
Open

    $server->addPlugin(new Sabre\DAV\Sync\Plugin());
Severity: Critical
Found in dav.php by phan

Call to method __construct from undeclared class \Sabre\DAV\Browser\Plugin
Open

    $server->addPlugin(new Sabre\DAV\Browser\Plugin());
Severity: Critical
Found in dav.php by phan

Call to method __construct from undeclared class \Sabre\DAVACL\PrincipalCollection
Open

    new Sabre\DAVACL\PrincipalCollection($principalBackend),
Severity: Critical
Found in dav.php by phan

Call to undeclared method \App\Integrations\Dav\Server::addPlugin
Open

$server->addPlugin($aclPlugin);
Severity: Critical
Found in dav.php by phan

Call to undeclared method \App\Integrations\Dav\Server::addPlugin
Open

$server->addPlugin(new Sabre\DAV\Auth\Plugin($authBackend));
Severity: Critical
Found in dav.php by phan

Call with 1 arg(s) to \App\Integrations\Dav\Backend\AclPrincipal::__construct() which only takes 0 arg(s) defined at /code/app/Integrations/Dav/Backend/AclPrincipal.php:21
Open

$principalBackend = new \App\Integrations\Dav\Backend\AclPrincipal($pdo);
Severity: Info
Found in dav.php by phan

Call with 1 arg(s) to \App\Integrations\Dav\Server::__construct() which only takes 0 arg(s) defined at /code/app/Integrations/Dav/Server.php:19
Open

$server = new \App\Integrations\Dav\Server($nodes);
Severity: Info
Found in dav.php by phan

Call to method __construct from undeclared class \Sabre\CalDAV\CalendarRoot
Open

    $nodes[] = new Sabre\CalDAV\CalendarRoot($principalBackend, $calendarBackend);
Severity: Critical
Found in dav.php by phan

Reference to undeclared property \App\Integrations\Dav\Server->debugExceptions
Open

$server->debugExceptions = \App\Config::debug('davDebugExceptions', false);
Severity: Minor
Found in dav.php by phan

Call to undeclared method \App\Integrations\Dav\Server::addPlugin
Open

    $server->addPlugin(new Sabre\CalDAV\Subscriptions\Plugin());
Severity: Critical
Found in dav.php by phan

Reference to instance property adminPrincipals from undeclared class \Sabre\DAVACL\Plugin
Open

$aclPlugin->adminPrincipals = [];
Severity: Minor
Found in dav.php by phan

Call to method __construct from undeclared class \Sabre\DAV\Sync\Plugin
Open

    $server->addPlugin(new Sabre\DAV\Sync\Plugin());
Severity: Critical
Found in dav.php by phan

Spaces must be used to indent lines; tabs are not allowed
Open

    $apiLog = new \App\Exceptions\NoPermittedToApi();
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $calendarBackend = new \App\Integrations\Dav\Backend\Calendar($pdo);
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $nodes[] = new Sabre\CalDAV\CalendarRoot($principalBackend, $calendarBackend);
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    // CalDAV integration
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    // CardDav integration
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $cardBackend = new \App\Integrations\Dav\Backend\Card($pdo);
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $nodes[] = new Sabre\CardDAV\AddressBookRoot($principalBackend, $cardBackend);
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $server->addPlugin(new Sabre\CalDAV\Schedule\Plugin());
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    require __DIR__ . '/include/main/WebUI.php';
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    return;
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $server->addPlugin(new Sabre\DAV\Browser\Plugin());
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    new Sabre\DAVACL\PrincipalCollection($principalBackend),
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $server->addPlugin(new Sabre\DAV\Sync\Plugin());
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $server->addPlugin(new Sabre\CalDAV\Subscriptions\Plugin());
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $server->addPlugin(new \App\Integrations\Dav\Debug());
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $apiLog->stop('Dav - Service is not active');
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $server->addPlugin(new Sabre\CalDAV\Plugin());
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    // Web/Browser interface for exploring DAV
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    // WebDAV integration
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $nodes[] = new Sabre\CalDAV\Principal\Collection($principalBackend);
Severity: Minor
Found in dav.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $server->addPlugin(new Sabre\CardDAV\Plugin());
Severity: Minor
Found in dav.php by phpcodesniffer

There are no issues that match your filters.

Category
Status