[BUGFIX] Fix spelling errors in ext:form 91/63491/4
authorChristian Eßl <indy.essl@gmail.com>
Fri, 28 Feb 2020 20:29:46 +0000 (21:29 +0100)
committerSusanne Moog <look@susi.dev>
Sat, 29 Feb 2020 06:56:15 +0000 (07:56 +0100)
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>
35 files changed:
typo3/sysext/form/Classes/Domain/Configuration/FormDefinition/Validators/CreatableFormElementPropertiesValidator.php
typo3/sysext/form/Classes/Domain/Configuration/FormDefinition/Validators/CreatablePropertyCollectionElementPropertiesValidator.php
typo3/sysext/form/Classes/Hooks/FormFileExtensionUpdate.php
typo3/sysext/form/Classes/Mvc/Configuration/ConfigurationManager.php
typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManager.php
typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManagerInterface.php
typo3/sysext/form/Documentation/I/ApiReference/Index.rst
typo3/sysext/form/Documentation/I/Concepts/Variants/Index.rst
typo3/sysext/form/Documentation/I/Config/proto/finishersDefinition/finishers/Closure.rst
typo3/sysext/form/Documentation/I/Config/proto/finishersDefinition/properties/formEngine/label.rst
typo3/sysext/form/Documentation/I/Config/proto/formEditor/Index.rst
typo3/sysext/form/Documentation/I/Config/proto/formElements/Index.rst
typo3/sysext/form/Documentation/I/Config/proto/formElements/formElementTypes/Date.rst
typo3/sysext/form/Documentation/I/Config/proto/formElements/formElementTypes/Form/renderingOptions/controllerAction.rst
typo3/sysext/form/Documentation/I/Config/proto/formElements/formElementTypes/Form/renderingOptions/skipUnknownElements.rst
typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/Count.rst
typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/FileSize.rst
typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/NumberRange.rst
typo3/sysext/form/Documentation/I/Config/proto/validatorsDefinition/validators/StringLength.rst
typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Core.js
typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Helper.js
typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/InspectorComponent.js
typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Mediator.js
typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/ModalsComponent.js
typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/StageComponent.js
typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/TreeComponent.js
typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/ViewModel.js
typo3/sysext/form/Resources/Public/JavaScript/Backend/FormManager/ViewModel.js
typo3/sysext/form/Tests/Unit/Controller/FormEditorControllerTest.php
typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinition/Validators/CreatablePropertyCollectionElementPropertiesValidatorTest.php
typo3/sysext/form/Tests/Unit/Domain/Factory/ArrayFormFactoryTest.php
typo3/sysext/form/Tests/Unit/Domain/Finishers/AbstractFinisherTest.php
typo3/sysext/form/Tests/Unit/Mvc/Configuration/InheritancesResolverServiceTest.php
typo3/sysext/form/Tests/Unit/Mvc/Validation/FileSizeValidatorTest.php
typo3/sysext/form/Tests/Unit/Service/TranslationServiceTest.php

index 3eda63e..2f26133 100644 (file)
@@ -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
index ef7fefc..5ab3a0b 100644 (file)
@@ -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) {
index 7e689e7..fd1182f 100644 (file)
@@ -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'],
index 208d589..93698b2 100644 (file)
@@ -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);
index 82bcb15..e91eb6b 100644 (file)
@@ -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
index 683c65f..154ced1 100644 (file)
@@ -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
index e50b0a6..793f894 100644 (file)
@@ -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.
 
 
index e3c1ddd..0944201 100644 (file)
@@ -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:
index 5209e4b..d50f810 100644 (file)
@@ -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:
index 000474d..90b48b7 100644 (file)
@@ -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.
index eaed194..1e49375 100644 (file)
@@ -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.
 
 
index d4bd6f1..186c7f7 100644 (file)
@@ -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:
index 57aa68b..9e3c737 100644 (file)
@@ -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
 
