Skip to content

Commit

Permalink
Add cs fixer setup
Browse files Browse the repository at this point in the history
  • Loading branch information
daanrijpkemacb committed Nov 25, 2023
1 parent aeaeeb1 commit fd7ba65
Show file tree
Hide file tree
Showing 4 changed files with 2,676 additions and 1,175 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ docker
/tests/Support/_generated/AcceptanceTesterActions.php
/tests/Support/_generated/FunctionalTesterActions.php
/tests/Support/_generated/UnitTesterActions.php
/.php-cs-fixer.cache
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ make add_git_hooks
```
to enable git hooks, which will automatically run **unit** tests and CS linting (soon) before any commit.

- Also if you want to lint or use automatic lint-fixes, ensure that the PHP CS fixer is installed in the `tools` folder.

### Unit testing

```bash
Expand Down
Loading

0 comments on commit fd7ba65

Please sign in to comment.