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

View File

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

View File

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

View File

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