You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ It can either commit changes directly to the current branch or create a new bran
12
12
13
13
## Usage
14
14
15
-
This action is designed to be used as a *reusable workflow*. You can call it from another workflow in your repository or simply add [the provided YAML configuration](.github/workflows/phpcs-phpcbf.yml) to your repository.
15
+
This action is designed to be used as a _reusable workflow_. You can call it from another workflow in your repository or simply add [the provided YAML configuration](.github/workflows/phpcs-phpcbf.yml) to your repository.
16
16
17
17
By default, if needed, a new branch with a name starting with `prettier/fix` will be created, making it easy to review and merge the fixes into your main branch.
| `commit-changes` | If set to `true`, the action will commit changes to the current branch; otherwise a new branch is created for manual review. | Boolean | `false` |
35
-
| `commit-message` | Commit message to use if the action commits changes. | String | `"PHP Code Beautifier fixes applied automatically"` |
36
-
| `extensions` | Comma-delimited list of file extensions to be sniffed. Note: an empty value will disable checking. | String | `"php"` (defaults to PHP only; other file types must be specified) |
37
-
| `ignore` | Ignore files based on a comma-separated list of patterns matching files and/or directories. Default: `vendor/`| String |
38
-
| `php-version` | The PHP version to use, e.g. `"8.2"`. | String | `"8.2"` |
39
-
| `standard` | The name of, or the path to, the coding standard to use. Can be a comma-separated list specifying multiple standards. If not set, the project's `.github/linters/phpcs.xml` or <https://github.com/super-linter/super-linter/blob/main/TEMPLATES/phpcs.xml> copied to [.github/linters/super-linter-templates-phpcs.xml](.github/linters/super-linter-templates-phpcs.xml) will be used. | String |
| `commit-changes` | If set to `true`, the action will commit changes to the current branch; otherwise a new branch is created for manual review. | Boolean | `false` |
35
+
| `commit-message` | Commit message to use if the action commits changes. | String | `"PHP Code Beautifier fixes applied automatically"` |
36
+
| `extensions` | Comma-delimited list of file extensions to be sniffed. Note: an empty value will disable checking. | String | `"php"` (defaults to PHP only; other file types must be specified) |
37
+
| `ignore` | Ignore files based on a comma-separated list of patterns matching files and/or directories. Default: `vendor/`| String |
38
+
| `php-version` | The PHP version to use, e.g. `"8.2"`. | String | `"8.2"` |
39
+
| `standard` | The name of, or the path to, the coding standard to use. Can be a comma-separated list specifying multiple standards. If not set, the project's `.github/linters/phpcs.xml` or <https://github.com/super-linter/super-linter/blob/main/TEMPLATES/phpcs.xml> copied to [.github/linters/super-linter-templates-phpcs.xml](.github/linters/super-linter-templates-phpcs.xml) will be used. | String |
0 commit comments