Code-style fixes
authorAlexander Ebert <ebert@woltlab.com>
Fri, 29 Jul 2016 14:49:22 +0000 (16:49 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 29 Jul 2016 14:49:22 +0000 (16:49 +0200)
wcfsetup/install/files/lib/data/user/UserAction.class.php
wcfsetup/install/files/lib/form/RegisterForm.class.php
wcfsetup/install/files/lib/form/RegisterNewActivationCodeForm.class.php
wcfsetup/install/files/lib/system/email/mime/RecipientAwareTextMimePart.class.php
wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php
wcfsetup/install/files/lib/system/user/notification/event/ModerationQueueCommentResponseUserNotificationEvent.class.php

index f700923578df0ecca6627f010b0405d8b03e5938..e70c57b1e987e4a979528fe9df6bf6e88e284a31 100644 (file)
@@ -8,13 +8,13 @@ use wcf\data\ISearchAction;
 use wcf\system\clipboard\ClipboardHandler;
 use wcf\system\comment\CommentHandler;
 use wcf\system\database\util\PreparedStatementConditionBuilder;
-use wcf\system\event\EventHandler;
-use wcf\system\exception\PermissionDeniedException;
-use wcf\system\exception\UserInputException;
 use wcf\system\email\mime\MimePartFacade;
 use wcf\system\email\mime\RecipientAwareTextMimePart;
 use wcf\system\email\Email;
 use wcf\system\email\UserMailbox;
+use wcf\system\event\EventHandler;
+use wcf\system\exception\PermissionDeniedException;
+use wcf\system\exception\UserInputException;
 use wcf\system\request\RequestHandler;
 use wcf\system\WCF;
 use wcf\util\UserRegistrationUtil;
index 617c048775eb821841db5aa52cb5e578c47d7ed2..f3232865b8116c72335168498b8bde33b95ab109 100644 (file)
@@ -10,17 +10,17 @@ use wcf\data\user\UserAction;
 use wcf\data\user\UserEditor;
 use wcf\data\user\UserProfile;
 use wcf\system\captcha\CaptchaHandler;
-use wcf\system\exception\NamedUserException;
-use wcf\system\exception\PermissionDeniedException;
-use wcf\system\exception\SystemException;
-use wcf\system\exception\UserInputException;
-use wcf\system\language\LanguageFactory;
 use wcf\system\email\mime\MimePartFacade;
 use wcf\system\email\mime\PlainTextMimePart;
 use wcf\system\email\mime\RecipientAwareTextMimePart;
 use wcf\system\email\Email;
 use wcf\system\email\Mailbox;
 use wcf\system\email\UserMailbox;
+use wcf\system\exception\NamedUserException;
+use wcf\system\exception\PermissionDeniedException;
+use wcf\system\exception\SystemException;
+use wcf\system\exception\UserInputException;
+use wcf\system\language\LanguageFactory;
 use wcf\system\request\LinkHandler;
 use wcf\system\user\authentication\UserAuthenticationFactory;
 use wcf\system\Regex;
index d2e3bd9d0c5d7bf119e6f3306671210597fffa10..a5100d651e3ffb7a84584cc80466f6ef772f16a2 100644 (file)
@@ -2,12 +2,12 @@
 namespace wcf\form;
 use wcf\data\user\User;
 use wcf\data\user\UserAction;
-use wcf\system\exception\IllegalLinkException;
-use wcf\system\exception\UserInputException;
 use wcf\system\email\mime\MimePartFacade;
 use wcf\system\email\mime\RecipientAwareTextMimePart;
 use wcf\system\email\Email;
 use wcf\system\email\UserMailbox;
+use wcf\system\exception\IllegalLinkException;
+use wcf\system\exception\UserInputException;
 use wcf\system\request\LinkHandler;
 use wcf\system\WCF;
 use wcf\util\HeaderUtil;
index bddec4650aeb08077ae997090a93ca245f377fcd..806c86a3ef820021d49c2ba086653194f3b1a934 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace wcf\system\email\mime;
+use Pelago\Emogrifier;
 use wcf\data\style\ActiveStyle;
 use wcf\system\cache\builder\StyleCacheBuilder;
 use wcf\system\email\Mailbox;
@@ -72,7 +73,7 @@ class RecipientAwareTextMimePart extends TextMimePart implements IRecipientAware
                        $result = EmailTemplateEngine::getInstance()->fetch($this->template, $this->application, $this->getTemplateVariables(), true);
                        
                        if ($this->mimeType === 'text/html') {
-                               $emogrifier = new \Pelago\Emogrifier();
+                               $emogrifier = new Emogrifier();
                                $emogrifier->disableInvisibleNodeRemoval();
                                
                                $emogrifier->setHtml($result);
index a3459d39c34aa1cac2fba130489a675b7912eebc..0f5d3bc2e2380822689421dd18bebab6204692fc 100644 (file)
@@ -12,12 +12,12 @@ use wcf\data\user\UserProfile;
 use wcf\system\cache\builder\UserNotificationEventCacheBuilder;
 use wcf\system\cache\runtime\UserProfileRuntimeCache;
 use wcf\system\database\util\PreparedStatementConditionBuilder;
-use wcf\system\event\EventHandler;
-use wcf\system\exception\SystemException;
 use wcf\system\email\mime\MimePartFacade;
 use wcf\system\email\mime\RecipientAwareTextMimePart;
 use wcf\system\email\Email;
 use wcf\system\email\UserMailbox;
+use wcf\system\event\EventHandler;
+use wcf\system\exception\SystemException;
 use wcf\system\user\notification\event\IUserNotificationEvent;
 use wcf\system\user\notification\object\type\IUserNotificationObjectType;
 use wcf\system\user\notification\object\IUserNotificationObject;
index bcad919b4591529237ee2003373412604a992560..52da16177cc9471909b3ecd5fa7b5ce53d908266 100644 (file)
@@ -3,9 +3,9 @@ namespace wcf\system\user\notification\event;
 use wcf\data\moderation\queue\ViewableModerationQueue;
 use wcf\data\object\type\ObjectTypeCache;
 use wcf\data\user\UserProfile;
-use wcf\system\email\Email;
 use wcf\system\cache\runtime\CommentRuntimeCache;
 use wcf\system\cache\runtime\UserProfileRuntimeCache;
+use wcf\system\email\Email;
 use wcf\system\moderation\queue\report\IModerationQueueReportHandler;
 use wcf\system\WCF;