Autofix number of newlines between methods
[MAILPOET-2715]
This commit is contained in:
committed by
Jack Kitterhing
parent
73963bd37a
commit
b39dac75d6
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -58,5 +58,4 @@ class FreeDomains {
|
||||
$domain = end($emailParts);
|
||||
return in_array($domain, self::FREE_DOMAINS);
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -98,5 +98,4 @@ class Helpers {
|
||||
return trim($value);
|
||||
return $value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -47,5 +47,4 @@ class AfterMigrationNotice {
|
||||
\MailPoet\WP\Notice::displaySuccess($message, $extraClasses, $dataNoticeName);
|
||||
return $message;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -39,5 +39,4 @@ class BlackFridayNotice {
|
||||
public function disable() {
|
||||
WPFunctions::get()->setTransient(self::OPTION_NAME, true, self::DISMISS_NOTICE_TIMEOUT_SECONDS);
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -40,5 +40,4 @@ class PHPVersionWarnings {
|
||||
public function disable() {
|
||||
WPFunctions::get()->setTransient(self::OPTION_NAME, true, self::DISMISS_NOTICE_TIMEOUT_SECONDS);
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -88,5 +88,4 @@ class PermanentNotices {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -100,7 +100,6 @@ if (!class_exists('ProgressBar', false)) {
|
||||
public function deleteProgressFile() {
|
||||
unlink($this->filename);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -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];
|
||||
|
Reference in New Issue
Block a user