mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 09:37:26 +00:00
update php version
This commit is contained in:
parent
fce7541f61
commit
3f8ae84193
3 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|||
ERRORS=0
|
||||
|
||||
for FILE in $(find "$DIR" -name '*.php'); do
|
||||
CHECK=$(php7.0 -l $FILE | grep -v "^No syntax errors detected")
|
||||
CHECK=$(php -l $FILE | grep -v "^No syntax errors detected")
|
||||
if [ -n "$CHECK" ]; then
|
||||
echo "$CHECK"
|
||||
ERRORS=1
|
||||
|
|
2
dev.sh
2
dev.sh
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
PHPBIN=php7.0
|
||||
PHPBIN=php7.2
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/php7.0
|
||||
#!/usr/bin/php
|
||||
<?php
|
||||
|
||||
include __DIR__.'/bootstrap.php';
|
||||
|
|
Loading…
Add table
Reference in a new issue