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

@@ -5,7 +5,6 @@ namespace MailPoet\Util;
use pQuery\DomNode;
class DOM {
/**
* Splits a DOM tree around the cut element, bringing it up to bound
* ancestor and splitting left and right siblings into subtrees along
@@ -38,5 +37,4 @@ class DOM {
}
return $item;
}
}

View File

@@ -58,5 +58,4 @@ class FreeDomains {
$domain = end($emailParts);
return in_array($domain, self::FREE_DOMAINS);
}
}

View File

@@ -98,5 +98,4 @@ class Helpers {
return trim($value);
return $value;
}
}

View File

@@ -47,5 +47,4 @@ class AfterMigrationNotice {
\MailPoet\WP\Notice::displaySuccess($message, $extraClasses, $dataNoticeName);
return $message;
}
}

View File

@@ -39,5 +39,4 @@ class BlackFridayNotice {
public function disable() {
WPFunctions::get()->setTransient(self::OPTION_NAME, true, self::DISMISS_NOTICE_TIMEOUT_SECONDS);
}
}

View File

@@ -40,5 +40,4 @@ class PHPVersionWarnings {
public function disable() {
WPFunctions::get()->setTransient(self::OPTION_NAME, true, self::DISMISS_NOTICE_TIMEOUT_SECONDS);
}
}

View File

@@ -88,5 +88,4 @@ class PermanentNotices {
break;
}
}
}

View File

@@ -100,7 +100,6 @@ if (!class_exists('ProgressBar', false)) {
public function deleteProgressFile() {
unlink($this->filename);
}
}
}

View File

@@ -3,7 +3,6 @@
namespace MailPoet\Util;
class SecondLevelDomainNames {
public function get($host) {
if (preg_match('/[^.]*\.[^.]{2,3}(?:\.[^.]{2,3})?$/', $host, $matches)) {
return $matches[0];