mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-09-04 14:56:26 +00:00
Use consistent naming convention
This commit is contained in:
@@ -93,8 +93,8 @@ EOF
|
||||
sleep 5
|
||||
sudo service nginx start
|
||||
|
||||
script_dir="$(dirname "$(readlink -f "$0")")"
|
||||
root="${script_dir}/PHPCurlClass"
|
||||
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
|
||||
root="${SCRIPT_DIR}/PHPCurlClass"
|
||||
sudo cp -v "${root}/"* "/usr/share/nginx/html/"
|
||||
|
||||
# Use an older version of PHPUnit for HHVM builds so that unit tests can be
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
cd "${DIR}"
|
||||
cd "${SCRIPT_DIR}"
|
||||
phpcs \
|
||||
--extensions="php" \
|
||||
--ignore="*/vendor/*" \
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
set -x
|
||||
|
||||
SCRIPT_PATH="$(cd "$(dirname "$0")"; pwd -P)"
|
||||
cd "${SCRIPT_PATH}"
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")"; pwd -P)"
|
||||
cd "${SCRIPT_DIR}"
|
||||
|
||||
php -S 127.0.0.1:8000 -t PHPCurlClass/ &> /dev/null &
|
||||
pid="${!}"
|
||||
|
||||
Reference in New Issue
Block a user