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
2828 /**
2929 * Maximum length of sitemap filename
3030 */
31- const MAX_FILENAME_LENGTH = 32 ;
31+ public const MAX_FILENAME_LENGTH = 32 ;
3232
3333 /**
3434 * @var StringLength
Original file line number Diff line number Diff line change 1010use Magento \Backend \App \Action \Context ;
1111use Magento \Backend \Helper \Data ;
1212use Magento \Backend \Model \Session ;
13- use Magento \Backend \Model \View \Result \Redirect ;
1413use Magento \Framework \App \ActionFlag ;
1514use Magento \Framework \App \RequestInterface ;
1615use Magento \Framework \App \ResponseInterface ;
17- use Magento \Framework \Controller \ResultFactory ;
1816use Magento \Framework \Filesystem ;
1917use Magento \Framework \HTTP \PhpEnvironment \Request ;
2018use Magento \Framework \Message \ManagerInterface ;
2422use Magento \Sitemap \Model \SitemapFactory ;
2523use PHPUnit \Framework \TestCase ;
2624
25+ /**
26+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
27+ */
2728class DeleteTest extends TestCase
2829{
2930 /**
You can’t perform that action at this time.
0 commit comments