From 7caf4a911c5641f1caa87e157f1fcb8432a85254 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christian=20E=C3=9Fl?= <indy.essl@gmail.com>
Date: Fri, 28 Feb 2020 21:29:46 +0100
Subject: [PATCH] [BUGFIX] Fix spelling errors in ext:form
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Resolves: #90585
Releases: master
Change-Id: I2b8648f2d8d86ae7054db0a322188ba39f131c8c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63491
Tested-by: Björn Jacob <bjoern.jacob@tritum.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Susanne Moog <look@susi.dev>
Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Susanne Moog <look@susi.dev>
---
 .../CreatableFormElementPropertiesValidator.php           | 4 ++--
 ...atablePropertyCollectionElementPropertiesValidator.php | 2 +-
 .../sysext/form/Classes/Hooks/FormFileExtensionUpdate.php | 6 +++---
 .../Classes/Mvc/Configuration/ConfigurationManager.php    | 6 +++---
 .../Classes/Mvc/Persistence/FormPersistenceManager.php    | 2 +-
 .../Mvc/Persistence/FormPersistenceManagerInterface.php   | 2 +-
 typo3/sysext/form/Documentation/I/ApiReference/Index.rst  | 2 +-
 .../form/Documentation/I/Concepts/Variants/Index.rst      | 4 ++--
 .../proto/finishersDefinition/finishers/Closure.rst       | 2 +-
 .../finishersDefinition/properties/formEngine/label.rst   | 4 ++--
 .../Documentation/I/Config/proto/formEditor/Index.rst     | 2 +-
 .../Documentation/I/Config/proto/formElements/Index.rst   | 2 +-
 .../I/Config/proto/formElements/formElementTypes/Date.rst | 4 ++--
 .../Form/renderingOptions/controllerAction.rst            | 2 +-
 .../Form/renderingOptions/skipUnknownElements.rst         | 2 +-
 .../proto/validatorsDefinition/validators/Count.rst       | 4 ++--
 .../proto/validatorsDefinition/validators/FileSize.rst    | 4 ++--
 .../proto/validatorsDefinition/validators/NumberRange.rst | 4 ++--
 .../validatorsDefinition/validators/StringLength.rst      | 4 ++--
 .../Public/JavaScript/Backend/FormEditor/Core.js          | 2 +-
 .../Public/JavaScript/Backend/FormEditor/Helper.js        | 4 ++--
 .../JavaScript/Backend/FormEditor/InspectorComponent.js   | 4 ++--
 .../Public/JavaScript/Backend/FormEditor/Mediator.js      | 2 +-
 .../JavaScript/Backend/FormEditor/ModalsComponent.js      | 4 ++--
 .../JavaScript/Backend/FormEditor/StageComponent.js       | 6 +++---
 .../Public/JavaScript/Backend/FormEditor/TreeComponent.js | 4 ++--
 .../Public/JavaScript/Backend/FormEditor/ViewModel.js     | 8 ++++----
 .../Public/JavaScript/Backend/FormManager/ViewModel.js    | 2 +-
 .../Tests/Unit/Controller/FormEditorControllerTest.php    | 2 +-
 ...lePropertyCollectionElementPropertiesValidatorTest.php | 2 +-
 .../Tests/Unit/Domain/Factory/ArrayFormFactoryTest.php    | 2 +-
 .../Tests/Unit/Domain/Finishers/AbstractFinisherTest.php  | 2 +-
 .../Mvc/Configuration/InheritancesResolverServiceTest.php | 6 +++---
 .../Tests/Unit/Mvc/Validation/FileSizeValidatorTest.php   | 4 ++--
 .../form/Tests/Unit/Service/TranslationServiceTest.php    | 8 ++++----
 35 files changed, 62 insertions(+), 62 deletions(-)

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 3eda63e5a9a5..2f261331b05e 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 ef7fefce10bc..5ab3a0b15962 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 7e689e70f4d9..fd1182fcf455 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 208d5890c7a9..93698b250023 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 82bcb15ea0f2..e91eb6b950c8 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 683c65f333a6..154ced1413b0 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 e50b0a6f8c3f..793f894fb1ea 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 e3c1ddda446d..094420198516 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 5209e4b1f5ca..d50f810540fa 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 000474d80fb6..90b48b70f566 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 eaed1941e80c..1e493754bda0 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 d4bd6f168029..186c7f7716a1 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 57aa68b36d15..9e3c737117b7 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 8cc74fd9af92..bb63a7f55368 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 a7be7e563413..78898596b8ea 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 dcc30b9b155f..a981843232e0 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 8ff8aa2643ac..d1d45e0cc883 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 83904fdc2c1f..43dc1b0d8f32 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 aa5b0965b4fc..7db5d04bedbe 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 e34b71f3a2bc..cc45a2413e4c 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 f6305edcb726..ad25541eaed0 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 31525f7bdcd5..460815eefc6a 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 4689d1e34b11..2dcf42669258 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 0c89d51e8bf9..fc8f0bf9be69 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 22c3bd7f4dc0..7f9f99cb5fa9 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 7d8428f1a98a..dd6e4ebdbf3a 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 23858d7eb471..3b790cfc9347 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 6046d825c99d..f22f55d01b65 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 40e1d2c07cc5..3ddc4e03010e 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 679d0f34a054..78878c775e0a 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 045fe7c000d5..3895aaf1e497 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 4c2b7449e70a..c3b4a69158b5 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 2daab976f232..06369b573994 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 1a5c6cd72f23..b1cd878c66e6 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 029b5a60f129..475d4a2bb81c 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);
         }
 
-- 
GitLab