open-orchestra/open-orchestra-cms-bundle

View on GitHub
Backoffice/Model/GroupInterface.php

Summary

Maintainability
A
0 mins
Test Coverage

Return type of getWorkflowProfileCollections() is undeclared type \Doctrine\Common\Collections\Collection
Open

    public function getWorkflowProfileCollections();
Severity: Minor
Found in Backoffice/Model/GroupInterface.php by phan

Return type of getWorkflowProfileCollection() is undeclared type \OpenOrchestra\ModelInterface\Model\WorkflowProfileCollectionInterface
Open

    public function getWorkflowProfileCollection($entityType);
Severity: Minor
Found in Backoffice/Model/GroupInterface.php by phan

Return type of getPerimeters() is undeclared type \Doctrine\Common\Collections\Collection
Open

    public function getPerimeters();
Severity: Minor
Found in Backoffice/Model/GroupInterface.php by phan

Parameter $perimeters has undeclared type \Doctrine\Common\Collections\Collection
Open

    public function setPerimeters(Collection $perimeters);
Severity: Minor
Found in Backoffice/Model/GroupInterface.php by phan

Parameter $site has undeclared type \OpenOrchestra\ModelInterface\Model\ReadSiteInterface
Open

    public function setSite(ReadSiteInterface $site = null);
Severity: Minor
Found in Backoffice/Model/GroupInterface.php by phan

Class implements undeclared interface \FOS\UserBundle\Model\GroupInterface (Did you mean interface \OpenOrchestra\Backoffice\Model\GroupInterface)
Open

interface GroupInterface extends BaseGroupInterface, SoftDeleteableInterface
Severity: Critical
Found in Backoffice/Model/GroupInterface.php by phan

Return type of getSite() is undeclared type \OpenOrchestra\ModelInterface\Model\ReadSiteInterface
Open

    public function getSite();
Severity: Minor
Found in Backoffice/Model/GroupInterface.php by phan

Parameter $workflowProfileCollections has undeclared type \Doctrine\Common\Collections\Collection
Open

    public function setWorkflowProfileCollections(Collection $workflowProfileCollections);
Severity: Minor
Found in Backoffice/Model/GroupInterface.php by phan

Class implements undeclared interface \OpenOrchestra\ModelInterface\Model\SoftDeleteableInterface
Open

interface GroupInterface extends BaseGroupInterface, SoftDeleteableInterface
Severity: Critical
Found in Backoffice/Model/GroupInterface.php by phan

Parameter $workflowProfileCollection has undeclared type \OpenOrchestra\ModelInterface\Model\WorkflowProfileCollectionInterface
Open

    public function addWorkflowProfileCollection($entityType, WorkflowProfileCollectionInterface $workflowProfileCollection);
Severity: Minor
Found in Backoffice/Model/GroupInterface.php by phan

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

    public function addWorkflowProfileCollection($entityType, WorkflowProfileCollectionInterface $workflowProfileCollection);
Severity: Minor
Found in Backoffice/Model/GroupInterface.php by phpmd

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

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

    public function setWorkflowProfileCollections(Collection $workflowProfileCollections);
Severity: Minor
Found in Backoffice/Model/GroupInterface.php by phpmd

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

Line exceeds 120 characters; contains 125 characters
Open

    public function addWorkflowProfileCollection($entityType, WorkflowProfileCollectionInterface $workflowProfileCollection);

There are no issues that match your filters.

Category
Status