diff --git a/coding-standard-baseline/README.md b/coding-standard-baseline/README.md index 62281b4..5850ad5 100755 --- a/coding-standard-baseline/README.md +++ b/coding-standard-baseline/README.md @@ -25,11 +25,11 @@ jobs: steps: - uses: mage-os/github-actions/coding-standard-baseline@main with: - php_version: "8.1" # Optional, will be used for Php version + php_version: "8.2" composer_version: "2" - version: "31" # Optional, will use the latest if omitted. - severity: "8" # Optional, will use phpcs default of 5 if not specified. - warning_severity: "4" # Optional, will use warning severity value if not specified. - error_severity: "7" # Optional, will use error severity value if not specified. - baseline_version: "1.1.2" # Optional, will use for php codesniffer baseline version + version: "*" + severity: "5" + warning_severity: "8" + error_severity: "8" + baseline_version: "*" ``` diff --git a/coding-standard-baseline/action.yml b/coding-standard-baseline/action.yml index 9b7f78f..24038d2 100755 --- a/coding-standard-baseline/action.yml +++ b/coding-standard-baseline/action.yml @@ -6,44 +6,44 @@ inputs: php_version: type: string required: true - default: "8.1" - description: "PHP version used to do the coding standard check." + default: "8.2" + description: "PHP version used to do the coding standard check (default: 8.2)." composer_version: type: string required: true default: "2" - description: "The version of composer to use." + description: "The version of composer to use (default: 2)." version: type: string required: false - default: "31" - description: "The version of the coding standard to use. If not provided, will use the latest version." + default: "*" + description: "The version of the coding standard to use (default: latest)." severity: type: string required: false - default: "8" + default: "5" description: "The minimum severity required to display an error or warning (default: 5)" warning_severity: type: string required: false default: "8" - description: "The minimum severity required to display a warning" + description: "The minimum severity required to display a warning (default: 8)." error_severity: type: string required: false default: "8" - description: "The minimum severity required to display an error" + description: "The minimum severity required to display an error (default: 8)." baseline_version: type: string required: false - default: "1.1.2" - description: "version of phpcs baseline" + default: "*" + description: "The version of phpcs baseline to use (default: latest)." runs: using: composite