From: Matthias Schmidt Date: Tue, 1 May 2018 11:55:13 +0000 (+0200) Subject: Fix code style issues X-Git-Tag: 5.2.0_Alpha_1~768 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5353c5fb73fb6590951097ad1ceaee47f622972f;p=GitHub%2FWoltLab%2FWCF.git Fix code style issues See #2545 --- diff --git a/wcfsetup/install/files/lib/system/package/plugin/ObjectTypePackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/ObjectTypePackageInstallationPlugin.class.php index c0cb796497..e20f4a76f1 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/ObjectTypePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/ObjectTypePackageInstallationPlugin.class.php @@ -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] ) ); diff --git a/wcfsetup/install/files/lib/system/package/plugin/UserProfileMenuPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/UserProfileMenuPackageInstallationPlugin.class.php index 2328be2ac8..c6c10d2831 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/UserProfileMenuPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/UserProfileMenuPackageInstallationPlugin.class.php @@ -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;