Commit 2e5d092e authored by crell's avatar crell Committed by Benni Mack
Browse files

[TASK] Apply quote coding standards to YAML files

Coding style guidelines say to favor single quotes unless
we actually want YAML interpolation.

This is a partner change with:

https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-CoreApi/pull/1813

Resolves: #86896
Releases: main
Change-Id: I9c2596e2d1d9c551920a446fbbd95562fed93aeb
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74326

Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Simon Schaufelberger's avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: Simon Schaufelberger's avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Reviewed-by: default avatarJörg Bösche <typo3@joergboesche.de>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
parent 4f3251ff
......@@ -52,13 +52,13 @@ entities:
- self: {id: *idAcmeFirstPage, title: 'EN: Welcome', slug: '/welcome', subtitle: 'hello-and-welcome'}
- self: {id: 1200, title: 'EN: Features', slug: '/features'}
children:
- self: {id: 1210, title: 'EN: Frontend Editing', slug: '/features/frontend-editing', perms_userid: 9, perms_groupid: 1, description: "accessible for user, but not for group"}
- self: {id: 1210, title: 'EN: Frontend Editing', slug: '/features/frontend-editing', perms_userid: 9, perms_groupid: 1, description: 'accessible for user, but not for group'}
versionVariants:
- version: { workspace: 1 }
actions:
- { action: 'delete' }
- self: {id: 1220, title: 'EN: Managing backend', slug: '/features/managing-backend', perms_userid: 1, perms_groupid: 1, description: "not accessible"}
- self: {id: 1230, title: 'EN: Managing content', slug: '/features/managing-content', perms_userid: 9, perms_groupid: 9, description: "accessible for user and group"}
- self: {id: 1220, title: 'EN: Managing backend', slug: '/features/managing-backend', perms_userid: 1, perms_groupid: 1, description: 'not accessible'}
- self: {id: 1230, title: 'EN: Managing content', slug: '/features/managing-content', perms_userid: 9, perms_groupid: 9, description: 'accessible for user and group'}
- version: {id: 1240, title: 'EN: Managing data', slug: '/features/managing-data', workspace: 1}
children:
- version: {id: 124010, title: 'EN: Managing complex data', slug: '/features/managing-data/complex', workspace: 1}
......@@ -81,7 +81,7 @@ entities:
- version: {title: 'EN: Teams modified', workspace: 1}
- self: {id: 1500, title: 'Internal', slug: '/my-acme'}
children:
- self: {id: 1510, title: 'Whitepapers', visitorGroups: -2, extendToSubpages: true, slug: '/my-acme/whitepapers', perms_userid: 1, perms_groupid: 1, description: "not accessible"}
- self: {id: 1510, title: 'Whitepapers', visitorGroups: -2, extendToSubpages: true, slug: '/my-acme/whitepapers', perms_userid: 1, perms_groupid: 1, description: 'not accessible'}
children:
- self: {id: 1511, title: 'Products', slug: '/my-acme/whitepapers/products'}
children:
......@@ -102,7 +102,7 @@ entities:
- self: {id: 1530, title: 'Reports', visitorGroups: 20, extendToSubpages: true, slug: '/my-acme/reports'}
languageVariants:
- version: {title: 'FR: Interne', workspace: 1, language: 1, slug: '/my-acme'}
- self: {id: 1600, title: 'About us', slug: '/about', perms_userid: 1, perms_groupid: 1, description: "not accessible"}
- self: {id: 1600, title: 'About us', slug: '/about', perms_userid: 1, perms_groupid: 1, description: 'not accessible'}
- self: {id: 1700, title: 'Announcements & News', type: *pageMount, mount: 7100, slug: '/news'}
- self: {id: 404, title: 'Page not found', slug: '/404'}
entities:
......
# @internal Only to be used for sys_news
imports:
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" }
- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Processing.yaml' }
- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml' }
- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml' }
editor:
config:
......
......@@ -49,7 +49,7 @@ services:
TYPO3\CMS\Core\Configuration\SiteConfiguration:
arguments:
$coreCache: '@cache.core'
$configPath: "%env(TYPO3:configPath)%/sites"
$configPath: '%env(TYPO3:configPath)%/sites'
TYPO3\CMS\Core\Package\UnitTestPackageManager:
autoconfigure: false
......
# This is the main file
imports:
- { resource: "Subfolder/BaseTestInclusion.yaml" }
- { resource: 'Subfolder/BaseTestInclusion.yaml' }
enable:
backend: true
......
......@@ -15,7 +15,7 @@ services:
- name: 'console.command'
command: 'extension:activate'
description: 'Activates an extension by key'
hidden: "%env(TYPO3:isComposerMode)%"
hidden: '%env(TYPO3:isComposerMode)%'
schedulable: false
- name: 'console.command'
command: 'extensionmanager:extension:install'
......@@ -30,7 +30,7 @@ services:
tags:
- name: 'console.command'
description: 'Deactivates an extension by key'
hidden: "%env(TYPO3:isComposerMode)%"
hidden: '%env(TYPO3:isComposerMode)%'
command: 'extension:deactivate'
schedulable: false
- name: 'console.command'
......
imports:
- { resource: "./Validators/NotEmpty.yaml" }
- { resource: "./Validators/DateTime.yaml" }
- { resource: "./Validators/Alphanumeric.yaml" }
- { resource: "./Validators/Text.yaml" }
- { resource: "./Validators/StringLength.yaml" }
- { resource: "./Validators/EmailAddress.yaml" }
- { resource: "./Validators/Integer.yaml" }
- { resource: "./Validators/Float.yaml" }
- { resource: "./Validators/Number.yaml" }
- { resource: "./Validators/NumberRange.yaml" }
- { resource: "./Validators/RegularExpression.yaml" }
- { resource: "./Validators/Count.yaml" }
- { resource: "./Validators/FileSize.yaml" }
- { resource: "./Validators/DateRange.yaml" }
- { resource: './Validators/NotEmpty.yaml' }
- { resource: './Validators/DateTime.yaml' }
- { resource: './Validators/Alphanumeric.yaml' }
- { resource: './Validators/Text.yaml' }
- { resource: './Validators/StringLength.yaml' }
- { resource: './Validators/EmailAddress.yaml' }
- { resource: './Validators/Integer.yaml' }
- { resource: './Validators/Float.yaml' }
- { resource: './Validators/Number.yaml' }
- { resource: './Validators/NumberRange.yaml' }
- { resource: './Validators/RegularExpression.yaml' }
- { resource: './Validators/Count.yaml' }
- { resource: './Validators/FileSize.yaml' }
- { resource: './Validators/DateRange.yaml' }
- { resource: "./FormElements/Form.yaml" }
- { resource: "./FormElements/Page.yaml" }
- { resource: "./FormElements/SummaryPage.yaml" }
- { resource: "./FormElements/Fieldset.yaml" }
- { resource: "./FormElements/GridRow.yaml" }
- { resource: "./FormElements/Text.yaml" }
- { resource: "./FormElements/Password.yaml" }
- { resource: "./FormElements/AdvancedPassword.yaml" }
- { resource: "./FormElements/Textarea.yaml" }
- { resource: "./FormElements/Honeypot.yaml" }
- { resource: "./FormElements/Hidden.yaml" }
- { resource: "./FormElements/Email.yaml" }
- { resource: "./FormElements/Telephone.yaml" }
- { resource: "./FormElements/Url.yaml" }
- { resource: "./FormElements/Number.yaml" }
- { resource: "./FormElements/Date.yaml" }
- { resource: "./FormElements/Checkbox.yaml" }
- { resource: "./FormElements/MultiCheckbox.yaml" }
- { resource: "./FormElements/MultiSelect.yaml" }
- { resource: "./FormElements/RadioButton.yaml" }
- { resource: "./FormElements/SingleSelect.yaml" }
- { resource: "./FormElements/DatePicker.yaml" }
- { resource: "./FormElements/StaticText.yaml" }
- { resource: "./FormElements/ContentElement.yaml" }
- { resource: "./FormElements/FileUpload.yaml" }
- { resource: "./FormElements/ImageUpload.yaml" }
- { resource: './FormElements/Form.yaml' }
- { resource: './FormElements/Page.yaml' }
- { resource: './FormElements/SummaryPage.yaml' }
- { resource: './FormElements/Fieldset.yaml' }
- { resource: './FormElements/GridRow.yaml' }
- { resource: './FormElements/Text.yaml' }
- { resource: './FormElements/Password.yaml' }
- { resource: './FormElements/AdvancedPassword.yaml' }
- { resource: './FormElements/Textarea.yaml' }
- { resource: './FormElements/Honeypot.yaml' }
- { resource: './FormElements/Hidden.yaml' }
- { resource: './FormElements/Email.yaml' }
- { resource: './FormElements/Telephone.yaml' }
- { resource: './FormElements/Url.yaml' }
- { resource: './FormElements/Number.yaml' }
- { resource: './FormElements/Date.yaml' }
- { resource: './FormElements/Checkbox.yaml' }
- { resource: './FormElements/MultiCheckbox.yaml' }
- { resource: './FormElements/MultiSelect.yaml' }
- { resource: './FormElements/RadioButton.yaml' }
- { resource: './FormElements/SingleSelect.yaml' }
- { resource: './FormElements/DatePicker.yaml' }
- { resource: './FormElements/StaticText.yaml' }
- { resource: './FormElements/ContentElement.yaml' }
- { resource: './FormElements/FileUpload.yaml' }
- { resource: './FormElements/ImageUpload.yaml' }
- { resource: "./Finishers/Closure.yaml" }
- { resource: "./Finishers/Confirmation.yaml" }
- { resource: "./Finishers/EmailToSender.yaml" }
- { resource: "./Finishers/EmailToReceiver.yaml" }
- { resource: "./Finishers/DeleteUploads.yaml" }
- { resource: "./Finishers/FlashMessage.yaml" }
- { resource: "./Finishers/Redirect.yaml" }
- { resource: "./Finishers/SaveToDatabase.yaml" }
- { resource: './Finishers/Closure.yaml' }
- { resource: './Finishers/Confirmation.yaml' }
- { resource: './Finishers/EmailToSender.yaml' }
- { resource: './Finishers/EmailToReceiver.yaml' }
- { resource: './Finishers/DeleteUploads.yaml' }
- { resource: './Finishers/FlashMessage.yaml' }
- { resource: './Finishers/Redirect.yaml' }
- { resource: './Finishers/SaveToDatabase.yaml' }
TYPO3:
CMS:
......
# Load default processing options
imports:
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" }
- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Processing.yaml' }
- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml' }
- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml' }
# Add configuration for the editor
# For complete documentation see http://docs.ckeditor.com/#!/api/CKEDITOR.config
editor:
config:
format_tags: "p;h1;h2;h3;h4;h5;pre"
format_tags: 'p;h1;h2;h3;h4;h5;pre'
toolbarGroups:
- { name: styles, groups: [ styles, format ] }
......
......@@ -3,17 +3,17 @@
editor:
config:
# the CSS file to be used inside the editor
contentsCss: "EXT:rte_ckeditor/Resources/Public/Css/contents.css"
contentsCss: 'EXT:rte_ckeditor/Resources/Public/Css/contents.css'
# will be overridden by the record (if a language is set)
defaultContentLanguage: "en"
defaultLanguage: "en"
defaultContentLanguage: 'en'
defaultLanguage: 'en'
# Allow any class or any data attribute in any tag
extraAllowedContent: "*(*)[data-*]"
extraAllowedContent: '*(*)[data-*]'
height: 300
width: "auto"
toolbar: "Basic"
uiColor: "#F8F8F8"
removeDialogTabs: "image:advanced;link:advanced"
width: 'auto'
toolbar: 'Basic'
uiColor: '#F8F8F8'
removeDialogTabs: 'image:advanced;link:advanced'
# Ensure that special characters are not converted to HTML entities
entities_latin: false
entities: false
......
# Register custom plugins for ckeditor
editor:
externalPlugins:
typo3link: { resource: "EXT:rte_ckeditor/Resources/Public/JavaScript/Plugins/typo3link.js", route: "rteckeditor_wizard_browse_links" }
showbrokenlinks: { resource: "EXT:rte_ckeditor/Resources/Public/JavaScript/Plugins/showbrokenlinks/plugin.js"}
typo3link: { resource: 'EXT:rte_ckeditor/Resources/Public/JavaScript/Plugins/typo3link.js', route: 'rteckeditor_wizard_browse_links' }
showbrokenlinks: { resource: 'EXT:rte_ckeditor/Resources/Public/JavaScript/Plugins/showbrokenlinks/plugin.js'}
# This is a plugin, found here: https://github.com/ufdada/quicktable
quicktable: { resource: "EXT:rte_ckeditor/Resources/Public/JavaScript/Plugins/quicktable/plugin.js" }
autolinking: { resource: "EXT:rte_ckeditor/Resources/Public/JavaScript/Plugins/autolinking.js" }
quicktable: { resource: 'EXT:rte_ckeditor/Resources/Public/JavaScript/Plugins/quicktable/plugin.js' }
autolinking: { resource: 'EXT:rte_ckeditor/Resources/Public/JavaScript/Plugins/autolinking.js' }
# softhyphen plugin for adding ctrl+dash support to insert a conditional word break
softhyphen:
resource: "EXT:rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/"
resource: 'EXT:rte_ckeditor/Resources/Public/JavaScript/Plugins/softhyphen/'
enableShortcut: true
......@@ -4,9 +4,9 @@
# Load default processing options
imports:
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" }
- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Processing.yaml' }
- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml' }
- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml' }
# Add configuration for the editor
# For complete documentation see http://docs.ckeditor.com/#!/api/CKEDITOR.config
......@@ -15,14 +15,14 @@ editor:
# can be "default", but a custom stylesSet can be defined here, which fits TYPO3 best
stylesSet:
# block level styles
- { name: "Orange title H2", element: "h2", styles: { color: "orange", background: "blue" } }
- { name: "Orange title H3", element: "h3", styles: { color: "orange", background: "blue" } }
- { name: "Quote / Citation", element: "blockquote" }
- { name: "Code block", element: "code" }
- { name: 'Orange title H2', element: 'h2', styles: { color: 'orange', background: 'blue' } }
- { name: 'Orange title H3', element: 'h3', styles: { color: 'orange', background: 'blue' } }
- { name: 'Quote / Citation', element: 'blockquote' }
- { name: 'Code block', element: 'code' }
# Inline styles
- { name: "Yellow marker", element: "span", styles: { background-color: "yellow" } }
- { name: 'Yellow marker', element: 'span', styles: { background-color: 'yellow' } }
format_tags: "p;h1;h2;h3;pre"
format_tags: 'p;h1;h2;h3;pre'
toolbarGroups:
- { name: clipboard, groups: [clipboard, undo] }
......@@ -34,11 +34,11 @@ editor:
- { name: tabletools }
- { name: document, groups: [ mode, document, doctools ] }
- { name: others }
- "/"
- '/'
- { name: basicstyles, groups: [ basicstyles, align, cleanup ] }
- { name: paragraph, groups: [ list, indent, blocks, align, bidi ] }
- { name: specialcharacters, groups: [ insertcharacters ] }
- "/"
- '/'
- { name: styles }
justifyClasses:
......
# Load default processing options
imports:
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" }
- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Processing.yaml' }
- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml' }
# Minimal configuration for the editor
editor:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment