Check for unused privates

[MAILPOET-2090]
This commit is contained in:
Pavel Dohnal
2019-05-20 13:41:47 +02:00
committed by M. Shull
parent 9c64537761
commit 9f16cb6a5f
13 changed files with 32 additions and 34 deletions

View File

@@ -544,6 +544,10 @@ class Populator {
$task->save();
}
/**
* Remove this comment when this private function is actually used
* @phpcsSuppress SlevomatCodingStandard.Classes.UnusedPrivateElements
*/
private function updateFormsSuccessMessages() {
if (version_compare($this->settings->get('db_version', '3.23.2'), '3.23.1', '>')) {
return;