From 760c97c67f72719d7a5cc8c81c37ad7943675438 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 1 Jan 2016 08:55:57 +0100 Subject: [PATCH] Fix Travis issues --- .../install/files/lib/data/attachment/Attachment.class.php | 2 +- .../files/lib/data/attachment/AttachmentAction.class.php | 4 ++-- wcfsetup/install/files/lib/data/box/Box.class.php | 6 +++--- .../install/files/lib/data/media/ViewableMedia.class.php | 2 +- wcfsetup/install/files/lib/data/menu/MenuAction.class.php | 2 +- wcfsetup/install/files/lib/data/menu/ViewableMenu.class.php | 2 +- .../install/files/lib/data/menu/item/MenuItem.class.php | 2 +- .../system/upload/DefaultUploadFileSaveStrategy.class.php | 6 +++--- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/wcfsetup/install/files/lib/data/attachment/Attachment.class.php b/wcfsetup/install/files/lib/data/attachment/Attachment.class.php index 1582704b7a..abfc104a73 100644 --- a/wcfsetup/install/files/lib/data/attachment/Attachment.class.php +++ b/wcfsetup/install/files/lib/data/attachment/Attachment.class.php @@ -4,9 +4,9 @@ use wcf\data\object\type\ObjectTypeCache; use wcf\data\DatabaseObject; use wcf\data\IThumbnailFile; use wcf\system\request\IRouteController; +use wcf\system\request\LinkHandler; use wcf\system\WCF; use wcf\util\FileUtil; -use wcf\system\request\LinkHandler; /** * Represents an attachment. diff --git a/wcfsetup/install/files/lib/data/attachment/AttachmentAction.class.php b/wcfsetup/install/files/lib/data/attachment/AttachmentAction.class.php index 4c9d7369cf..373f61e013 100644 --- a/wcfsetup/install/files/lib/data/attachment/AttachmentAction.class.php +++ b/wcfsetup/install/files/lib/data/attachment/AttachmentAction.class.php @@ -1,9 +1,9 @@ prepareStatement($sql); $statement->execute([$name]); - return $statement->fetchObject(Box::class); + return $statement->fetchObject(self::class); } /** @@ -300,6 +300,6 @@ class Box extends DatabaseObject { $statement = WCF::getDB()->prepareStatement($sql); $statement->execute([$menuID]); - return $statement->fetchObject(Box::class); + return $statement->fetchObject(self::class); } } diff --git a/wcfsetup/install/files/lib/data/media/ViewableMedia.class.php b/wcfsetup/install/files/lib/data/media/ViewableMedia.class.php index f1c053a75b..a0e9750701 100644 --- a/wcfsetup/install/files/lib/data/media/ViewableMedia.class.php +++ b/wcfsetup/install/files/lib/data/media/ViewableMedia.class.php @@ -2,8 +2,8 @@ namespace wcf\data\media; use wcf\data\DatabaseObjectDecorator; use wcf\system\exception\SystemException; -use wcf\util\StringUtil; use wcf\util\FileUtil; +use wcf\util\StringUtil; /** * Represents a viewable madia file. diff --git a/wcfsetup/install/files/lib/data/menu/MenuAction.class.php b/wcfsetup/install/files/lib/data/menu/MenuAction.class.php index 3aa0af9b44..0cb47ce384 100644 --- a/wcfsetup/install/files/lib/data/menu/MenuAction.class.php +++ b/wcfsetup/install/files/lib/data/menu/MenuAction.class.php @@ -1,8 +1,8 @@