Skip to content
This repository was archived by the owner on Dec 9, 2019. It is now read-only.

add phpstan alias phpstan.phar #10

Merged
merged 1 commit into from
Dec 2, 2017
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
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"phpstan/phpstan": "self.version"
},
"bin": [
"phpstan",
"phpstan.phar"
],
"extra": {
Expand Down
5 changes: 5 additions & 0 deletions phpstan
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

"$DIR/phpstan.phar" "$@"