diff --git a/code/Controllers/CMSMain.php b/code/Controllers/CMSMain.php index 5897559a44..92382429f4 100644 --- a/code/Controllers/CMSMain.php +++ b/code/Controllers/CMSMain.php @@ -2114,8 +2114,14 @@ public function batchactions() return new CMSBatchActionHandler($this, 'batchactions'); } + /** + * @deprecated 4.7.0:5.0.0 + * @return LiteralField + */ public function BatchActionParameters() { + Deprecation::notice('4.7.0'); + $batchActions = CMSBatchActionHandler::config()->batch_actions; $forms = []; diff --git a/code/Reports/BrokenFilesReport.php b/code/Reports/BrokenFilesReport.php index 3b1bfcc7cf..db36edc8bc 100644 --- a/code/Reports/BrokenFilesReport.php +++ b/code/Reports/BrokenFilesReport.php @@ -52,8 +52,13 @@ public function columns() ]; } + /** + * @deprecated 4.7.0:5.0.0 + * @return FieldList|bool + */ public function getParameterFields() { + Deprecation::notice('4.7.0'); return new FieldList( new CheckboxField('OnLive', _t(__CLASS__.'.ParameterLiveCheckbox', 'Check live site')) ); diff --git a/code/Reports/BrokenRedirectorPagesReport.php b/code/Reports/BrokenRedirectorPagesReport.php index a1390d62fa..17dc06e1bc 100644 --- a/code/Reports/BrokenRedirectorPagesReport.php +++ b/code/Reports/BrokenRedirectorPagesReport.php @@ -45,8 +45,13 @@ public function columns() ]; } + /** + * @deprecated 4.7.0:5.0.0 + * @return FieldList|bool + */ public function getParameterFields() { + Deprecation::notice('4.7.0'); return new FieldList( new CheckboxField('OnLive', _t(__CLASS__.'.ParameterLiveCheckbox', 'Check live site')) ); diff --git a/code/Reports/BrokenVirtualPagesReport.php b/code/Reports/BrokenVirtualPagesReport.php index f4cee18124..5c001698bb 100644 --- a/code/Reports/BrokenVirtualPagesReport.php +++ b/code/Reports/BrokenVirtualPagesReport.php @@ -45,8 +45,13 @@ public function columns() ]; } + /** + * @deprecated 4.7.0:5.0.0 + * @return FieldList|bool + */ public function getParameterFields() { + Deprecation::notice('4.7.0'); return new FieldList( new CheckboxField('OnLive', _t(__CLASS__.'.ParameterLiveCheckbox', 'Check live site')) );