diff --git a/typo3/sysext/backend/Classes/Clipboard/Clipboard.php b/typo3/sysext/backend/Classes/Clipboard/Clipboard.php index c2d107845024e483d85e8382a72fa5a10c3fbb9a..77d588fe57e18e95cdd04218f6e0e2f0e8091e24 100644 --- a/typo3/sysext/backend/Classes/Clipboard/Clipboard.php +++ b/typo3/sysext/backend/Classes/Clipboard/Clipboard.php @@ -881,7 +881,7 @@ class Clipboard /** * Verifies if the item $table/$uid is on the current pad. - * If the pad is "normal", the mode value is returned if the element existed. Thus you'll know if the item was copy or cut moded... + * If the pad is "normal" and the element exists, the mode value is returned. Thus you'll know if the item was copied or cut. * * @param string $table Table name, (_FILE for files...) * @param int $uid Element uid (path for files) diff --git a/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php b/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php index 57b7b29efe39927081e22b8fcf75cbab7a4299a6..b1d880c61f1b7846aba4d74ae1c35be15ea0dc1e 100644 --- a/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php +++ b/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php @@ -314,14 +314,14 @@ class ElementInformationController $preview['url'] = $this->fileObject->getPublicUrl(true); $width = '590m'; - $heigth = '400m'; + $height = '400m'; // Check if there is a FileRenderer if ($fileRenderer !== null) { $preview['fileRenderer'] = $fileRenderer->render( $this->fileObject, $width, - $heigth, + $height, [], true ); @@ -330,7 +330,7 @@ class ElementInformationController } elseif (GeneralUtility::inList($GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'], $fileExtension)) { $preview['fileObject'] = $this->fileObject; $preview['width'] = $width; - $preview['heigth'] = $heigth; + $preview['height'] = $height; } } return $preview; diff --git a/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaRadioItems.php b/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaRadioItems.php index 1f66076ac20432d4e4628003877ef5234a048188..1ca33166e49101996a630bbaecff66df451203bd 100644 --- a/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaRadioItems.php +++ b/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaRadioItems.php @@ -54,7 +54,7 @@ class TcaRadioItems extends AbstractItemProvider implements FormDataProviderInte foreach ($items as $itemKey => $itemValue) { if (!is_array($itemValue)) { throw new \UnexpectedValueException( - 'Item ' . $itemKey . ' of field ' . $fieldName . ' of TCA table ' . $result['tableName'] . ' is no array as exepcted', + 'Item ' . $itemKey . ' of field ' . $fieldName . ' of TCA table ' . $result['tableName'] . ' is no array as expected', 1438607163 ); } diff --git a/typo3/sysext/backend/Classes/Middleware/BackendRouteInitialization.php b/typo3/sysext/backend/Classes/Middleware/BackendRouteInitialization.php index 5ffb1c0ddf2818a82024560aaa3aea53369cefda..6d9ae1618d9bcc68c91bc7db6b71f4e98406826a 100644 --- a/typo3/sysext/backend/Classes/Middleware/BackendRouteInitialization.php +++ b/typo3/sysext/backend/Classes/Middleware/BackendRouteInitialization.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Core\Bootstrap; * Loads ext_tables.php from all extensions, as this is the place * where all modules register their routes to the router * (additionally to those routes which are loaded in dependency - * inejction factories from Configuration/Backend/{,Ajax}Routes.php). + * injection factories from Configuration/Backend/{,Ajax}Routes.php). * * The route path is added to the request as attribute "routePath". * diff --git a/typo3/sysext/backend/Classes/Preview/PreviewRendererInterface.php b/typo3/sysext/backend/Classes/Preview/PreviewRendererInterface.php index 0f902e8522610ff648793935bff045f05b921c79..201f5ee48dafd0e3e99c48fd151cddceab748114 100644 --- a/typo3/sysext/backend/Classes/Preview/PreviewRendererInterface.php +++ b/typo3/sysext/backend/Classes/Preview/PreviewRendererInterface.php @@ -20,8 +20,8 @@ use TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem; /** * Interface PreviewRendererInterface * - * Conctract for classes capable of rendering previews of a given record - * from a table. Responsible for rendering preview heeader, preview content + * Contract for classes capable of rendering previews of a given record + * from a table. Responsible for rendering preview header, preview content * and wrapping of those two values. * * Responsibilities are segmented into three methods, one for each responsibility, diff --git a/typo3/sysext/backend/Classes/View/BackendLayout/ContentFetcher.php b/typo3/sysext/backend/Classes/View/BackendLayout/ContentFetcher.php index f6c4d236e1890ab76ba210b3251e377506e0630e..757ce29ab57f614bbd8475f911f25a5fab6b35bf 100644 --- a/typo3/sysext/backend/Classes/View/BackendLayout/ContentFetcher.php +++ b/typo3/sysext/backend/Classes/View/BackendLayout/ContentFetcher.php @@ -35,7 +35,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; * - Performs workspace overlay on records * - Capable of returning all records in active language as flat array * - Capable of returning records for a given column in a given (optional) language - * - Capable of returning translation data (brief info about translation consistenty) + * - Capable of returning translation data (brief info about translation consistency) */ class ContentFetcher { diff --git a/typo3/sysext/backend/Classes/ViewHelpers/ThumbnailViewHelper.php b/typo3/sysext/backend/Classes/ViewHelpers/ThumbnailViewHelper.php index f002ea9d696b131bb913a39e7fca3a3b737168dd..074e5a2e59856d2be712c29fc70260787c39647d 100644 --- a/typo3/sysext/backend/Classes/ViewHelpers/ThumbnailViewHelper.php +++ b/typo3/sysext/backend/Classes/ViewHelpers/ThumbnailViewHelper.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Fluid\ViewHelpers\ImageViewHelper; use TYPO3Fluid\Fluid\Core\ViewHelper\Exception; /** - * ViewHelper for the backend which generates a :html:`<img>` tag with the special URI to render thumbnails deffered. + * ViewHelper for the backend which generates an :html:`<img>` tag with the special URI to render thumbnails deferred. * * Examples * ======== diff --git a/typo3/sysext/backend/Resources/Private/Language/locallang.xlf b/typo3/sysext/backend/Resources/Private/Language/locallang.xlf index 3bdd042a70888984a8739fb800f9ef143a376e92..a4e402ac4fffa7d7ab5cd106a4d3f58cbb523b1a 100644 --- a/typo3/sysext/backend/Resources/Private/Language/locallang.xlf +++ b/typo3/sysext/backend/Resources/Private/Language/locallang.xlf @@ -104,7 +104,7 @@ Have a nice day.</source> <source>Hide PageTS-Config</source> </trans-unit> <trans-unit id="formEngine.databaseRecordErrorInlineChildChild" resname="formEngine.databaseRecordErrorInlineChildChild"> - <source>The record with uid %2$s from table %1$s could not be retrieved from the database. This data incosistency can occur if + <source>The record with uid %2$s from table %1$s could not be retrieved from the database. This data inconsistency can occur if a base record has been deleted but the intermediate record from table %3$s with uid %4$s still points to it. To fix this situation, either delete the intermediate record, or recover the deleted record using the recycler module. </source> diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/PageTree/PageTreeDragDrop.js b/typo3/sysext/backend/Resources/Public/JavaScript/PageTree/PageTreeDragDrop.js index ebef668ce8dd7a75940e109a14db68abee35dffc..cd4350005af25ec190213ae891ade2eb8b59dead 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/PageTree/PageTreeDragDrop.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/PageTree/PageTreeDragDrop.js @@ -29,7 +29,7 @@ define([ /** * Creates a new drag instance and initializes the clickDistance setting to - * prevent clicks from beeing wrongly detected as drag attempts. + * prevent clicks from being wrongly detected as drag attempts. */ var createD3 = function() { return d3.drag() diff --git a/typo3/sysext/backend/Tests/Unit/Controller/EditDocumentControllerTest.php b/typo3/sysext/backend/Tests/Unit/Controller/EditDocumentControllerTest.php index 6c3bf1d7c7bcd45ff7934af5693de2a29ada3de8..dd48ee25eec149891b41968328be66d290a473dc 100644 --- a/typo3/sysext/backend/Tests/Unit/Controller/EditDocumentControllerTest.php +++ b/typo3/sysext/backend/Tests/Unit/Controller/EditDocumentControllerTest.php @@ -64,9 +64,9 @@ class EditDocumentControllerTest extends UnitTestCase /** * @test - * @dataProvider slugDependendFieldsAreAddedToColumnsOnlyDataProvider + * @dataProvider slugDependentFieldsAreAddedToColumnsOnlyDataProvider */ - public function slugDependendFieldsAreAddedToColumnsOnly(string $result, string $selectedFields, string $tableName, array $configuration): void + public function slugDependentFieldsAreAddedToColumnsOnly(string $result, string $selectedFields, string $tableName, array $configuration): void { $GLOBALS['TCA'][$tableName]['columns'] = $configuration; @@ -84,7 +84,7 @@ class EditDocumentControllerTest extends UnitTestCase self::assertEquals($result, $editDocumentControllerMock->_get('columnsOnly')); } - public function slugDependendFieldsAreAddedToColumnsOnlyDataProvider(): array + public function slugDependentFieldsAreAddedToColumnsOnlyDataProvider(): array { return [ 'fields in string' => [ diff --git a/typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php b/typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php index a67fb7f0c56941d103abf0b8b41cee0e91fe9326..16d479a7c2ec8cfb2b3374c4bd1bdacf59331e16 100644 --- a/typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php +++ b/typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php @@ -155,7 +155,7 @@ class FileControllerTest extends UnitTestCase /** * @test */ - public function processAjaxRequestReturnsStatus200IfNoErrorOccures() + public function processAjaxRequestReturnsStatus200IfNoErrorOccurs() { $subject = $this->getAccessibleMock(\TYPO3\CMS\Backend\Controller\File\FileController::class, ['init', 'main']); @@ -174,7 +174,7 @@ class FileControllerTest extends UnitTestCase public function processAjaxRequestReturnsStatus500IfErrorOccurs() { $subject = $this->getAccessibleMock(FileController::class, ['init', 'main']); - $this->mockFileProcessor->expects(self::any())->method('getErrorMessages')->willReturn(['error occured']); + $this->mockFileProcessor->expects(self::any())->method('getErrorMessages')->willReturn(['error occurred']); $subject->_set('fileProcessor', $this->mockFileProcessor); $result = $subject->processAjaxRequest($this->request, $this->response); self::assertEquals(500, $result->getStatusCode()); diff --git a/typo3/sysext/backend/Tests/Unit/Controller/File/ThumbnailControllerTest.php b/typo3/sysext/backend/Tests/Unit/Controller/File/ThumbnailControllerTest.php index 80f13287b2a420f0b359b1010e20c80ecd7601d9..a4e36aa6f522dc2b5569cb3080953a67da5a410f 100644 --- a/typo3/sysext/backend/Tests/Unit/Controller/File/ThumbnailControllerTest.php +++ b/typo3/sysext/backend/Tests/Unit/Controller/File/ThumbnailControllerTest.php @@ -37,7 +37,7 @@ class ThumbnailControllerTest extends UnitTestCase 'fileId' => 123, 'configuration' => [ 'width' => 64, - 'heigth' => 64, + 'height' => 64, ], ]; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseParentPageRowTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseParentPageRowTest.php index 69ba5dbab6a73a62b1eb5068a2d37f26f303af0c..4a804e32657e349b0e78fef703d92500a7dbe2b8 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseParentPageRowTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseParentPageRowTest.php @@ -67,14 +67,14 @@ class DatabaseParentPageRowTest extends UnitTestCase /** * @test */ - public function addDataSetsNeigborRowIfNegativeUidGiven() + public function addDataSetsNeighborRowIfNegativeUidGiven() { $input = [ 'tableName' => 'tt_content', 'command' => 'new', 'vanillaUid' => -10, ]; - $neigborRow = [ + $neighborRow = [ 'uid' => 10, 'pid' => 321 ]; @@ -85,7 +85,7 @@ class DatabaseParentPageRowTest extends UnitTestCase $this->subject->expects(self::at(0)) ->method('getDatabaseRow') ->with($input['tableName'], 10) - ->willReturn($neigborRow); + ->willReturn($neighborRow); $this->subject->expects(self::at(1)) ->method('getDatabaseRow') @@ -94,7 +94,7 @@ class DatabaseParentPageRowTest extends UnitTestCase $result = $this->subject->addData($input); - self::assertSame($neigborRow, $result['neighborRow']); + self::assertSame($neighborRow, $result['neighborRow']); } /** diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowInitializeNewTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowInitializeNewTest.php index 3c47a36d37d2ce2b0ab2f35a0c11aac0508e26f6..b66ca83798cc9d9e323c66a1f920f8d6dcd52dae 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowInitializeNewTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowInitializeNewTest.php @@ -401,7 +401,7 @@ class DatabaseRowInitializeNewTest extends UnitTestCase /** * @test */ - public function addDataSetsDefaultDataOverrulesOtherDefauls() + public function addDataSetsDefaultDataOverrulesOtherDefaults() { $input = [ 'command' => 'new', diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseUniqueUidNewRowTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseUniqueUidNewRowTest.php index e14a0ec57204cf2ea417f88f9ee6e6068b9acc5f..16b0fa4ef5550842c1eb5fdafd920fc32f78a3c9 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseUniqueUidNewRowTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseUniqueUidNewRowTest.php @@ -81,7 +81,7 @@ class DatabaseUniqueUidNewRowTest extends UnitTestCase /** * @test */ - public function addDataSetsUniqeId() + public function addDataSetsUniqueId() { $input = [ 'command' => 'new', diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessPlaceholdersTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessPlaceholdersTest.php index 07a5e5aac0eb317e9d382f8a076fae4afd1beacd..a34e353f518e89b9dfc18fdd997c763d4f7a10be 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessPlaceholdersTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessPlaceholdersTest.php @@ -84,7 +84,7 @@ class TcaColumnsProcessPlaceholdersTest extends UnitTestCase /** * @test */ - public function addDataRegistersAlternativeLabelColumnn() + public function addDataRegistersAlternativeLabelColumn() { $input = [ 'columnsToProcess' => [], diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessRecordTitleTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessRecordTitleTest.php index 5466beb4e45ce085bf2718d57b0f6cd768f8620c..75b42c7181794983633feca5fcbcee5e3c97e2bf 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessRecordTitleTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessRecordTitleTest.php @@ -46,7 +46,7 @@ class TcaColumnsProcessRecordTitleTest extends UnitTestCase /** * @test */ - public function addDataRegistersAlternativeLabelColumnn() + public function addDataRegistersAlternativeLabelColumn() { $input = [ 'columnsToProcess' => [], diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaSelectItemsTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaSelectItemsTest.php index 83ce6464334abfcae3cc137313d522a68c1c3dc0..5a14d7ac6e8ba1a21d0a872e760ea6d860ea0c2c 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaSelectItemsTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaSelectItemsTest.php @@ -1980,7 +1980,7 @@ class TcaSelectItemsTest extends UnitTestCase /** * @test */ - public function addDataRemovesItemsThatAreRestictedByUserStorageAddedByForeignTable(): void + public function addDataRemovesItemsThatAreRestrictedByUserStorageAddedByForeignTable(): void { $input = [ 'databaseRow' => [ diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaTextTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaTextTest.php index 31e18371c635f3f584a8550c770e79f7c3e229d0..41b68adcac628cdd7da4d8f163f0c3504c52ce22 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaTextTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaTextTest.php @@ -74,8 +74,8 @@ class TcaTextTest extends UnitTestCase $richtextConfigurationProphecy = $this->prophesize(Richtext::class); GeneralUtility::addInstance(Richtext::class, $richtextConfigurationProphecy->reveal()); - $rteHtmlParserPropehy = $this->prophesize(RteHtmlParser::class); - GeneralUtility::addInstance(RteHtmlParser::class, $rteHtmlParserPropehy->reveal()); + $rteHtmlParserProphecy = $this->prophesize(RteHtmlParser::class); + GeneralUtility::addInstance(RteHtmlParser::class, $rteHtmlParserProphecy->reveal()); $richtextConfigurationProphecy ->getConfiguration( @@ -89,7 +89,7 @@ class TcaTextTest extends UnitTestCase ] ) ->willReturn([ 'aConfig' => 'option']); - $rteHtmlParserPropehy + $rteHtmlParserProphecy ->transformTextForRichTextEditor( 'notProcessedContent', [] diff --git a/typo3/sysext/backend/Tests/Unit/Template/Components/MenuTest.php b/typo3/sysext/backend/Tests/Unit/Template/Components/MenuTest.php index 8ea776486db9a12600073df2c143054b26846fc1..6695e9922dea45aff838dca8fa3b1db06b99ac21 100644 --- a/typo3/sysext/backend/Tests/Unit/Template/Components/MenuTest.php +++ b/typo3/sysext/backend/Tests/Unit/Template/Components/MenuTest.php @@ -68,7 +68,7 @@ class MenuTest extends UnitTestCase * * @test */ - public function getMenusremovedEmptyMenusExpectsEquals() + public function getMenusRemovedEmptyMenusExpectsEquals() { $menuRegistry = new MenuRegistry();