Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update shebang's to work with FreeBSD #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
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
4 changes: 2 additions & 2 deletions 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 Expand Up @@ -54,4 +54,4 @@ then
exit 1
fi

exit 0
exit 0
4 changes: 2 additions & 2 deletions 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 Expand Up @@ -73,4 +73,4 @@ if [ "$php_errors_found" = true ]; then
exit 1
fi

exit 0
exit 0
4 changes: 2 additions & 2 deletions 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 Expand Up @@ -48,4 +48,4 @@ then
echo "$command_result"
exit 1
fi
exit 0
exit 0