Skip to content

Commit

Permalink
Merge pull request #43 from TheDragonCode/1.x
Browse files Browse the repository at this point in the history
Removed `codestyler` bash script
  • Loading branch information
Andrey Helldar committed Feb 12, 2022
2 parents 688ea44 + e4cc41f commit 7c6900f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 59 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-check.yml
Expand Up @@ -11,4 +11,4 @@ jobs:
uses: actions/checkout@v2

- name: Checking PHP Syntax
uses: TheDragonCode/php-codestyler@v1.9.0
uses: TheDragonCode/php-codestyler@v1.10.0
2 changes: 1 addition & 1 deletion .github/workflows/lint-fixer.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v2

- name: Checking PHP Syntax
uses: TheDragonCode/php-codestyler@v1.9.0
uses: TheDragonCode/php-codestyler@v1.10.0
with:
fix: true
editorconfig: false
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -65,7 +65,7 @@ jobs:
uses: actions/checkout@v2

- name: Checking PHP Syntax
uses: TheDragonCode/php-codestyler@v1.9.0
uses: TheDragonCode/php-codestyler@v1.10.0
```

### Fixer
Expand All @@ -88,7 +88,7 @@ jobs:
uses: actions/checkout@v2

- name: Checking PHP Syntax
uses: TheDragonCode/php-codestyler@v1.9.0
uses: TheDragonCode/php-codestyler@v1.10.0
with:
# Activates the mode of accepting changes with the creation
# of commits.
Expand All @@ -110,13 +110,13 @@ jobs:
By default, the linter scans all files in the current launch folder, except for folders such as `vendor`, `node_modules` and `.github`.

```yaml
- uses: TheDragonCode/php-codestyler@v1.9.0
- uses: TheDragonCode/php-codestyler@v1.10.0
```

By default, the linter only checks the code-style. If you want to apply the changes, then you need to activate this option:

```yaml
- uses: TheDragonCode/php-codestyler@v1.9.0
- uses: TheDragonCode/php-codestyler@v1.10.0
with:
fix: true
```
Expand Down
51 changes: 0 additions & 51 deletions bin/codestyler

This file was deleted.

3 changes: 1 addition & 2 deletions composer.json
Expand Up @@ -22,7 +22,6 @@
}
},
"bin": [
"bin/codestyle",
"bin/codestyler"
"bin/codestyle"
]
}

0 comments on commit 7c6900f

Please sign in to comment.