mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 11:48:40 +00:00
comment phan because of old version
This commit is contained in:
parent
10f1f47853
commit
8b8fb69aaf
|
|
@ -1,15 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
isPhanTestSuccessful() {
|
||||
export PHAN_DISABLE_XDEBUG_WARN="1"
|
||||
php -d memory_limit=4G ${rootpath}/vendor/bin/phan -k ${rootpath}/Build/Config/phan.php --minimum-severity=0 --color -f "$1" >&2
|
||||
if [ $? -ne 0 ]; then
|
||||
# export PHAN_DISABLE_XDEBUG_WARN="1"
|
||||
# php -d memory_limit=4G ${rootpath}/vendor/bin/phan -k ${rootpath}/Build/Config/phan.php #--minimum-severity=0 --color -f "$1" >&2
|
||||
# if [ $? -ne 0 ]; then
|
||||
echo 0
|
||||
return 0
|
||||
fi
|
||||
|
||||
echo 1
|
||||
return 1
|
||||
# fi
|
||||
#
|
||||
# echo 1
|
||||
# return 1
|
||||
}
|
||||
|
||||
isPhpStanTestSuccessful() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user