Skip to content

Commit

Permalink
Merge pull request #1 from borisbabic/fix/shebang
Browse files Browse the repository at this point in the history
Use env in shebangs
  • Loading branch information
FatherShawn authored Apr 20, 2020
2 parents b0ccb10 + ac8ce10 commit 1676cdc
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 1676cdc

Please sign in to comment.