Skip to content

Commit

Permalink
Use env in shebangs
Browse files Browse the repository at this point in the history
  • Loading branch information
borisbabic committed Aug 2, 2017
1 parent 45b0f40 commit ac8ce10
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pre_commit_hooks/php-cbf.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Bash PHP Code Beautifier and Fixer Hook
# This script fails if the PHP Code Beautifier and Fixer output has the word "ERROR" in it.
Expand Down
2 changes: 1 addition & 1 deletion pre_commit_hooks/php-cs-fixer.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
################################################################################
#
# Bash PHP Coding Standards Fixer
Expand Down
2 changes: 1 addition & 1 deletion pre_commit_hooks/php-cs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Bash PHP Codesniffer Hook
# This script fails if the PHP Codesniffer output has the word "ERROR" in it.
Expand Down
2 changes: 1 addition & 1 deletion pre_commit_hooks/php-lint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Bash PHP Linter for Pre-commits
#
Expand Down
2 changes: 1 addition & 1 deletion pre_commit_hooks/php-unit.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Bash PHP Unit Task Runner
#
Expand Down

0 comments on commit ac8ce10

Please sign in to comment.