Skip to content
Snippets Groups Projects

civilint.md - Split out comments on multiple lines

Merged homotechsual requested to merge totten-civilint-fmt into master
1 file
+ 11
4
Compare changes
  • Side-by-side
  • Inline
+ 11
4
@@ -5,10 +5,17 @@ Code-style tests ensure a consistent layout across all of the codebase, and they
Note that civilint may be invoked a few different ways:
```bash
civilint # (no arguments) – Check style of any uncommitted changes.
civilint some/file.php # Check style of a specific file (or list of files).
git diff --name-only HEAD~1 | civilint - # Check your last commit
git diff --name-only master | civilint - # Check for changes in your branch (compared to master)
# (no arguments) – Check style of any uncommitted changes.
civilint
# Check style of a specific file (or list of files).
civilint some/file.php
# Check your last commit
git diff --name-only HEAD~1 | civilint -
# Check for changes in your branch (compared to master)
git diff --name-only master | civilint -
```
See also:
Loading