From 5fc8cf25a0f0997dfb54fbe01d8fba1cf5765ca6 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Tue, 17 Sep 2024 14:04:22 +0200 Subject: [PATCH] Add help text for the `fix` command --- Build/Scripts/runTests.sh | 1 + composer.json | 1 + 2 files changed, 2 insertions(+) diff --git a/Build/Scripts/runTests.sh b/Build/Scripts/runTests.sh index 5964e46..51484a2 100755 --- a/Build/Scripts/runTests.sh +++ b/Build/Scripts/runTests.sh @@ -154,6 +154,7 @@ Options: - composerUpdateMax: "composer update", with no platform.php config. - composerUpdateMin: "composer update --prefer-lowest", with platform.php set to PHP version x.x.0. - docsGenerate: Renders the extension ReST documentation. + - fix: Runs all automatic code style fixes. - functional: PHP functional tests - lintCss: CSS file linting. Set -n for dry-run. - lintJs: JavaScript file linting. Set -n for dry-run. diff --git a/composer.json b/composer.json index 03b417d..3876efc 100644 --- a/composer.json +++ b/composer.json @@ -230,6 +230,7 @@ "ci:yaml:lint": "Lints the YAML files.", "coverage:create-directories": "Creates the directories needed for recording and merging the code coverage reports.", "docs:generate": "Renders the extension ReST documentation.", + "fix": "Runs all automatic code style fixes.", "fix:composer:normalize": "Normalizes composer.json file content.", "fix:php": "Runs all fixers for the PHP code.", "fix:php:cs": "Fixes the code style with PHP-CS-Fixer.",