Backoffice/Model/GroupInterface.php
Return type of getWorkflowProfileCollections()
is undeclared type \Doctrine\Common\Collections\Collection
Open
Open
public function getWorkflowProfileCollections();
- Create a ticketCreate a ticket
- Exclude checks
Return type of getWorkflowProfileCollection()
is undeclared type \OpenOrchestra\ModelInterface\Model\WorkflowProfileCollectionInterface
Open
Open
public function getWorkflowProfileCollection($entityType);
- Create a ticketCreate a ticket
- Exclude checks
Return type of getPerimeters()
is undeclared type \Doctrine\Common\Collections\Collection
Open
Open
public function getPerimeters();
- Create a ticketCreate a ticket
- Exclude checks
Parameter $perimeters
has undeclared type \Doctrine\Common\Collections\Collection
Open
Open
public function setPerimeters(Collection $perimeters);
- Create a ticketCreate a ticket
- Exclude checks
Parameter $site
has undeclared type \OpenOrchestra\ModelInterface\Model\ReadSiteInterface
Open
Open
public function setSite(ReadSiteInterface $site = null);
- Create a ticketCreate a ticket
- Exclude checks
Class implements undeclared interface \FOS\UserBundle\Model\GroupInterface
(Did you mean interface \OpenOrchestra\Backoffice\Model\GroupInterface) Open
Open
interface GroupInterface extends BaseGroupInterface, SoftDeleteableInterface
- Create a ticketCreate a ticket
- Exclude checks
Return type of getSite()
is undeclared type \OpenOrchestra\ModelInterface\Model\ReadSiteInterface
Open
Open
public function getSite();
- Create a ticketCreate a ticket
- Exclude checks
Parameter $workflowProfileCollections
has undeclared type \Doctrine\Common\Collections\Collection
Open
Open
public function setWorkflowProfileCollections(Collection $workflowProfileCollections);
- Create a ticketCreate a ticket
- Exclude checks
Class implements undeclared interface \OpenOrchestra\ModelInterface\Model\SoftDeleteableInterface
Open
Open
interface GroupInterface extends BaseGroupInterface, SoftDeleteableInterface
- Create a ticketCreate a ticket
- Exclude checks
Parameter $workflowProfileCollection
has undeclared type \OpenOrchestra\ModelInterface\Model\WorkflowProfileCollectionInterface
Open
Open
public function addWorkflowProfileCollection($entityType, WorkflowProfileCollectionInterface $workflowProfileCollection);
- Create a ticketCreate a ticket
- Exclude checks
Avoid excessively long variable names like $workflowProfileCollection. Keep variable name length under 20. Open
Open
public function addWorkflowProfileCollection($entityType, WorkflowProfileCollectionInterface $workflowProfileCollection);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
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
Open
public function setWorkflowProfileCollections(Collection $workflowProfileCollections);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
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
Open
public function addWorkflowProfileCollection($entityType, WorkflowProfileCollectionInterface $workflowProfileCollection);
- Create a ticketCreate a ticket
- Exclude checks