Autofix number of newlines between methods

[MAILPOET-2715]
This commit is contained in:
Jan Jakeš
2020-02-17 13:08:33 +01:00
committed by Jack Kitterhing
parent 73963bd37a
commit b39dac75d6
285 changed files with 60 additions and 303 deletions

View File

@@ -59,5 +59,4 @@ class DeactivationSurvey {
// if the website fails to render we have other places to catch and display the error
}
}
}

View File

@@ -33,5 +33,4 @@ class DeferredAdminNotices {
WPFunctions::get()->deleteOption(DeferredAdminNotices::OPTIONS_KEY_NAME);
}
}
}

View File

@@ -44,7 +44,6 @@ class MP2Migrator {
private $mp2UserTable;
private $mp2UserListTable;
public function __construct(SettingsController $settings, Activator $activator) {
$this->defineMP2Tables();
$logFilename = 'mp2migration.log';

View File

@@ -6,7 +6,6 @@ use MailPoet\Subscribers\SubscriberPersonalDataEraser;
use MailPoet\WP\Functions as WPFunctions;
class PersonalDataErasers {
public function init() {
WPFunctions::get()->addFilter('wp_privacy_personal_data_erasers', [$this, 'registerSubscriberEraser']);
}
@@ -19,5 +18,4 @@ class PersonalDataErasers {
return $erasers;
}
}

View File

@@ -9,7 +9,6 @@ use MailPoet\Subscribers\ImportExport\PersonalDataExporters\SubscriberExporter;
use MailPoet\WP\Functions as WPFunctions;
class PersonalDataExporters {
public function init() {
WPFunctions::get()->addFilter('wp_privacy_personal_data_exporters', [$this, 'registerSubscriberExporter']);
WPFunctions::get()->addFilter('wp_privacy_personal_data_exporters', [$this, 'registerSegmentsExporter']);
@@ -48,5 +47,4 @@ class PersonalDataExporters {
];
return $exporters;
}
}

View File

@@ -7,7 +7,6 @@ use MailPoet\WooCommerce\Helper as WooCommerceHelper;
use MailPoet\WP\Functions as WPFunctions;
class PrivacyPolicy {
public function init() {
if (function_exists('wp_add_privacy_policy_content')) {
wp_add_privacy_policy_content(__('MailPoet', 'mailpoet'), $this->getPrivacyPolicyContent());
@@ -66,5 +65,4 @@ class PrivacyPolicy {
}
return $content;
}
}