YetiForceCompany/YetiForceCRM

View on GitHub
app/Integrations/Dav/Backend/AclPrincipal.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Class extends undeclared class \Sabre\DAVACL\principalbackend\pdo (Did you mean class \PDO)
Open

class AclPrincipal extends DAVACL\PrincipalBackend\PDO

Avoid excessively long variable names like $groupMembersTableName. Keep variable name length under 20.
Open

    public $groupMembersTableName = 'dav_groupmembers';

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

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

     * @var string

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

    /**

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

     *

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

    public $tableName = 'dav_principals';

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

     */

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

     * PDO table name for 'group members'.

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

    /**

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

     * @var string

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

    public $groupMembersTableName = 'dav_groupmembers';

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

     *

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

     */

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

     * PDO table name for 'principals'.

There are no issues that match your filters.

Category
Status