Completed
Push — master ( b3079f...65c6d8 )
by
unknown
02:54
created

Controller/FormControllersSecurityTest.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
namespace OpenOrchestra\FunctionalTests\MediaAdminBundle\Controller;
4
5
use OpenOrchestra\FunctionalTests\BackofficeBundle\Controller\FormControllersSecurityTest as BaseFormControllersSecurityTest;
6
7
/**
8
 * Class FormControllersSecurityTest
9
 *
10
 * @group media
11
 */
12
class FormControllersSecurityTest extends BaseFormControllersSecurityTest
13
{
14
    /**
15
     * @return array
16
     */
17 View Code Duplication
    public function provideApiUrl()
0 ignored issues
show
This method seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
18
    {
19
        return array(
20
            array('/admin/folder/form/folderId'),
21
            array('/admin/folder/new/parentId'),
22
            array('/admin/folder/list'),
23
            array('/admin/media/mediaId/crop'),
24
            array('/admin/media/override/mediaId/format'),
25
            array('/admin/media/mediaId/meta'),
26
        );
27
    }
28
}
29