Skip to content

Commit

Permalink
build: install php_codesniffer
Browse files Browse the repository at this point in the history
  • Loading branch information
kolotov committed Aug 26, 2023
1 parent d9ad8d2 commit 7b4eece
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 4 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ install:
validate:
composer validate

lint:
composer exec --verbose phpcs -- --standard=PSR12 src bin

brain-games:
./bin/brain-games
./bin/brain-games
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@
"bin": [
"bin/brain-games"
],
"license": "MIT"
"license": "MIT",
"require-dev": {
"squizlabs/php_codesniffer": "^3.7"
}
}
62 changes: 60 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7b4eece

Please sign in to comment.