index 8cc74fd..bb63a7f 100644 (file)
@@ -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.
index a7be7e5..7889859 100644 (file)
@@ -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.
index dcc30b9..a981843 100644 (file)
@@ -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:
index 8ff8aa2..d1d45e0 100644 (file)
@@ -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:
index 83904fd..43dc1b0 100644 (file)
@@ -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:
index aa5b096..7db5d04 100644 (file)
@@ -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:
index e34b71f..cc45a24 100644 (file)
@@ -1458,7 +1458,7 @@ define(['jquery'], function($) {
 
       /**
        * @param string identifier
-       * @returl bool
+       * @return bool
        * @throws 1475364966
        */
       function isFormElementIdentifierUsed(identifier) {
index f6305ed..ad25541 100644 (file)
@@ -65,7 +65,7 @@ define(['jquery'], function($) {
     };
 
     /* *************************************************************
-     * Private Methodes
+     * Private Methods
      * ************************************************************/
 
     /**
@@ -99,7 +99,7 @@ define(['jquery'], function($) {
     };
 
     /* *************************************************************
-     * Public Methodes
+     * Public Methods
      * ************************************************************/
 
     /**
index 31525f7..460815e 100644 (file)
@@ -114,7 +114,7 @@ define(['jquery',
     var _formEditorApp = null;
 
     /* *************************************************************
-     * Private Methodes
+     * Private Methods
      * ************************************************************/
 
     /**
@@ -775,7 +775,7 @@ define(['jquery',
     };
 
     /* *************************************************************
-     * Public Methodes
+     * Public Methods
      * ************************************************************/
 
     /**
index 4689d1e..2dcf426 100644 (file)
@@ -36,7 +36,7 @@ define(['jquery',
     var _viewModel = null;
 
     /* *************************************************************
-     * Private Methodes
+     * Private Methods
      * ************************************************************/
 
     /**
index 0c89d51..fc8f0bf 100644 (file)
@@ -64,7 +64,7 @@ define(['jquery',
     var _formEditorApp = null;
 
     /* *************************************************************
-     * Private Methodes
+     * Private Methods
      * ************************************************************/
 
     /**
@@ -351,7 +351,7 @@ define(['jquery',
     };
 
     /* *************************************************************
-     * Public Methodes
+     * Public Methods
      * ************************************************************/
 
     /**
index 22c3bd7..7f9f99c 100644 (file)
@@ -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')
index 7d8428f..dd6e4eb 100644 (file)
@@ -86,7 +86,7 @@ define(['jquery',
     var _treeDomElement = null;
 
     /* *************************************************************
-     * Private Methodes
+     * Private Methods
      * ************************************************************/
 
     /**
@@ -438,7 +438,7 @@ define(['jquery',
     };
 
     /* *************************************************************
-     * Public Methodes
+     * Public Methods
      * ************************************************************/
 
     /**
index 23858d7..3b790cf 100644 (file)
@@ -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
      * ************************************************************/
 
     /**
index 6046d82..f22f55d 100644 (file)
@@ -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');
index 40e1d2c..3ddc4e0 100644 (file)
@@ -371,7 +371,7 @@ class FormEditorControllerTest extends UnitTestCase
     /**
      * @test
      */
-    public function renderFormEditorTemplatesThrowsExceptionIftemplatePathAndFilenameNotSet(): void
+    public function renderFormEditorTemplatesThrowsExceptionIfTemplatePathAndFilenameNotSet(): void
     {
         $this->expectException(RenderingException::class);
         $this->expectExceptionCode(1485636499);
index 679d0f3..78878c7 100644 (file)
@@ -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(
index 045fe7c..3895aaf 100644 (file)
@@ -45,7 +45,7 @@ class ArrayFormFactoryTest extends UnitTestCase
     /**
      * @test
      */
-    public function addNestedRenderableSkipChildElementRenderingIfCompositElementIsUnknown()
+    public function addNestedRenderableSkipChildElementRenderingIfCompositeElementIsUnknown()
     {
         $unknownElement = new UnknownFormElement('test-2', 'test');
 
index 4c2b744..c3b4a69 100644 (file)
@@ -447,7 +447,7 @@ class AbstractFinisherTest extends UnitTestCase
     /**
      * @test
      */
-    public function substituteRuntimeReferencesReturnsResolvesElementIdentiiersInArrayKeys(): void
+    public function substituteRuntimeReferencesReturnsResolvesElementIdentifiersInArrayKeys(): void
     {
         $mockAbstractFinisher = $this->getAccessibleMockForAbstractClass(
             AbstractFinisher::class,
index 2daab97..06369b5 100644 (file)
@@ -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' => [
index 1a5c6cd..b1cd878 100644 (file)
@@ -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)
index 029b5a6..475d4a2 100644 (file)
@@ -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);
         }