Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Adding composer commands for the sniffer and sniff fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
wpillar committed Apr 28, 2015
1 parent c5aa8e4 commit 791c59e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@
"post-create-project-cmd": [
"php -r \"copy('.env.example', '.env');\"",
"php artisan key:generate"
]
],
"sniff": "vendor/bin/phpcs -n --standard=vendor/mybb/standards/MyBB2",
"sniff-fix": "vendor/bin/phpcbf -n --standard=vendor/mybb/standards/MyBB2"
},
"config": {
"preferred-install": "dist"
Expand Down

0 comments on commit 791c59e

Please sign in to comment.