style: explicitly quote all strings in YAML files

This commit is contained in:
Krzysztof Sikorski 2024-03-14 23:18:22 +01:00
parent ec38a7313d
commit f7f9bdf924
Signed by: krzysztof-sikorski
GPG Key ID: 4EB564BD08FE8476
4 changed files with 19 additions and 19 deletions

View File

@ -1,19 +1,19 @@
lint-composer-validate: lint-composer-validate:
image: image:
name: php:8.3 name: 'php:8.3'
interruptible: true interruptible: true
parallel: parallel:
matrix: matrix:
- WORKING_DIR: - WORKING_DIR:
- modules/core - 'modules/core'
- modules/storage - 'modules/storage'
- website - 'website'
rules: rules:
- changes: - changes:
paths: paths:
- "$WORKING_DIR/composer.*" - '$WORKING_DIR/composer.*'
script: script:
- curl -sS https://getcomposer.org/installer | php - 'curl -sS https://getcomposer.org/installer | php'
- > - >
php composer.phar validate php composer.phar validate
--working-dir="$WORKING_DIR" --working-dir="$WORKING_DIR"
@ -22,19 +22,19 @@ lint-composer-validate:
lint-editorconfig: lint-editorconfig:
image: image:
name: mstruebing/editorconfig-checker:2.7.2 name: 'mstruebing/editorconfig-checker:2.7.2'
interruptible: true interruptible: true
script: script:
- ec -version - 'ec -version'
- ec -verbose - 'ec -verbose'
lint-php-coding-style: lint-php-coding-style:
image: image:
name: ghcr.io/php-cs-fixer/php-cs-fixer:3.49-php8.3 name: 'ghcr.io/php-cs-fixer/php-cs-fixer:3.49-php8.3'
entrypoint: entrypoint:
- "" - ''
interruptible: true interruptible: true
script: script:
- ls -lah - 'ls -lah'
- which php-cs-fixer - 'which php-cs-fixer'
- php-cs-fixer check -vvv --format gitlab - 'php-cs-fixer check -vvv --format gitlab'

View File

@ -2,4 +2,4 @@ framework:
asset_mapper: asset_mapper:
# The paths to make available to the asset mapper. # The paths to make available to the asset mapper.
paths: paths:
- assets/ - 'assets/'

View File

@ -13,4 +13,4 @@ when@test:
framework: framework:
test: true test: true
session: session:
storage_factory_id: session.storage.factory.mock_file storage_factory_id: 'session.storage.factory.mock_file'

View File

@ -1,5 +1,5 @@
controllers: controllers:
resource: resource:
path: ../src/Controller/ path: '../src/Controller/'
namespace: App\Controller namespace: 'App\Controller'
type: attribute type: 'attribute'