Skip to content

Commit 25b9724

Browse files
committed
style fixes
1 parent a9a2bf2 commit 25b9724

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/phpcs-phpcbf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Prettier-fix
2+
name: Phpcs-fix
33
on: [pull_request, push]
44

55
permissions:
@@ -13,6 +13,6 @@ jobs:
1313
steps:
1414
- name: Invoke the PHPCS check and PHPCBF fix
1515
# Use the latest commit in the main branch.
16-
uses: WorkOfStan/phpcs-fix@notest/init
16+
uses: WorkOfStan/phpcs-fix@feature/init
1717
with:
1818
commit-changes: true

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# PHPCS-Fix
22

33
**PHP Code Beautifier and Fixer** is a GitHub Action that checks your PHP code for style issues using the supported [PHPCSStandards/PHP_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer/) and automatically attempts to fix them using phpcbf ensuring compatibility with [Super-Linter](https://github.com/super-linter/super-linter).
4-
(As the original [squizlabs/PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) was abandoned.
4+
(Note that the original [squizlabs/PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) was abandoned.)
55
It can either commit changes directly to the current branch or create a new branch if you prefer manual review via pull request.
66

77
## Features
@@ -34,9 +34,9 @@ permissions:
3434
| `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` |
3535
| `commit-message` | Commit message to use if the action commits changes. | String | `"PHP Code Beautifier fixes applied automatically"` |
3636
| `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 |
37+
| `ignore` | Ignore files based on a comma-separated list of patterns matching files and/or directories. | String | `vendor/` |
3838
| `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 |
39+
| `standard` | The name of, or the path to, the coding standard to use. Can be a comma-separated list specifying multiple standards. | String | The project's `.github/linters/phpcs.xml` with fallback to <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. |
4040

4141
### Outputs
4242

0 commit comments

Comments
 (0)