MediaModelBundle/Tests/EventListener/GeneratePathListenerTest.php
Method provideFolderForRecord
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function provideFolderForRecord()
{
$parentPath = '/parentPath';
$folderId = 'folderId';
$oldFolderPath = $parentPath . '/oldId';
- Create a ticketCreate a ticket
Method testRecord
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$method,
MediaFolderInterface $folder,
ArrayCollection $children,
$expectedFolderPath,
$expectedChildFolderPath
- Create a ticketCreate a ticket