Fix code style issues
authorMatthias Schmidt <gravatronics@live.com>
Tue, 1 May 2018 11:55:13 +0000 (13:55 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 1 May 2018 11:55:13 +0000 (13:55 +0200)
See #2545

wcfsetup/install/files/lib/system/package/plugin/ObjectTypePackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/package/plugin/UserProfileMenuPackageInstallationPlugin.class.php

index c0cb7964971f95b9492af1f4aaa2dcad7eed0020..e20f4a76f12732dd920cb8533368157b02a7181e 100644 (file)
@@ -20,12 +20,12 @@ use wcf\system\event\EventHandler;
 use wcf\system\exception\SystemException;
 use wcf\system\form\builder\container\FormContainer;
 use wcf\system\form\builder\container\IFormContainer;
-use wcf\system\form\builder\field\ClassNameFormField;
 use wcf\system\form\builder\field\data\GuiPackageInstallationPluginFormFieldDataProcessor;
 use wcf\system\form\builder\field\dependency\ValueFormFieldDependency;
 use wcf\system\form\builder\field\validation\FormFieldValidationError;
 use wcf\system\form\builder\field\validation\FormFieldValidator;
 use wcf\system\form\builder\field\BooleanFormField;
+use wcf\system\form\builder\field\ClassNameFormField;
 use wcf\system\form\builder\field\FloatFormField;
 use wcf\system\form\builder\field\IntegerFormField;
 use wcf\system\form\builder\field\ItemListFormField;
@@ -272,7 +272,7 @@ class ObjectTypePackageInstallationPlugin extends AbstractXMLPackageInstallation
                                                        $formField->addValidationError(
                                                                new FormFieldValidationError(
                                                                        'interface',
-                                                                       'wcf.form.field.className.error.interface',
+                                                                       'wcf.form.field.className.error.interface',
                                                                        ['interface' => $definition->interfaceName]
                                                                )
                                                        );
index 2328be2ac87a59121f87253dd32f0fadd77f0ff6..c6c10d2831b94292b0c2394616d227a84e2dc386 100644 (file)
@@ -9,12 +9,12 @@ use wcf\system\devtools\pip\DevtoolsPipEntryList;
 use wcf\system\devtools\pip\IDevtoolsPipEntryList;
 use wcf\system\devtools\pip\IGuiPackageInstallationPlugin;
 use wcf\system\devtools\pip\TXmlGuiPackageInstallationPlugin;
+use wcf\system\form\builder\field\validation\FormFieldValidationError;
+use wcf\system\form\builder\field\validation\FormFieldValidator;
 use wcf\system\form\builder\field\ClassNameFormField;
 use wcf\system\form\builder\field\IntegerFormField;
 use wcf\system\form\builder\field\ItemListFormField;
 use wcf\system\form\builder\field\TextFormField;
-use wcf\system\form\builder\field\validation\FormFieldValidationError;
-use wcf\system\form\builder\field\validation\FormFieldValidator;
 use wcf\system\form\builder\IFormDocument;
 use wcf\system\menu\user\profile\content\IUserProfileMenuContent;
 use wcf\system\WCF;