Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Create a new File watcher.

```
// Pint file watcher settings
$ProjectFileDir$/vendor//bin/proxify-cs-fixer
$ProjectFileDir$/vendor/bin/proxify-cs-fixer
$FileRelativePath$
$FileRelativePath$
$ProjectFileDir$
Expand Down Expand Up @@ -111,6 +111,15 @@ or add the below step to your existing jobs workflow
sh ./vendor/bin/proxify-cs-checker
```

### Errors
If you get an error like this:
```
env: php: No such file or directory

Process finished with exit code 127
```
Remove value of `Environment variables`, in the Pint File Watcher settings.

### Pre-commit testing
install [pre-commit](https://pre-commit.com/#install) on your PC
then run the command below on your project root to enable pre-commit hook
Expand Down
4 changes: 2 additions & 2 deletions pint.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"binary_operator_spaces": {
"operators": {
"=>": "align"
"=>": "align_single_space_minimal"
}
},
"function_declaration": {
Expand All @@ -51,4 +51,4 @@
"use_nullable_type_declaration": true
}
}
}
}