File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Controller/Adminhtml/Sitemap
Test/Unit/Controller/Adminhtml/Sitemap Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class Save extends Sitemap implements HttpPostActionInterface
28
28
/**
29
29
* Maximum length of sitemap filename
30
30
*/
31
- const MAX_FILENAME_LENGTH = 32 ;
31
+ public const MAX_FILENAME_LENGTH = 32 ;
32
32
33
33
/**
34
34
* @var StringLength
Original file line number Diff line number Diff line change 10
10
use Magento \Backend \App \Action \Context ;
11
11
use Magento \Backend \Helper \Data ;
12
12
use Magento \Backend \Model \Session ;
13
- use Magento \Backend \Model \View \Result \Redirect ;
14
13
use Magento \Framework \App \ActionFlag ;
15
14
use Magento \Framework \App \RequestInterface ;
16
15
use Magento \Framework \App \ResponseInterface ;
17
- use Magento \Framework \Controller \ResultFactory ;
18
16
use Magento \Framework \Filesystem ;
19
17
use Magento \Framework \HTTP \PhpEnvironment \Request ;
20
18
use Magento \Framework \Message \ManagerInterface ;
24
22
use Magento \Sitemap \Model \SitemapFactory ;
25
23
use PHPUnit \Framework \TestCase ;
26
24
25
+ /**
26
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
27
+ */
27
28
class DeleteTest extends TestCase
28
29
{
29
30
/**
You can’t perform that action at this time.
0 commit comments