diff --git a/typo3/sysext/form/Classes/Domain/Configuration/FormDefinition/Validators/CreatableFormElementPropertiesValidator.php b/typo3/sysext/form/Classes/Domain/Configuration/FormDefinition/Validators/CreatableFormElementPropertiesValidator.php index 3eda63e5a9a5e783a04ac9a1c9f23e10c657ec6d..2f261331b05e128f03fdb93614a23b0c8d2e0bc3 100644 --- a/typo3/sysext/form/Classes/Domain/Configuration/FormDefinition/Validators/CreatableFormElementPropertiesValidator.php +++ b/typo3/sysext/form/Classes/Domain/Configuration/FormDefinition/Validators/CreatableFormElementPropertiesValidator.php @@ -42,7 +42,7 @@ class CreatableFormElementPropertiesValidator extends ElementBasedValidator $this->getConfigurationService()->isFormElementPropertyDefinedInPredefinedDefaultsInFormEditorSetup($dto) && !ArrayUtility::isValidPath($this->currentElement, $this->buildHmacDataPath($dto->getPropertyPath()), '.') ) { - // If the form element is newely created, we have to compare the $value (form definition) with $predefinedDefaultValue (form setup) + // If the form element is newly created, we have to compare the $value (form definition) with $predefinedDefaultValue (form setup) // to check the integrity (at this time we don't have a hmac for the $value to check the integrity) $predefinedDefaultValue = $this->getConfigurationService()->getFormElementPredefinedDefaultValueFromFormEditorSetup($dto); if ($value !== $predefinedDefaultValue) { @@ -55,7 +55,7 @@ class CreatableFormElementPropertiesValidator extends ElementBasedValidator // translations from $predefinedDefaultValue. // Usecase: // * backend language is EN - // * open the form edtior and add a ContentElement form element + // * open the form editor and add a ContentElement form element // * switch to another browser tab and change the backend language to DE // * clear the cache // * go back to the form editor and click the save button diff --git a/typo3/sysext/form/Classes/Domain/Configuration/FormDefinition/Validators/CreatablePropertyCollectionElementPropertiesValidator.php b/typo3/sysext/form/Classes/Domain/Configuration/FormDefinition/Validators/CreatablePropertyCollectionElementPropertiesValidator.php index ef7fefce10bc3949e5c72937a93a5c88636b3e7a..5ab3a0b15962ee49927ddac88dc097b55f9f48a8 100644 --- a/typo3/sysext/form/Classes/Domain/Configuration/FormDefinition/Validators/CreatablePropertyCollectionElementPropertiesValidator.php +++ b/typo3/sysext/form/Classes/Domain/Configuration/FormDefinition/Validators/CreatablePropertyCollectionElementPropertiesValidator.php @@ -67,7 +67,7 @@ class CreatablePropertyCollectionElementPropertiesValidator extends CollectionBa $value, ValidationDto $dto ): void { - // If the property collection element is newely created, we have to compare the $value (form definition) with $predefinedDefaultValue (form setup) + // If the property collection element is newly created, we have to compare the $value (form definition) with $predefinedDefaultValue (form setup) // to check the integrity (at this time we don't have a hmac on the value to check the integrity) $predefinedDefaultValue = $this->getConfigurationService()->getPropertyCollectionPredefinedDefaultValueFromFormEditorSetup($dto); if ($value !== $predefinedDefaultValue) { diff --git a/typo3/sysext/form/Classes/Hooks/FormFileExtensionUpdate.php b/typo3/sysext/form/Classes/Hooks/FormFileExtensionUpdate.php index 7e689e70f4d9083cc81c7ab568f51a33f22bd517..fd1182fcf455fa98438ec3cbec9b2197c28d583a 100644 --- a/typo3/sysext/form/Classes/Hooks/FormFileExtensionUpdate.php +++ b/typo3/sysext/form/Classes/Hooks/FormFileExtensionUpdate.php @@ -428,17 +428,17 @@ class FormFileExtensionUpdate implements ChattyInterface, UpgradeWizardInterface * @param string $persistenceIdentifier * @param array $formDefinition * @param File $file - * @param string $localtion + * @param string $location * @return array */ protected function setFormDefinitionInformationData( string $persistenceIdentifier, array $formDefinition, File $file, - string $localtion + string $location ): array { return [ - 'location' => $localtion, + 'location' => $location, 'persistenceIdentifier' => $persistenceIdentifier, 'prototypeName' => $formDefinition['prototypeName'], 'formIdentifier' => $formDefinition['identifier'], diff --git a/typo3/sysext/form/Classes/Mvc/Configuration/ConfigurationManager.php b/typo3/sysext/form/Classes/Mvc/Configuration/ConfigurationManager.php index 208d5890c7a9da62098a697c825cde7cb8abac93..93698b250023953d717d73ebe52700bdf3dc208e 100644 --- a/typo3/sysext/form/Classes/Mvc/Configuration/ConfigurationManager.php +++ b/typo3/sysext/form/Classes/Mvc/Configuration/ConfigurationManager.php @@ -93,7 +93,7 @@ class ConfigurationManager extends ExtbaseConfigurationManager implements Config 1471473377 ); } - $ucFirstExtensioName = ucfirst($extensionName); + $ucFirstExtensionName = ucfirst($extensionName); $typoscriptSettings = $this->getTypoScriptSettings($extensionName); @@ -112,8 +112,8 @@ class ConfigurationManager extends ExtbaseConfigurationManager implements Config ->getResolvedConfiguration(); $yamlSettings = ArrayUtility::removeNullValuesRecursive($yamlSettings); - $yamlSettings = is_array($yamlSettings['TYPO3']['CMS'][$ucFirstExtensioName]) - ? $yamlSettings['TYPO3']['CMS'][$ucFirstExtensioName] + $yamlSettings = is_array($yamlSettings['TYPO3']['CMS'][$ucFirstExtensionName]) + ? $yamlSettings['TYPO3']['CMS'][$ucFirstExtensionName] : []; $yamlSettings = ArrayUtility::sortArrayWithIntegerKeysRecursive($yamlSettings); $this->setYamlSettingsIntoCache($cacheKeySuffix, $yamlSettings); diff --git a/typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManager.php b/typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManager.php index 82bcb15ea0f23d01edfa3e979b3196757cd80575..e91eb6b950c88375867a818a7994c56fe7939bc9 100644 --- a/typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManager.php +++ b/typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManager.php @@ -576,7 +576,7 @@ class FormPersistenceManager implements FormPersistenceManagerInterface } /** - * Check if an identifier is already used by a formDefintion. + * Check if an identifier is already used by a formDefinition. * * @param string $identifier * @return bool diff --git a/typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManagerInterface.php b/typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManagerInterface.php index 683c65f333a6f55489f9135be93efb4eadc496d4..154ced1413b06d6fa709c5a4ab2264a2e7298cd1 100644 --- a/typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManagerInterface.php +++ b/typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManagerInterface.php @@ -93,7 +93,7 @@ interface FormPersistenceManagerInterface public function getUniquePersistenceIdentifier(string $formIdentifier, string $savePath): string; /** - * Check if an identifier is already used by a formDefintion. + * Check if an identifier is already used by a formDefinition. * * @param string $identifier * @return bool diff --git a/typo3/sysext/form/Documentation/I/ApiReference/Index.rst b/typo3/sysext/form/Documentation/I/ApiReference/Index.rst index e50b0a6f8c3fee0de0ff4d768dc83d931e7b482c..793f894fb1eaa821c20eafda1c2dc52f5001748a 100644 --- a/typo3/sysext/form/Documentation/I/ApiReference/Index.rst +++ b/typo3/sysext/form/Documentation/I/ApiReference/Index.rst @@ -212,7 +212,7 @@ prototypeName +++++++++++++ The name of the prototype, on which basis the ``factoryClass`` should create the form. -If nothing is specified, the configuration (``form definition`` or ``overrideConfiguration``) is searched for the prototy name. +If nothing is specified, the configuration (``form definition`` or ``overrideConfiguration``) is searched for the prototype's name. If no specification exists, the standard prototype ``standard`` is used. diff --git a/typo3/sysext/form/Documentation/I/Concepts/Variants/Index.rst b/typo3/sysext/form/Documentation/I/Concepts/Variants/Index.rst index e3c1ddda446d00f130a44c2e1224efa6631a42ed..09442019851653fb4a59e3977942f8c4be483d1a 100644 --- a/typo3/sysext/form/Documentation/I/Concepts/Variants/Index.rst +++ b/typo3/sysext/form/Documentation/I/Concepts/Variants/Index.rst @@ -570,7 +570,7 @@ In this example a select option is removed for a specific locale. label: Step renderables: - - identifier: salulation + identifier: salutation type: SingleSelect label: Salutation properties: @@ -582,7 +582,7 @@ In this example a select option is removed for a specific locale. defaultValue: '' variants: - - identifier: salulation-variant + identifier: salutation-variant condition: 'siteLanguage("locale") == "zh_CN.utf-8"' properties: options: diff --git a/typo3/sysext/form/Documentation/I/Config/proto/finishersDefinition/finishers/Closure.rst b/typo3/sysext/form/Documentation/I/Config/proto/finishersDefinition/finishers/Closure.rst index 5209e4b1f5ca8e2c481e727a39dd203536cbb6ec..d50f810540fa66216a39d836478816d75cdc8f4b 100644 --- a/typo3/sysext/form/Documentation/I/Config/proto/finishersDefinition/finishers/Closure.rst +++ b/typo3/sysext/form/Documentation/I/Config/proto/finishersDefinition/finishers/Closure.rst @@ -72,7 +72,7 @@ options.closure - :ref:`"Custom finisher implementations"<concepts-finishers-customfinisherimplementations>` :aspect:`Description` - The closure which are invoked if the finisher is treggered. + The closure which is invoked if the finisher is triggered. .. _typo3.cms.form.prototypes.<prototypeIdentifier>.finishersdefinition.closure.formeditor.iconidentifier: diff --git a/typo3/sysext/form/Documentation/I/Config/proto/finishersDefinition/properties/formEngine/label.rst b/typo3/sysext/form/Documentation/I/Config/proto/finishersDefinition/properties/formEngine/label.rst index 000474d80fb6f1eb7a73d169a4697a34636401dc..90b48b70f5660af738baa3b926eaef7d990054c6 100644 --- a/typo3/sysext/form/Documentation/I/Config/proto/finishersDefinition/properties/formEngine/label.rst +++ b/typo3/sysext/form/Documentation/I/Config/proto/finishersDefinition/properties/formEngine/label.rst @@ -1,3 +1,3 @@ Finisher options are overwritable within the ``form plugin``. -If the "Override finisher settings" checkbox is selected within the ``form plugin``, every finisher who has a - :ref:`"FormEngine"<typo3.cms.form.prototypes.\<prototypeIdentifier>.finishersdefinition.\<finisheridentifier>.formengine>` configuration, is shown in a seperate tab. -``label`` is the label for such a tab. \ No newline at end of file +If the "Override finisher settings" checkbox is selected within the ``form plugin``, every finisher who has a - :ref:`"FormEngine"<typo3.cms.form.prototypes.\<prototypeIdentifier>.finishersdefinition.\<finisheridentifier>.formengine>` configuration, is shown in a separate tab. +``label`` is the label for such a tab. diff --git a/typo3/sysext/form/Documentation/I/Config/proto/formEditor/Index.rst b/typo3/sysext/form/Documentation/I/Config/proto/formEditor/Index.rst index eaed1941e80ccfe18f6ebdc580fe8941644d16fb..1e493754bda0843249c43fa22da04a06fa145c82 100644 --- a/typo3/sysext/form/Documentation/I/Config/proto/formEditor/Index.rst +++ b/typo3/sysext/form/Documentation/I/Config/proto/formEditor/Index.rst @@ -500,7 +500,7 @@ formEditorPartials - :ref:`"view/inspector/editor/insert/perform"<apireference-formeditor-basicjavascriptconcepts-events-view-inspector-editor-insert-perform>` :aspect:`Description` - Array with mappings for the inline HTML templates. The keys are identifierts which could be used within the JavaScript code. The values are partial paths, relative to :ref:`"TYPO3.CMS.Form.prototypes.\<prototypeIdentifier>.formeditor.formEditorFluidConfiguration.partialRootPaths"<typo3.cms.form.prototypes.\<prototypeidentifier>.formeditor.formeditorfluidconfiguration.partialrootpaths>`. + Array with mappings for the inline HTML templates. The keys are identifiers which could be used within the JavaScript code. The values are partial paths, relative to :ref:`"TYPO3.CMS.Form.prototypes.\<prototypeIdentifier>.formeditor.formEditorFluidConfiguration.partialRootPaths"<typo3.cms.form.prototypes.\<prototypeidentifier>.formeditor.formeditorfluidconfiguration.partialrootpaths>`. The partials content will be rendered as inline HTML. This inline HTML templates can be identified and used by such a key (e.g. "Inspector-TextEditor") within the JavaScript code. diff --git a/typo3/sysext/form/Documentation/I/Config/proto/formElements/Index.rst b/typo3/sysext/form/Documentation/I/Config/proto/formElements/Index.rst index d4bd6f168029f748920844a6b83cf9925a566b70..186c7f7716a1b17c412772d7639fde3345488bda 100644 --- a/typo3/sysext/form/Documentation/I/Config/proto/formElements/Index.rst +++ b/typo3/sysext/form/Documentation/I/Config/proto/formElements/Index.rst @@ -355,7 +355,7 @@ properties.fluidAdditionalAttributes - :ref:`"Translate form definition"<concepts-frontendrendering-translation-formdefinition>` :aspect:`Description` - The values within this array goes directely into the fluid form element viewhelpers property ``additionalAttributes``. + The values within this array are directly used within the form element ViewHelper's property ``additionalAttributes``. .. _typo3.cms.form.prototypes.<prototypeIdentifier>.formelementsdefinition.<formelementtypeidentifier>.properties.gridcolumnclassautoconfiguration: diff --git a/typo3/sysext/form/Documentation/I/Config/proto/formElements/formElementTypes/Date.rst b/typo3/sysext/form/Documentation/I/Config/proto/formElements/formElementTypes/Date.rst index 57aa68b36d15207dd7875c090aab89d7306917b8..9e3c737117b71d59120e5e997587c9f0d9ca86dd 100644 --- a/typo3/sysext/form/Documentation/I/Config/proto/formElements/formElementTypes/Date.rst +++ b/typo3/sysext/form/Documentation/I/Config/proto/formElements/formElementTypes/Date.rst @@ -15,13 +15,13 @@ form element within the form editor, the ``min`` and ``max`` HTML attributes are Browsers which do not support the HTML5 date element gracefully degrade to a text input. The HTML5 date element always normalizes the value to the format Y-m-d (RFC 3339 'full-date'). With a text input, by default the browser has no -recognition of which format the date should be in. A workaroung could be to put a pattern attribute on the date input. +recognition of which format the date should be in. A workaround could be to put a pattern attribute on the date input. Even though the date input does not use it, the text input fallback will. By default, the HTML attribute ``pattern="([0-9]{4})-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])"`` is rendered on the date form element. Note that this basic regular expression does not support leap years and does not check for the correct number of days in a month. But as a start, this should be sufficient. The same pattern is used by the form -editor to validate the properties ``defaultValue`` and the ``DateRange`` valiator options ``minimum`` and ``maximum``. +editor to validate the properties ``defaultValue`` and the ``DateRange`` validator options ``minimum`` and ``maximum``. Read more: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date#Handling_browser_support diff --git a/typo3/sysext/form/Documentation/I/Config/proto/formElements/formElementTypes/Form/renderingOptions/controllerAction.rst b/typo3/sysext/form/Documentation/I/Config/proto/formElements/formElementTypes/Form/renderingOptions/controllerAction.rst index 8cc74fd9af92056576f9f9bb1f23e2068c0eea17..bb63a7f553682912dedbd871b35fa92b76aff5f1 100644 --- a/typo3/sysext/form/Documentation/I/Config/proto/formElements/formElementTypes/Form/renderingOptions/controllerAction.rst +++ b/typo3/sysext/form/Documentation/I/Config/proto/formElements/formElementTypes/Form/renderingOptions/controllerAction.rst @@ -53,4 +53,4 @@ renderingOptions.controllerAction - :ref:`"Render within your own Extbase extension"<concepts-frontendrendering-extbase>` :aspect:`Description` - Fluid f:form viewHelper option ``action``. This is usefull if you want to render your form within your own extbase extension. \ No newline at end of file + Fluid f:form ViewHelper option ``action``. This is useful if you want to render your form within your own extbase extension. diff --git a/typo3/sysext/form/Documentation/I/Config/proto/formElements/formElementTypes/Form/renderingOptions/skipUnknownElements.rst b/typo3/sysext/form/Documentation/I/Config/proto/formElements/formElementTypes/Form/renderingOptions/skipUnknownElements.rst index a7be7e563413dc18112d63e4efc1a8e54773e746..78898596b8ea5d02c05d46b17ee967c587015d2d 100644 --- a/typo3/sysext/form/Documentation/I/Config/proto/formElements/formElementTypes/Form/renderingOptions/skipUnknownElements.rst +++ b/typo3/sysext/form/Documentation/I/Config/proto/formElements/formElementTypes/Form/renderingOptions/skipUnknownElements.rst @@ -53,4 +53,4 @@ renderingOptions.skipUnknownElements ToDo :aspect:`Description` - If set, every unknown ``<formElementIdentifier>`` will not be rendered. If set to false an exeption will be thrown. \ No newline at end of file + If set, every unknown ``<formElementIdentifier>`` will not be rendered. If set to false an exception will be thrown. diff --git a/typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/Count.rst b/typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/Count.rst index dcc30b9b155f3129ace0e40096f8a0939926503b..a981843232e0e43de09c92e79d1279aad4fca0d0 100644 --- a/typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/Count.rst +++ b/typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/Count.rst @@ -76,7 +76,7 @@ options.minimum undefined :aspect:`Description` - The minimum count to accep. + The minimum count to accept. .. _typo3.cms.form.prototypes.<prototypeidentifier>.validatorsdefinition.count.options.maximum: @@ -100,7 +100,7 @@ options.maximum undefined :aspect:`Description` - The maximum count to accep. + The maximum count to accept. .. _typo3.cms.form.prototypes.<prototypeidentifier>.validatorsdefinition.count.formeditor.iconidentifier: diff --git a/typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/FileSize.rst b/typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/FileSize.rst index 8ff8aa2643ac77ac008913ae055529aec8c03347..d1d45e0cc88391ccdcfdfdbe2fa56068a0df23cd 100644 --- a/typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/FileSize.rst +++ b/typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/FileSize.rst @@ -76,7 +76,7 @@ options.minimum undefined :aspect:`Description` - The minimum filesize to accep. Use the format <size>B|K|M|G. For exmaple: 10M means 10 Megabytes. + The minimum filesize to accept. Use the format <size>B|K|M|G. For example: 10M means 10 Megabytes. .. _typo3.cms.form.prototypes.<prototypeidentifier>.validatorsdefinition.filesize.options.maximum: @@ -100,7 +100,7 @@ options.maximum undefined :aspect:`Description` - The maximum filesize to accep. Use the format <size>B|K|M|G. For exmaple: 10M means 10 Megabytes. + The maximum filesize to accept. Use the format <size>B|K|M|G. For example: 10M means 10 Megabytes. .. _typo3.cms.form.prototypes.<prototypeidentifier>.validatorsdefinition.filesize.formeditor.iconidentifier: diff --git a/typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/NumberRange.rst b/typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/NumberRange.rst index 83904fdc2c1fc97eeddc9803f1e9166c3f0bb218..43dc1b0d8f32e8daf6c2fae6e1c125d9332f9e1c 100644 --- a/typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/NumberRange.rst +++ b/typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/NumberRange.rst @@ -76,7 +76,7 @@ options.minimum undefined :aspect:`Description` - The minimum value to accep. + The minimum value to accept. .. _typo3.cms.form.prototypes.<prototypeidentifier>.validatorsdefinition.numberrange.options.maximum: @@ -100,7 +100,7 @@ options.maximum undefined :aspect:`Description` - The maximum value to accep. + The maximum value to accept. .. _typo3.cms.form.prototypes.<prototypeidentifier>.validatorsdefinition.numberrange.formeditor.iconidentifier: diff --git a/typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/StringLength.rst b/typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/StringLength.rst index aa5b0965b4fc9e69ff49061a28f90faa2a5404f4..7db5d04bedbec518e3a12f4c70a17db5159bb0fe 100644 --- a/typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/StringLength.rst +++ b/typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/StringLength.rst @@ -79,7 +79,7 @@ options.minimum undefined :aspect:`Description` - The minimum value to accep. + The minimum value to accept. .. _typo3.cms.form.prototypes.<prototypeidentifier>.validatorsdefinition.stringlength.options.maximum: @@ -103,7 +103,7 @@ options.maximum undefined :aspect:`Description` - The maximum value to accep. + The maximum value to accept. .. _typo3.cms.form.prototypes.<prototypeidentifier>.validatorsdefinition.stringlength.formeditor.iconidentifier: diff --git a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Core.js b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Core.js index e34b71f3a2bc08a361650b253c81bf1ede986661..cc45a2413e4c5e794eff2f59b15e5dd2b68ea9d2 100644 --- a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Core.js +++ b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Core.js @@ -1458,7 +1458,7 @@ define(['jquery'], function($) { /** * @param string identifier - * @returl bool + * @return bool * @throws 1475364966 */ function isFormElementIdentifierUsed(identifier) { diff --git a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Helper.js b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Helper.js index f6305edcb7266c0424465dfa7b121699365ab671..ad25541eaed0c078dd16526409783fc75540b640 100644 --- a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Helper.js +++ b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Helper.js @@ -65,7 +65,7 @@ define(['jquery'], function($) { }; /* ************************************************************* - * Private Methodes + * Private Methods * ************************************************************/ /** @@ -99,7 +99,7 @@ define(['jquery'], function($) { }; /* ************************************************************* - * Public Methodes + * Public Methods * ************************************************************/ /** diff --git a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/InspectorComponent.js b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/InspectorComponent.js index 31525f7bdcd5c71210d0975b938613473d44f7d8..460815eefc6accdb08c443d9f1f325ae3791c958 100644 --- a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/InspectorComponent.js +++ b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/InspectorComponent.js @@ -114,7 +114,7 @@ define(['jquery', var _formEditorApp = null; /* ************************************************************* - * Private Methodes + * Private Methods * ************************************************************/ /** @@ -775,7 +775,7 @@ define(['jquery', }; /* ************************************************************* - * Public Methodes + * Public Methods * ************************************************************/ /** diff --git a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Mediator.js b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Mediator.js index 4689d1e34b111a9689223bace9b26760aee3f762..2dcf42669258e105233c7c84f55bc405a04a38f0 100644 --- a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Mediator.js +++ b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Mediator.js @@ -36,7 +36,7 @@ define(['jquery', var _viewModel = null; /* ************************************************************* - * Private Methodes + * Private Methods * ************************************************************/ /** diff --git a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/ModalsComponent.js b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/ModalsComponent.js index 0c89d51e8bf9b1bf9d3a2008eb6859d9e552f436..fc8f0bf9be690bab828cb562a66a84b31f067d58 100644 --- a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/ModalsComponent.js +++ b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/ModalsComponent.js @@ -64,7 +64,7 @@ define(['jquery', var _formEditorApp = null; /* ************************************************************* - * Private Methodes + * Private Methods * ************************************************************/ /** @@ -351,7 +351,7 @@ define(['jquery', }; /* ************************************************************* - * Public Methodes + * Public Methods * ************************************************************/ /** diff --git a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/StageComponent.js b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/StageComponent.js index 22c3bd7f4dc07d783faeaf3d5e40aef4cd943aa7..7f9f99cb5fa9163994f69c636c8473adc25b8284 100644 --- a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/StageComponent.js +++ b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/StageComponent.js @@ -112,7 +112,7 @@ define(['jquery', var _stageDomElement = null; /* ************************************************************* - * Private Methodes + * Private Methods * ************************************************************/ /** @@ -418,7 +418,7 @@ define(['jquery', }; /* ************************************************************* - * Public Methodes + * Public Methods * ************************************************************/ /** @@ -826,7 +826,7 @@ define(['jquery', ) { $(this).tooltip({ title: 'identifier: ' + formElement.get('identifier') + ' (type: ' + formElement.get('type') + ')', - placement: 'rigth' + placement: 'right' }); } else if ( !getFormElementDefinition(formElement, '_isTopLevelFormElement') diff --git a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/TreeComponent.js b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/TreeComponent.js index 7d8428f1a98a8e90573f90fc1da6c97ed5526fad..dd6e4ebdbf3a55b35d16a54c12662c000485c503 100644 --- a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/TreeComponent.js +++ b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/TreeComponent.js @@ -86,7 +86,7 @@ define(['jquery', var _treeDomElement = null; /* ************************************************************* - * Private Methodes + * Private Methods * ************************************************************/ /** @@ -438,7 +438,7 @@ define(['jquery', }; /* ************************************************************* - * Public Methodes + * Public Methods * ************************************************************/ /** diff --git a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/ViewModel.js b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/ViewModel.js index 23858d7eb47163f028b5781becfc65d46228f6a6..3b790cfc9347557312b3f2c8a3f877a336dae606 100644 --- a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/ViewModel.js +++ b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/ViewModel.js @@ -142,7 +142,7 @@ define(['jquery', var _stageComponent = null; /* ************************************************************* - * Private Methodes + * Private Methods * ************************************************************/ /** @@ -523,7 +523,7 @@ define(['jquery', }; /* ************************************************************* - * Public Methodes + * Public Methods * ************************************************************/ /** @@ -562,7 +562,7 @@ define(['jquery', /** * @public * - * @return object (derefernced) + * @return object (dereferenced) */ function getConfiguration() { return $.extend(true, {}, _configuration); @@ -1333,7 +1333,7 @@ define(['jquery', }; /* ************************************************************* - * Batch methodes + * Batch methods * ************************************************************/ /** diff --git a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormManager/ViewModel.js b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormManager/ViewModel.js index 6046d825c99d184a763604c6f4bc4d4083a6f64c..f22f55d01b6550b45b85e66da444f855c703a3ea 100644 --- a/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormManager/ViewModel.js +++ b/typo3/sysext/form/Resources/Public/JavaScript/Backend/FormManager/ViewModel.js @@ -88,7 +88,7 @@ define(['jquery', MultiStepWizard.addSlide('new-form-step-1', TYPO3.lang['formManager.newFormWizard.step1.title'], '', Severity.info, null, function(slide) { Icons.getIcon('actions-document-duplicates-select', Icons.sizes.large).then(function (duplicateIconMarkup) { Icons.getIcon('actions-document-new', Icons.sizes.large).then(function (blankIconMarkup) { - var advandecWizardHasOptions, folders, html, modal, cancelButton, nextButton, prototypes, + var advancedWizardHasOptions, folders, html, modal, cancelButton, nextButton, prototypes, templates; modal = MultiStepWizard.setup.$carousel.closest('.modal'); diff --git a/typo3/sysext/form/Tests/Unit/Controller/FormEditorControllerTest.php b/typo3/sysext/form/Tests/Unit/Controller/FormEditorControllerTest.php index 40e1d2c07cc5ef343e501b91329d96d65c1c62dc..3ddc4e03010e293cd3ccac788de90a6a8f292e90 100644 --- a/typo3/sysext/form/Tests/Unit/Controller/FormEditorControllerTest.php +++ b/typo3/sysext/form/Tests/Unit/Controller/FormEditorControllerTest.php @@ -371,7 +371,7 @@ class FormEditorControllerTest extends UnitTestCase /** * @test */ - public function renderFormEditorTemplatesThrowsExceptionIftemplatePathAndFilenameNotSet(): void + public function renderFormEditorTemplatesThrowsExceptionIfTemplatePathAndFilenameNotSet(): void { $this->expectException(RenderingException::class); $this->expectExceptionCode(1485636499); diff --git a/typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinition/Validators/CreatablePropertyCollectionElementPropertiesValidatorTest.php b/typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinition/Validators/CreatablePropertyCollectionElementPropertiesValidatorTest.php index 679d0f34a0542bc9018f42e44b7a7c7a1ec525f7..78878c775e0aa6dc597a46c2d4da152dd98463df 100644 --- a/typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinition/Validators/CreatablePropertyCollectionElementPropertiesValidatorTest.php +++ b/typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinition/Validators/CreatablePropertyCollectionElementPropertiesValidatorTest.php @@ -51,7 +51,7 @@ class CreatablePropertyCollectionElementPropertiesValidatorTest extends UnitTest /** * @test */ - public function validatePropertyCollectionElementPredefinedDefaultValueThrowsNoExceptionIfValueMatchs() + public function validatePropertyCollectionElementPredefinedDefaultValueThrowsNoExceptionIfValueMatches() { $validationDto = new ValidationDto(null, null, 'test-1', 'label', 'validators', 'StringLength'); $typeConverter = $this->getAccessibleMock( diff --git a/typo3/sysext/form/Tests/Unit/Domain/Factory/ArrayFormFactoryTest.php b/typo3/sysext/form/Tests/Unit/Domain/Factory/ArrayFormFactoryTest.php index 045fe7c000d5656c4c890602560e10542b351ca4..3895aaf1e49747167b7a468ff964ed9cd6098363 100644 --- a/typo3/sysext/form/Tests/Unit/Domain/Factory/ArrayFormFactoryTest.php +++ b/typo3/sysext/form/Tests/Unit/Domain/Factory/ArrayFormFactoryTest.php @@ -45,7 +45,7 @@ class ArrayFormFactoryTest extends UnitTestCase /** * @test */ - public function addNestedRenderableSkipChildElementRenderingIfCompositElementIsUnknown() + public function addNestedRenderableSkipChildElementRenderingIfCompositeElementIsUnknown() { $unknownElement = new UnknownFormElement('test-2', 'test'); diff --git a/typo3/sysext/form/Tests/Unit/Domain/Finishers/AbstractFinisherTest.php b/typo3/sysext/form/Tests/Unit/Domain/Finishers/AbstractFinisherTest.php index 4c2b7449e70a067564aab6f7ee5c335566ea6410..c3b4a69158b5d061c9f796b6ec3a471011c1e4af 100644 --- a/typo3/sysext/form/Tests/Unit/Domain/Finishers/AbstractFinisherTest.php +++ b/typo3/sysext/form/Tests/Unit/Domain/Finishers/AbstractFinisherTest.php @@ -447,7 +447,7 @@ class AbstractFinisherTest extends UnitTestCase /** * @test */ - public function substituteRuntimeReferencesReturnsResolvesElementIdentiiersInArrayKeys(): void + public function substituteRuntimeReferencesReturnsResolvesElementIdentifiersInArrayKeys(): void { $mockAbstractFinisher = $this->getAccessibleMockForAbstractClass( AbstractFinisher::class, diff --git a/typo3/sysext/form/Tests/Unit/Mvc/Configuration/InheritancesResolverServiceTest.php b/typo3/sysext/form/Tests/Unit/Mvc/Configuration/InheritancesResolverServiceTest.php index 2daab976f2324fcb19beb31abf5043091452a1fb..06369b57399417e9dc308195730fe0c870b6c7cd 100644 --- a/typo3/sysext/form/Tests/Unit/Mvc/Configuration/InheritancesResolverServiceTest.php +++ b/typo3/sysext/form/Tests/Unit/Mvc/Configuration/InheritancesResolverServiceTest.php @@ -354,7 +354,7 @@ class InheritancesResolverServiceTest extends UnitTestCase /** * @test */ - public function getResolvedConfigurationThrowsExceptionIfCycleDepenciesOnSameLevelIsFound(): void + public function getResolvedConfigurationThrowsExceptionIfCycleDependenciesOnSameLevelIsFound(): void { $input = [ 'TYPO3' => [ @@ -384,7 +384,7 @@ class InheritancesResolverServiceTest extends UnitTestCase /** * @test */ - public function getResolvedConfigurationThrowsExceptionIfCycleDepenciesOnSameLevelWithGapIsFound(): void + public function getResolvedConfigurationThrowsExceptionIfCycleDependenciesOnSameLevelWithGapIsFound(): void { $input = [ 'TYPO3' => [ @@ -424,7 +424,7 @@ class InheritancesResolverServiceTest extends UnitTestCase /** * @test */ - public function getResolvedConfigurationThrowsExceptionIfCycleDepenciesOnHigherLevelIsFound(): void + public function getResolvedConfigurationThrowsExceptionIfCycleDependenciesOnHigherLevelIsFound(): void { $input = [ 'TYPO3' => [ diff --git a/typo3/sysext/form/Tests/Unit/Mvc/Validation/FileSizeValidatorTest.php b/typo3/sysext/form/Tests/Unit/Mvc/Validation/FileSizeValidatorTest.php index 1a5c6cd72f23f0a2343f6632e1cbce2e29f0de9b..b1cd878c66e6fed5442d464c0bb295bd49dba657 100644 --- a/typo3/sysext/form/Tests/Unit/Mvc/Validation/FileSizeValidatorTest.php +++ b/typo3/sysext/form/Tests/Unit/Mvc/Validation/FileSizeValidatorTest.php @@ -63,7 +63,7 @@ class FileSizeValidatorTest extends UnitTestCase /** * @test */ - public function FileSizeValidatorHasErrosIfFileResourceSizeIsToSmall() + public function FileSizeValidatorHasErrorsIfFileResourceSizeIsToSmall() { $options = ['minimum' => '1M', 'maximum' => '10M']; $validator = $this->getMockBuilder(FileSizeValidator::class) @@ -82,7 +82,7 @@ class FileSizeValidatorTest extends UnitTestCase /** * @test */ - public function FileSizeValidatorHasErrosIfFileResourceSizeIsToBig() + public function FileSizeValidatorHasErrorsIfFileResourceSizeIsToBig() { $options = ['minimum' => '1M', 'maximum' => '1M']; $validator = $this->getMockBuilder(FileSizeValidator::class) diff --git a/typo3/sysext/form/Tests/Unit/Service/TranslationServiceTest.php b/typo3/sysext/form/Tests/Unit/Service/TranslationServiceTest.php index 029b5a60f129758a297712e6fb06fef7ccb170bf..475d4a2bb81c8ea55def69a0d7166e25f3259c9a 100644 --- a/typo3/sysext/form/Tests/Unit/Service/TranslationServiceTest.php +++ b/typo3/sysext/form/Tests/Unit/Service/TranslationServiceTest.php @@ -864,7 +864,7 @@ class TranslationServiceTest extends UnitTestCase /** * @test */ - public function translateFormElementValueTranslateLabelForConcreteFormAndConcreteElementFromFormRumtimeTranslationFilesIfElementRenderingOptionsContainsNoTranslationFilesAndElementLabelIsNotEmptyAndPropertyShouldBeTranslatedAndTranslationExists(): void + public function translateFormElementValueTranslateLabelForConcreteFormAndConcreteElementFromFormRuntimeTranslationFilesIfElementRenderingOptionsContainsNoTranslationFilesAndElementLabelIsNotEmptyAndPropertyShouldBeTranslatedAndTranslationExists(): void { $formRuntimeXlfPaths = ['EXT:form/Tests/Unit/Service/Fixtures/locallang_form.xlf']; $textElementXlfPaths = ['EXT:form/Tests/Unit/Service/Fixtures/locallang_text.xlf']; @@ -1011,7 +1011,7 @@ class TranslationServiceTest extends UnitTestCase public function translateFormElementValueTranslateLabelFromAdditionalTranslationForConcreteFormAndConcreteElementIfElementRenderingOptionsContainsATranslationFilesAndElementLabelIsNotEmptyAndPropertyShouldBeTranslatedAndTranslationExists(): void { $formRuntimeXlfPaths = ['EXT:form/Tests/Unit/Service/Fixtures/locallang_form.xlf']; - $textElementXlfPathss = [ + $textElementXlfPaths = [ 10 => 'EXT:form/Tests/Unit/Service/Fixtures/locallang_text.xlf', 20 => 'EXT:form/Tests/Unit/Service/Fixtures/locallang_additional_text.xlf' ]; @@ -1028,7 +1028,7 @@ class TranslationServiceTest extends UnitTestCase $formElementRenderingOptions = [ 'translation' => [ - 'translationFiles' => $textElementXlfPathss, + 'translationFiles' => $textElementXlfPaths, 'translatePropertyValueIfEmpty' => true ], ]; @@ -1037,7 +1037,7 @@ class TranslationServiceTest extends UnitTestCase $this->store->flushData($formRuntimeXlfPaths); - foreach ($textElementXlfPathss as $textElementXlfPaths) { + foreach ($textElementXlfPaths as $textElementXlfPaths) { $this->store->flushData($textElementXlfPaths); }