Add @noinspection PhpMissingParentCallCommonInspection tags
authorMatthias Schmidt <gravatronics@live.com>
Thu, 26 May 2016 14:27:22 +0000 (16:27 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 26 May 2016 14:27:35 +0000 (16:27 +0200)
18 files changed:
files/lib/data/conversation/ConversationAction.class.php
files/lib/data/conversation/ConversationParticipantList.class.php
files/lib/data/conversation/FeedConversationList.class.php
files/lib/data/conversation/ViewableConversation.class.php
files/lib/data/conversation/message/SearchResultConversationMessage.class.php
files/lib/data/modification/log/ConversationLogModificationLogList.class.php
files/lib/form/ConversationMessageAddForm.class.php
files/lib/form/ConversationMessageEditForm.class.php
files/lib/page/ConversationListPage.class.php
files/lib/system/attachment/ConversationMessageAttachmentObjectType.class.php
files/lib/system/cache/runtime/UserConversationRuntimeCache.class.php
files/lib/system/page/handler/ConversationListPageHandler.class.php
files/lib/system/search/ConversationMessageSearch.class.php
files/lib/system/user/notification/event/ConversationMessageUserNotificationEvent.class.php
files/lib/system/user/notification/event/ConversationUserNotificationEvent.class.php
files/lib/system/user/notification/object/type/ConversationNotificationObjectType.class.php
files/lib/system/worker/ConversationMessageRebuildDataWorker.class.php
files/lib/system/worker/ConversationRebuildDataWorker.class.php

index 9154ad22b91a0cdc6465c1486fd48b8cfdcc9967..487e3160871706b1a48c7baa22ba27405134aa9b 100644 (file)
@@ -50,6 +50,7 @@ class ConversationAction extends AbstractDatabaseObjectAction implements IClipbo
         */
        protected $conversationData = [];
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         * @return      Conversation
index 702156cc469c4a9d89892c99b9549ecd1894742e..6c200d7a7a1c28ba23a7af2f49aa1d73cdeb2534 100644 (file)
@@ -53,6 +53,7 @@ class ConversationParticipantList extends UserProfileList {
                $this->sqlJoins .= " LEFT JOIN wcf".WCF_N."_conversation_to_user conversation_to_user ON (conversation_to_user.participantID = user_table.userID AND conversation_to_user.conversationID = ".$conversationID.")";
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -67,6 +68,7 @@ class ConversationParticipantList extends UserProfileList {
                return $row['count'];
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
index ff9d10d02262b43230fa1dc70ecfe2fcd80abab0..bcbbdcca4e19aece95ddf5e87788dccc053a5b43 100644 (file)
@@ -28,6 +28,7 @@ class FeedConversationList extends ConversationList {
         */
        public $sqlOrderBy = 'conversation.lastPostTime DESC';
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
index 51559de8b9dafc9a6737d424a3ad33820962d164..48f868d3f8c13806e799a7e4ea0ba2d2f20477c6 100644 (file)
@@ -10,6 +10,11 @@ use wcf\system\cache\runtime\UserProfileRuntimeCache;
 use wcf\system\database\util\PreparedStatementConditionBuilder;
 use wcf\system\WCF;
 
+/** @noinspection PhpMissingParentCallCommonInspection */
+/** @noinspection PhpMissingParentCallCommonInspection */
+/** @noinspection PhpMissingParentCallCommonInspection */
+/** @noinspection PhpMissingParentCallCommonInspection */
+
 /**
  * Represents a viewable conversation.
  * 
index 28a877447399dc75e2b53a96d21609f2284438a8..49faf3f57eeede1b3b28efaefcaea2b05d1cd887 100644 (file)
@@ -24,6 +24,7 @@ class SearchResultConversationMessage extends ViewableConversationMessage implem
         */
        public $conversation = null;
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * Returns the conversation object.
         * 
@@ -40,6 +41,7 @@ class SearchResultConversationMessage extends ViewableConversationMessage implem
                return $this->conversation;
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -69,6 +71,7 @@ class SearchResultConversationMessage extends ViewableConversationMessage implem
                return $this->getDecoratedObject()->getLink();
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
index 67ee2a5433a28481cd28c5a179e4facd617669c4..f32fbb9f06d9761f600f2f7a99eda2c7f3aae9a5 100644 (file)
@@ -31,6 +31,7 @@ class ConversationLogModificationLogList extends ModificationLogList {
                $this->getConditionBuilder()->add('modification_log.objectID = ?', [$conversationID]);
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
index 29880cb56f4af81e9a8a4a51826033862d5c4bc7..302c08d416ed06a57b42eb2819ae6d4f36f6ea82 100644 (file)
@@ -91,10 +91,13 @@ class ConversationMessageAddForm extends MessageForm {
                MessageQuoteManager::getInstance()->readFormParameters();
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
-       protected function validateSubject() {}
+       protected function validateSubject() {
+               // does nothing
+       }
        
        /**
         * @inheritDoc
index 6901ac67d948ab3435bd66a026e1b115d6a7c9ba..fe54f3e3e21c6175c4eca0839ec21f8d600b6010 100644 (file)
@@ -64,6 +64,7 @@ class ConversationMessageEditForm extends ConversationAddForm {
         */
        public $isFirstMessage = false;
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -114,6 +115,7 @@ class ConversationMessageEditForm extends ConversationAddForm {
                if ($this->isFirstMessage) parent::validateSubject();
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -181,6 +183,7 @@ class ConversationMessageEditForm extends ConversationAddForm {
                exit;
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
index a1e774ba75c23cc60252f72c57e2e4a9f46e09c3..38e54c89e0dd565daae4058319233879cb1f9c7b 100644 (file)
@@ -142,6 +142,7 @@ class ConversationListPage extends SortablePage {
                if (isset($_REQUEST['participants'])) $this->participants = ArrayUtil::trim(explode(',', $_REQUEST['participants']));
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
index f8942c584aa50f281a5c94b2e89690dc1bdedb22..4c463ecd0faf472ec40656a04a9e52142917aa6a 100644 (file)
@@ -19,6 +19,7 @@ use wcf\util\ArrayUtil;
  * @method     ConversationMessage     getObject($objectID)
  */
 class ConversationMessageAttachmentObjectType extends AbstractAttachmentObjectType {
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -26,6 +27,7 @@ class ConversationMessageAttachmentObjectType extends AbstractAttachmentObjectTy
                return WCF::getSession()->getPermission('user.conversation.maxAttachmentSize');
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -33,6 +35,7 @@ class ConversationMessageAttachmentObjectType extends AbstractAttachmentObjectTy
                return ArrayUtil::trim(explode("\n", WCF::getSession()->getPermission('user.conversation.allowedAttachmentExtensions')));
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -105,6 +108,7 @@ class ConversationMessageAttachmentObjectType extends AbstractAttachmentObjectTy
                }
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
index 26ce6e4123b494349eb451eb9b3bfb952ce6d237..43ed4bf738258018b05cdfee29731e29b81c7167 100644 (file)
@@ -24,6 +24,7 @@ class UserConversationRuntimeCache extends AbstractRuntimeCache {
         */
        protected $listClassName = UserConversationList::class;
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
index df85cd38e3dbaac92b3acd1dd7ac4e22656a8333..867946ad06f9b4dc79104305ed089d005cab19b6 100644 (file)
@@ -15,6 +15,7 @@ use wcf\system\WCF;
  * @since      2.2
  */
 class ConversationListPageHandler extends AbstractMenuPageHandler {
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -22,6 +23,7 @@ class ConversationListPageHandler extends AbstractMenuPageHandler {
                return ConversationHandler::getInstance()->getUnreadConversationCount();
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
index 5c530129e2711f4d90b39ddc42362b31e88e0c68..e76d7b96922faee28dfa9970e3babea4a0d2c14b 100644 (file)
@@ -49,6 +49,7 @@ class ConversationMessageSearch extends AbstractSearchableObjectType {
                }
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -66,6 +67,7 @@ class ConversationMessageSearch extends AbstractSearchableObjectType {
                return null;
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -88,6 +90,7 @@ class ConversationMessageSearch extends AbstractSearchableObjectType {
                return $this->getTableName().'.messageID';
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -95,6 +98,7 @@ class ConversationMessageSearch extends AbstractSearchableObjectType {
                return 'conversation.subject';
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -111,6 +115,7 @@ class ConversationMessageSearch extends AbstractSearchableObjectType {
                return $conditionBuilder;
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -118,6 +123,7 @@ class ConversationMessageSearch extends AbstractSearchableObjectType {
                return (WCF::getUser()->userID ? true : false);
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
index 8857cbd9d53537ada077e8cf894b819ae2a40a62..4f369ddd28d58d76845997dc819b01a30c604524 100644 (file)
@@ -56,6 +56,7 @@ class ConversationMessageUserNotificationEvent extends AbstractUserNotificationE
                ]);
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -77,6 +78,7 @@ class ConversationMessageUserNotificationEvent extends AbstractUserNotificationE
                ], '#message'.$this->getUserNotificationObject()->messageID);
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -84,6 +86,7 @@ class ConversationMessageUserNotificationEvent extends AbstractUserNotificationE
                return sha1($this->eventID . '-' . $this->getUserNotificationObject()->conversationID);
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
index 6979b2a46fc56b70279d8905a4d5c7810b19e47b..e17bddbcb177d5a4fbbc7b2ac57dc752553c98f4 100644 (file)
@@ -33,6 +33,7 @@ class ConversationUserNotificationEvent extends AbstractUserNotificationEvent {
                ]);
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -51,6 +52,7 @@ class ConversationUserNotificationEvent extends AbstractUserNotificationEvent {
                return LinkHandler::getInstance()->getLink('Conversation', ['object' => $this->userNotificationObject]);
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
index c75f6a06ba5bad60756d40a471a03b1436602789..3ec96a35db89be22f6bcebc16be51e40ce9ca9e0 100644 (file)
@@ -31,6 +31,7 @@ class ConversationNotificationObjectType extends AbstractUserNotificationObjectT
         */
        protected static $objectListClassName = ConversationList::class;
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
index e813ef62b7d76c3fb5a15ff69ebe404553ce8bfa..62dea32f79e31d7af4f319786abd9c23ff024dfc 100644 (file)
@@ -23,6 +23,7 @@ class ConversationMessageRebuildDataWorker extends AbstractRebuildDataWorker {
         */
        protected $limit = 500;
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -38,6 +39,7 @@ class ConversationMessageRebuildDataWorker extends AbstractRebuildDataWorker {
                }
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
index 2a8491dc05049e28cd1c83e1e3792cdd5f072609..31916baddf5f7838aa24ab166ac631b31093f850 100644 (file)
@@ -22,6 +22,7 @@ class ConversationRebuildDataWorker extends AbstractRebuildDataWorker {
         */
        protected $limit = 100;
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */
@@ -37,6 +38,7 @@ class ConversationRebuildDataWorker extends AbstractRebuildDataWorker {
                }
        }
        
+       /** @noinspection PhpMissingParentCallCommonInspection */
        /**
         * @inheritDoc
         */