Update style for PHP CS Fixer 3.0.1
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 3 Aug 2021 10:36:59 +0000 (12:36 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 3 Aug 2021 10:36:59 +0000 (12:36 +0200)
30 files changed:
wcfsetup/install/files/lib/data/DatabaseObject.class.php
wcfsetup/install/files/lib/data/application/Application.class.php
wcfsetup/install/files/lib/data/bbcode/media/provider/BBCodeMediaProvider.class.php
wcfsetup/install/files/lib/data/package/Package.class.php
wcfsetup/install/files/lib/data/template/group/TemplateGroup.class.php
wcfsetup/install/files/lib/data/user/UserEditor.class.php
wcfsetup/install/files/lib/data/user/group/UserGroup.class.php
wcfsetup/install/files/lib/system/CLIWCF.class.php
wcfsetup/install/files/lib/system/background/job/EmailDeliveryBackgroundJob.class.php
wcfsetup/install/files/lib/system/bbcode/AttachmentBBCode.class.php
wcfsetup/install/files/lib/system/email/Email.class.php
wcfsetup/install/files/lib/system/form/builder/FormDocument.class.php
wcfsetup/install/files/lib/system/form/builder/container/FormContainer.class.php
wcfsetup/install/files/lib/system/form/builder/field/AbstractNumericFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/DateFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/EmailFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/RatingFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/SingleSelectionFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/TextFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/UploadFormField.class.php
wcfsetup/install/files/lib/system/form/builder/field/wysiwyg/WysiwygFormField.class.php
wcfsetup/install/files/lib/system/io/RemoteFile.class.php
wcfsetup/install/files/lib/system/option/UseroptionsOptionType.class.php
wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Phpbb3.class.php
wcfsetup/install/files/lib/system/user/notification/event/ArticleLikeUserNotificationEvent.class.php
wcfsetup/install/files/lib/system/user/notification/event/TTestableCommentLikeUserNotificationEvent.class.php
wcfsetup/install/files/lib/system/user/notification/event/TTestableCommentResponseLikeUserNotificationEvent.class.php
wcfsetup/install/files/lib/util/DateUtil.class.php
wcfsetup/install/files/lib/util/FileUtil.class.php

index 6f3c90b91f89570d656c7470a35ce886a2c16891..5f22458b019b8d4f9fdce2891132b1668991f02a 100644 (file)
@@ -36,13 +36,13 @@ abstract class DatabaseObject implements IIDObject, IStorableObject
      * sort field
      * @var mixed
      */
-    protected static $sortBy = null;
+    protected static $sortBy;
 
     /**
      * sort order
      * @var mixed
      */
-    protected static $sortOrder = null;
+    protected static $sortOrder;
 
     /**
      * object data
index 4b30506568bf67c55b82f31442461fc9ff3d63e1..bf6c704d28595053282745275fb3ff0c1c42c6d0 100644 (file)
@@ -54,7 +54,7 @@ class Application extends DatabaseObject
      * list of all available application directories
      * @var string[]
      */
-    protected static $directories = null;
+    protected static $directories;
 
     /**
      * @inheritDoc
index 90231203192eb6ecce1c5cb76861cb6929c59d5e..a36e1db78dd44527d3cee733ce31ff0d38c3696e 100644 (file)
@@ -36,7 +36,7 @@ class BBCodeMediaProvider extends DatabaseObject implements IRouteController
      * cached providers
      * @var BBCodeMediaProvider[]
      */
-    protected static $cache = null;
+    protected static $cache;
 
     /**
      * media provider callback instance
index 87feebbb558e0c1e0f31023cbc7363f1a4548ad9..0404eec5f5251d5ace46ecc3a15dc4c6a7f444d2 100644 (file)
@@ -70,13 +70,13 @@ class Package extends DatabaseObject implements ILinkableObject, IRouteControlle
      * list of ids of packages which are required by another package
      * @var int[]
      */
-    protected static $requiredPackageIDs = null;
+    protected static $requiredPackageIDs;
 
     /**
      * package requirements
      * @var array
      */
-    protected static $requirements = null;
+    protected static $requirements;
 
     /**
      * @inheritDoc
index 481ddacc5f9aac751e32eb83a544216dd7fd5066..3d17b2ecf045a19c7961d5a1a7fc20da3e62aee7 100644 (file)
@@ -29,9 +29,9 @@ class TemplateGroup extends DatabaseObject
     /**
      * @var TemplateGroup[][]
      */
-    protected static $templateGroupStructure = null;
+    protected static $templateGroupStructure;
 
-    protected static $selectList = null;
+    protected static $selectList;
 
     /**
      * Returns whether the template group is immutable (i.e. whether it's the email
index f9a8513b30468e6c706a093b3b172aa2f7bc26be..d4ffc0a9231be4a0e1df869d23d4fe60c5ffdbf9 100644 (file)
@@ -35,7 +35,7 @@ class UserEditor extends DatabaseObjectEditor implements IEditableCachedObject
      * list of user options default values
      * @var array
      */
-    protected static $userOptionDefaultValues = null;
+    protected static $userOptionDefaultValues;
 
     /**
      * Returns the encoded password hash + algorithm for the given password.
index a8220855eb36dc1ab6ba21ba60e3b30c506e521a..1f5d4796ce8c5dbb9ecc92cc146f209186916716 100644 (file)
@@ -71,13 +71,13 @@ class UserGroup extends DatabaseObject implements ITitledObject
      * group cache
      * @var UserGroup[]
      */
-    protected static $cache = null;
+    protected static $cache;
 
     /**
      * list of accessible groups for active user
      * @var int[]
      */
-    protected static $accessibleGroups = null;
+    protected static $accessibleGroups;
 
     /**
      * @var UserGroup|null
index 7780cb48aed3a7d706a877db2abdf1ad5f1947cf..cda9e55335320ef7459195f136aae33ca3bf3810 100644 (file)
@@ -43,13 +43,13 @@ class CLIWCF extends WCF
      * instance of ConsoleReader
      * @var ConsoleReader
      */
-    protected static $consoleReader = null;
+    protected static $consoleReader;
 
     /**
      * instance of ArgvParser
      * @var \Zend\Console\Getopt
      */
-    protected static $argvParser = null;
+    protected static $argvParser;
 
     /** @noinspection PhpMissingParentConstructorInspection */
 
index 8edbb53c97988041c586e252ace65fd291c588f6..e2bce68c3994261e245f8776687f4a436a89de81 100644 (file)
@@ -59,7 +59,7 @@ class EmailDeliveryBackgroundJob extends AbstractBackgroundJob
      * instance of the default transport
      * @var \wcf\system\email\transport\IEmailTransport
      */
-    protected static $transport = null;
+    protected static $transport;
 
     /**
      * Creates the job using the given the email and the destination mailbox.
index 123b2227631b4cc94d8e15c76e9319b5969ad04b..4ae964cdcc3e8e189dfa3267d1b57736ef42bb52 100644 (file)
@@ -24,7 +24,7 @@ class AttachmentBBCode extends AbstractBBCode
      * @var GroupedAttachmentList
      * @deprecated
      */
-    protected static $attachmentList = null;
+    protected static $attachmentList;
 
     /**
      * active object id
index 14a8401ad92129656c98f6a2d64f1fdbf1cc76cb..689438e444553c91a9c2f0fda29fd5fc52aa4c41 100644 (file)
@@ -116,7 +116,7 @@ class Email
      * Mail host for use in the Message-Id
      * @var string
      */
-    private static $host = null;
+    private static $host;
 
     /**
      * Returns the mail host for use in the Message-Id.
index 55d4e34bea71afef4c5996e49dd2f56f6ac642fb..c2323e7fdcea51e7782345044864a2619257cdf9 100644 (file)
@@ -30,6 +30,7 @@ class FormDocument implements IFormDocument
     use TFormNode;
     use TFormParentNode {
         TFormParentNode::cleanup insteadof TFormNode;
+
         hasValidationErrors as protected traitHasValidationErrors;
         readValues as protected traitReadValues;
         validate as protected traitValidate;
index a8f517e3a5117e7c28feaf30b963f2d27d7ea6ab..b576ba2fd8a9c2b591f1f0e4a27edb1dc3860b25 100644 (file)
@@ -26,6 +26,7 @@ class FormContainer implements IFormContainer
     use TFormElement;
     use TFormParentNode {
         TFormParentNode::cleanup insteadof TFormElement;
+
         validateChild as protected defaultValidateChild;
     }
 
index 45b4439cc1e3965f2587d35357d7b2b761ff88de..b750bdcf188762c3cfbbbf97b8112bd76b21c4b8 100644 (file)
@@ -30,6 +30,7 @@ abstract class AbstractNumericFormField extends AbstractFormField implements
     use TAttributeFormField {
         getReservedFieldAttributes as private defaultGetReservedFieldAttributes;
     }
+
     use TAutoCompleteFormField;
     use TAutoFocusFormField;
     use TCssClassFormField;
index 27f4d6cbd3c64a0ffee07c0bde89b9ccac3c0be4..d02de198a001d23f3039b5f30b19c27cd4581c37 100644 (file)
@@ -25,6 +25,7 @@ class DateFormField extends AbstractFormField implements
     use TInputAttributeFormField {
         getReservedFieldAttributes as private inputGetReservedFieldAttributes;
     }
+
     use TAutoFocusFormField;
     use TCssClassFormField;
     use TImmutableFormField;
index 3547b722d04bca2395ac188653ffb7c701845c40..8b7d1b4e38bde14fc4dd8c62de9751f737dfefb9 100644 (file)
@@ -32,6 +32,7 @@ class EmailFormField extends AbstractFormField implements
     use TAttributeFormField {
         getReservedFieldAttributes as private defaultGetReservedFieldAttributes;
     }
+
     use TAutoCompleteFormField;
     use TAutoFocusFormField;
     use TCssClassFormField;
@@ -40,6 +41,7 @@ class EmailFormField extends AbstractFormField implements
     use TI18nFormField {
         validate as protected i18nValidate;
     }
+
     use TPatternFormField;
     use TPlaceholderFormField;
 
index e9e59480d3f54ff72aa4ecee925e606fe0939413..d4ab760dbbade6a90504c14719bf36625171434d 100644 (file)
@@ -36,9 +36,11 @@ class RatingFormField extends AbstractFormField implements
     use TMaximumFormField {
         maximum as protected traitMaximum;
     }
+
     use TMinimumFormField {
         minimum as protected traitMinimum;
     }
+
     use TNullableFormField;
 
     /**
index f13e0623b518362d843442e8c2e0929f983439ad..9e10b9a6a709c753ce8e2ba53d789ed4aee9258b 100644 (file)
@@ -24,6 +24,7 @@ class SingleSelectionFormField extends AbstractFormField implements
     use TFilterableSelectionFormField {
         filterable as protected traitFilterable;
     }
+
     use TNullableFormField;
 
     /**
index 5985f451bab0ac1829cba9d48fa638656a9d45bf..0d69c39b8ae4ad0a8dd6b1a5d29b3fd1546105ae 100644 (file)
@@ -37,6 +37,7 @@ class TextFormField extends AbstractFormField implements
     use TI18nFormField {
         validate as protected i18nValidate;
     }
+
     use TMaximumLengthFormField;
     use TMinimumLengthFormField;
     use TPatternFormField;
index f0bc75f67a4c37119b9275c6cdb291a30f77c3f5..bb7ca57ca43e05c6c944582d35341024bf4655ab 100644 (file)
@@ -25,6 +25,7 @@ class UploadFormField extends AbstractFormField
     use TMaximumFormField {
         maximum as traitMaximum;
     }
+
     use TMinimumFormField;
 
     /**
index 5b3fc4ff5a891e4f406588b757f34a14238374b0..f65fa172fdcb25f3dda0493fa991f077f71e0d17 100644 (file)
@@ -41,6 +41,7 @@ class WysiwygFormField extends AbstractFormField implements
     use TInputAttributeFormField {
         getReservedFieldAttributes as private inputGetReservedFieldAttributes;
     }
+
     use TMaximumLengthFormField;
     use TMinimumLengthFormField;
     use TObjectTypeFormNode;
index d5d96288ad48b010e1f8dba3581ebeabe58f5b7d..63fb68718eda5535ccd849070c419b4cd9014829 100644 (file)
@@ -42,7 +42,7 @@ class RemoteFile extends File
      * true if PHP supports SSL/TLS
      * @var bool
      */
-    private static $hasSSLSupport = null;
+    private static $hasSSLSupport;
 
     /** @noinspection PhpMissingParentConstructorInspection */
 
index 1bdde232d7bd62482cede37615f926eefa96c8b2..22aaf2da2317fc704cb4743d869361b2f5ba8061 100644 (file)
@@ -20,7 +20,7 @@ class UseroptionsOptionType extends AbstractOptionType
      * list of available user options
      * @var string[]
      */
-    protected static $userOptions = null;
+    protected static $userOptions;
 
     /**
      * @inheritDoc
index f5b45805a27b210c8195326aa342ea0484c257f7..9d69e94132b8b18d6ad7dd5f05ae14513e5e0e69 100644 (file)
@@ -54,6 +54,7 @@ abstract class AbstractOptionPackageInstallationPlugin extends AbstractXMLPackag
     // class
     use TXmlGuiPackageInstallationPlugin {
         addDeleteElement as defaultAddDeleteElement;
+
         sanitizeXmlFileAfterDeleteEntry as defaultSanitizeXmlFileAfterDeleteEntry;
     }
 
index 8eb5a7636252d7e9c44ce94d326f5dbcb9dec889..eef8ac37e27c01a60c5477382befb2d04e9b32d6 100644 (file)
@@ -18,6 +18,7 @@ final class Phpbb3 implements IPasswordAlgorithm
 {
     use TPhpass {
         verify as phpassVerify;
+
         hash as phpassHash;
     }
 
index 84850473caa2893bfbc5aaa6111859803657831b..5da349b0454bd6ef5eebe4e9bf046563169d7eaa 100644 (file)
@@ -27,6 +27,7 @@ class ArticleLikeUserNotificationEvent extends AbstractSharedUserNotificationEve
     use TTestableLikeUserNotificationEvent {
         TTestableLikeUserNotificationEvent::canBeTriggeredByGuests insteadof TTestableUserNotificationEvent;
     }
+
     use TTestableArticleUserNotificationEvent;
     use TTestableCategorizedUserNotificationEvent;
     use TTestableUserNotificationEvent;
index 00bdc13fe6de989bc4e43b69a91a402926253339..9b0c461e87857f2edc5b3ba19b17191688bd69b3 100644 (file)
@@ -21,6 +21,7 @@ trait TTestableCommentLikeUserNotificationEvent
     use TTestableCommentUserNotificationEvent;
     use TTestableLikeUserNotificationEvent {
         TTestableLikeUserNotificationEvent::canBeTriggeredByGuests insteadof TTestableCommentUserNotificationEvent;
+
         TTestableLikeUserNotificationEvent::getTestObjects insteadof TTestableCommentUserNotificationEvent;
     }
 
index d13af3973cee36179a6ebb0723481f32c0dffbb6..a03e553c1c5fdb222dd75e8e9432e5e10ed224cf 100644 (file)
@@ -21,6 +21,7 @@ trait TTestableCommentResponseLikeUserNotificationEvent
     use TTestableCommentResponseUserNotificationEvent;
     use TTestableLikeUserNotificationEvent {
         TTestableLikeUserNotificationEvent::canBeTriggeredByGuests insteadof TTestableCommentResponseUserNotificationEvent;
+
         TTestableLikeUserNotificationEvent::getTestObjects insteadof TTestableCommentResponseUserNotificationEvent;
     }
 
index 5a120629decfdb551faae36c8647d30672d58880..da1a6e529ffe6df595320e66d251c30629c77ad5 100644 (file)
@@ -155,19 +155,19 @@ final class DateUtil
      * 1=monday
      * @var int
      */
-    private static $firstDayOfTheWeek = null;
+    private static $firstDayOfTheWeek;
 
     /**
      * order of the week days
      * @var string[]
      */
-    private static $weekDays = null;
+    private static $weekDays;
 
     /**
      * order of the week days (short textual representation)
      * @var string[]
      */
-    private static $shortWeekDays = null;
+    private static $shortWeekDays;
 
     /**
      * Returns a formatted date.
index 05b8eab8ea5394a8f822329f7037daea627c6084..71640c74f493b75919680596457084b0a2733685 100644 (file)
@@ -21,19 +21,19 @@ final class FileUtil
      * finfo instance
      * @var \finfo
      */
-    protected static $finfo = null;
+    protected static $finfo;
 
     /**
      * memory limit in bytes
      * @var int
      */
-    protected static $memoryLimit = null;
+    protected static $memoryLimit;
 
     /**
      * chmod mode
      * @var string
      */
-    protected static $mode = null;
+    protected static $mode;
 
     /**
      * Tries to find the temp folder.