From d3abcfbd05a2f0734355e646413390ae33ddbc83 Mon Sep 17 00:00:00 2001
From: linawolf <112@linawolf.de>
Date: Wed, 2 Aug 2023 10:40:13 +0000
Subject: [PATCH] [TASK] Correct indentation of json files

They should conform to the settings in `.editorconfig`.
When your editor uses the `.editorconfig` file,
these files become very hard to edit.

I would backport this to make backports easier.

Resolves: #101527
Releases: main, 12.4
Change-Id: I41e1782b46bbbf327106089f39dc28d2ca358761
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80296
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
---
 .../test_tca_select_tree_items/composer.json   | 18 +++++++++---------
 .../Documentation/screenshots.json             | 10 +++++-----
 .../impexp/Documentation/screenshots.json      |  4 ++--
 .../lowlevel/Documentation/screenshots.json    | 12 ++++++------
 4 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/typo3/sysext/backend/Tests/Functional/Fixtures/Extensions/test_tca_select_tree_items/composer.json b/typo3/sysext/backend/Tests/Functional/Fixtures/Extensions/test_tca_select_tree_items/composer.json
index 5c2d8b67a229..8a20e15e145d 100644
--- a/typo3/sysext/backend/Tests/Functional/Fixtures/Extensions/test_tca_select_tree_items/composer.json
+++ b/typo3/sysext/backend/Tests/Functional/Fixtures/Extensions/test_tca_select_tree_items/composer.json
@@ -1,14 +1,14 @@
 {
-    "name": "typo3tests/tca-select-tree-items",
-    "type": "typo3-cms-extension",
-    "description": "TcaSelectTreeItems Test",
-    "license": "GPL-2.0-or-later",
+	"name": "typo3tests/tca-select-tree-items",
+	"type": "typo3-cms-extension",
+	"description": "TcaSelectTreeItems Test",
+	"license": "GPL-2.0-or-later",
 	"require": {
 		"typo3/cms-core": "12.4.*@dev"
 	},
-    "extra": {
-        "typo3/cms": {
-            "extension-key": "test_tca_select_tree_items"
-        }
-    }
+	"extra": {
+		"typo3/cms": {
+			"extension-key": "test_tca_select_tree_items"
+		}
+	}
 }
diff --git a/typo3/sysext/fluid_styled_content/Documentation/screenshots.json b/typo3/sysext/fluid_styled_content/Documentation/screenshots.json
index 1e1c781514ef..eb2254aeedcf 100644
--- a/typo3/sysext/fluid_styled_content/Documentation/screenshots.json
+++ b/typo3/sysext/fluid_styled_content/Documentation/screenshots.json
@@ -1,7 +1,7 @@
 {
-    "suites": {
-        "Core": {
-            "screenshots": {
+	"suites": {
+		"Core": {
+			"screenshots": {
 				"_default": [
 					{"action": "setScreenshotsImagePath", "path": "Images/AutomaticScreenshots"},
 					{"action": "setScreenshotsRstPath", "path": "Images/AutomaticScreenshots"},
@@ -177,7 +177,7 @@
 					}
 				]
 			}
-        },
+		},
 		"Styleguide": {
 			"screenshots": {
 				"_default": [
@@ -394,5 +394,5 @@
 				]
 			}
 		}
-    }
+	}
 }
diff --git a/typo3/sysext/impexp/Documentation/screenshots.json b/typo3/sysext/impexp/Documentation/screenshots.json
index 50dd51360438..347a027bc965 100644
--- a/typo3/sysext/impexp/Documentation/screenshots.json
+++ b/typo3/sysext/impexp/Documentation/screenshots.json
@@ -32,7 +32,7 @@
 					{"action": "click", "link": "//*[@id='contentMenu1']//*[contains(text(), 'Export')]"},
 					{"action": "click", "link": ".scaffold-content-navigation-switcher-close"},
 					{"action": "switchToContentFrame"},
-					{"action": "waitForText", "text": "Export pagetree configuration", "timeout":  5},
+					{"action": "waitForText", "text": "Export pagetree configuration", "timeout": 5},
 					{"action": "resizeWindow", "width": 592, "height": 750},
 					{"action": "resizeToFullPage"},
 					{
@@ -126,7 +126,7 @@
 					{"action": "click", "link": "//*[@id='contentMenu1']//*[contains(text(), 'Export')]"},
 					{"action": "click", "link": ".scaffold-content-navigation-switcher-close"},
 					{"action": "switchToContentFrame"},
-					{"action": "waitForText", "text": "Export pagetree configuration", "timeout":  5},
+					{"action": "waitForText", "text": "Export pagetree configuration", "timeout": 5},
 					{"action": "click", "link": "File & Preset"},
 					{"action": "selectOption", "select": "select[name='preset[select]']", "option": "1"},
 					{"action": "fillField", "field": "input[name='tx_impexp[preset][title]']", "value": "My Preset"},
diff --git a/typo3/sysext/lowlevel/Documentation/screenshots.json b/typo3/sysext/lowlevel/Documentation/screenshots.json
index a8eb16752563..f9258de3009f 100644
--- a/typo3/sysext/lowlevel/Documentation/screenshots.json
+++ b/typo3/sysext/lowlevel/Documentation/screenshots.json
@@ -1,7 +1,7 @@
 {
-    "suites": {
-        "Styleguide": {
-            "screenshots": {
+	"suites": {
+		"Styleguide": {
+			"screenshots": {
 				"_default": [
 					{"action": "resizeWindow", "width": 1024, "height": 600},
 					{"action": "setScreenshotsImagePath","path": "Images/AutomaticScreenshots"},
@@ -80,7 +80,7 @@
 						"captionText": "The :guilabel:`Manage Reference Index` action"
 					}
 				]
-            }
-        }
-    }
+			}
+		}
+	}
 }
-- 
GitLab