Fix CodeSniffing errors
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 20 Dec 2012 16:50:51 +0000 (17:50 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 20 Dec 2012 16:50:51 +0000 (17:50 +0100)
12 files changed:
files/lib/data/conversation/message/ViewableConversationMessage.class.php
files/lib/data/modification/log/ConversationLogModificationLogList.class.php
files/lib/data/modification/log/ViewableConversationModificationLog.class.php
files/lib/form/ConversationAddForm.class.php
files/lib/form/ConversationMessageAddForm.class.php
files/lib/form/ConversationMessageEditForm.class.php
files/lib/page/ConversationFeedPage.class.php
files/lib/page/ConversationLogPage.class.php
files/lib/page/ConversationPage.class.php
files/lib/system/log/modification/ConversationModificationLogHandler.class.php
files/lib/system/user/notification/object/ConversationUserNotificationObject.class.php
files/lib/system/user/online/location/ConversationLocation.class.php

index f889e19f4d96b0c0f53a973aa0c76b0c9901bab9..807db451fa04a97601d347a10b8ccf0621b0b7ce 100644 (file)
@@ -28,4 +28,4 @@ class ViewableConversationMessage extends DatabaseObjectDecorator {
                
                return $this->userProfile;
        }
-}
\ No newline at end of file
+}
index c7f3554f633cf7781f34e9c84b0c80dc36fb5a54..027a7b58e08363c981810b0e40f1deab876f5a52 100644 (file)
@@ -82,7 +82,7 @@ class ConversationLogModificationLogList extends ModificationLogList {
                
                // use table index as array index
                $objects = array();
-               foreach($this->objects as $object) {
+               foreach ($this->objects as $object) {
                        $objectID = $object->{$this->getDatabaseTableIndexName()};
                        $objects[$objectID] = $object;
                                
index 46c1224cebcdc9d689ebbd189361ac7d41633d28..a3ade1d0e70c33bad37aa499bb069bb1e8f8927e 100644 (file)
@@ -25,4 +25,4 @@ class ViewableConversationModificationLog extends DatabaseObjectDecorator {
        public function __toString() {
                return WCF::getLanguage()->getDynamicVariable('wcf.conversation.log.conversation.'.$this->action, array('additionalData' => $this->additionalData));
        }
-}
\ No newline at end of file
+}
index 7f4c3b7d0f7c20a64565f88f2722940a753b2765..91c6563cacc92803753ff2d0550915465adb23df 100644 (file)
@@ -221,4 +221,4 @@ class ConversationAddForm extends MessageForm {
                        'invisibleParticipants' => $this->invisibleParticipants
                ));
        }
-}
\ No newline at end of file
+}
index 64b8a7e14e5cb6aadd6c0a308852fa3c2ae13469..7067c9872b322eded7af7f36e751888d493ed9db 100644 (file)
@@ -220,4 +220,4 @@ class ConversationMessageAddForm extends MessageForm {
        public function getObjectID() {
                return $this->conversationID;
        }
-} 
\ No newline at end of file
+}
index 9ef69d8d3d50d4315e0d91b6f6fe340508826268..74cfa700ac3d5b33333dcc992d90cfc16e5aa680 100644 (file)
@@ -239,4 +239,4 @@ class ConversationMessageEditForm extends ConversationAddForm {
        public function getObjectID() {
                return $this->conversationID;
        }
-}
\ No newline at end of file
+}
index 2d104c102766d9c7990678aca4ec5093cbeb1070..7ff90345eca38887e5dd2fdec3e8d30e38132a5a 100644 (file)
@@ -35,4 +35,4 @@ class ConversationFeedPage extends AbstractFeedPage {
                
                $this->title = WCF::getLanguage()->get('wcf.conversation.conversations');
        }
-}
\ No newline at end of file
+}
index c80742aaf68f748133ee43972c298a9d0f99cbed..b4022d08b1f0580c012605f93deb8f280c322486 100644 (file)
@@ -98,4 +98,3 @@ class ConversationLogPage extends SortablePage {
                ));
        }
 }
\ No newline at end of file
index 76c282ae3460bd2e29f10bbda94b95e61f930a1e..a5597d539bb2dd75ad025d3a4ceb3c5e5dd508c0 100644 (file)
@@ -273,5 +273,4 @@ class ConversationPage extends MultipleLinkPage {
        public function getObjectID() {
                return $this->conversationID;
        }
-       
-}
\ No newline at end of file
+}
index 266da17c61b0d6bbd95412d9081a7a92246aa025..a5dc4d6a0a03176933064664872be18e22181ab8 100644 (file)
@@ -54,4 +54,4 @@ class ConversationModificationLogHandler extends ModificationLogHandler {
        public function add(Conversation $conversation, $action, array $additionalData = array()) {
                parent::_add('com.woltlab.wcf.conversation.conversation', $conversation->conversationID, $action, $additionalData);
        }
-}
\ No newline at end of file
+}
index ad6dfd983a260ee3dd76f511d1c67577791954d4..802c987d88658ed284588ba5f52c12f09a8ec9e1 100644 (file)
@@ -48,4 +48,4 @@ class ConversationUserNotificationObject extends DatabaseObjectDecorator impleme
        public function getAuthorID() {
                return $this->userID;
        }
-}
\ No newline at end of file
+}
index f046f6ee36cdd951313b6fd8a8ebf0341b33aa0c..9f738f6cbc78667a8d41384cbbf48792304c8873 100644 (file)
@@ -74,4 +74,4 @@ class ConversationLocation implements IUserOnlineLocation {
                        $this->conversations[$conversation->conversationID] = $conversation;
                }
        }
-}
\ No newline at end of file
+}