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.",