diff --git a/pre_commit_hooks/php-cbf.sh b/pre_commit_hooks/php-cbf.sh index 2b6a02f..f939217 100755 --- a/pre_commit_hooks/php-cbf.sh +++ b/pre_commit_hooks/php-cbf.sh @@ -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. diff --git a/pre_commit_hooks/php-cs-fixer.sh b/pre_commit_hooks/php-cs-fixer.sh index d95bf3c..47c76e7 100755 --- a/pre_commit_hooks/php-cs-fixer.sh +++ b/pre_commit_hooks/php-cs-fixer.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ################################################################################ # # Bash PHP Coding Standards Fixer diff --git a/pre_commit_hooks/php-cs.sh b/pre_commit_hooks/php-cs.sh index 47060c5..ec1efb7 100755 --- a/pre_commit_hooks/php-cs.sh +++ b/pre_commit_hooks/php-cs.sh @@ -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. diff --git a/pre_commit_hooks/php-lint.sh b/pre_commit_hooks/php-lint.sh index 40ecf5a..46bf521 100755 --- a/pre_commit_hooks/php-lint.sh +++ b/pre_commit_hooks/php-lint.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Bash PHP Linter for Pre-commits # diff --git a/pre_commit_hooks/php-unit.sh b/pre_commit_hooks/php-unit.sh index b028df0..d78fffe 100755 --- a/pre_commit_hooks/php-unit.sh +++ b/pre_commit_hooks/php-unit.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Bash PHP Unit Task Runner #