fix inspection

This commit is contained in:
Dennis Eichhorn 2023-10-01 02:15:59 +00:00
parent 530c61f2cb
commit 72f2912f13
14 changed files with 19 additions and 14 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
. "$BUILD_PATH/config.sh"
. "${BUILD_PATH}/config.sh"
echo "#################################################"
echo "Start static text inspection"

View File

@ -1,6 +1,6 @@
#!/bin/bash
. "$BUILD_PATH/config.sh"
. "${BUILD_PATH}/config.sh"
echo "#################################################"
echo "Start html syntax inspection"

View File

@ -1,6 +1,6 @@
#!/bin/bash
. "$BUILD_PATH/config.sh"
. "${BUILD_PATH}/config.sh"
echo "#################################################"
echo "Start html tags inspection"

View File

@ -1,6 +1,6 @@
#!/bin/bash
. "$BUILD_PATH/config.sh"
. "${BUILD_PATH}/config.sh"
echo "#################################################"
echo "Start js security inspection"

View File

@ -1,6 +1,6 @@
#!/bin/bash
. "$BUILD_PATH/config.sh"
. "${BUILD_PATH}/config.sh"
echo "#################################################"
echo "Start js style inspection"

View File

@ -1,6 +1,6 @@
#!/bin/bash
. "$BUILD_PATH/config.sh"
. "${BUILD_PATH}/config.sh"
echo "#################################################"
echo "Start json linting inspection"

View File

@ -1,6 +1,6 @@
#!/bin/bash
. "$BUILD_PATH/config.sh"
. "${BUILD_PATH}/config.sh"
echo "#################################################"
echo "Start php linting inspection"

View File

@ -1,6 +1,6 @@
#!/bin/bash
. "$BUILD_PATH/config.sh"
. "${BUILD_PATH}/config.sh"
echo "#################################################"
echo "Start php security inspection"

View File

@ -1,6 +1,6 @@
#!/bin/bash
. "$BUILD_PATH/config.sh"
. "${BUILD_PATH}/config.sh"
echo "#################################################"
echo "Start php stats inspection"

View File

@ -1,6 +1,6 @@
#!/bin/bash
. "$BUILD_PATH/config.sh"
. "${BUILD_PATH}/config.sh"
echo "#################################################"
echo "Start php style inspection"

View File

@ -1,6 +1,6 @@
#!/bin/bash
. "$BUILD_PATH/config.sh"
. "${BUILD_PATH}/config.sh"
echo "#################################################"
echo "Start php unit tests inspection"

View File

@ -1,6 +1,6 @@
#!/bin/bash
. "$BUILD_PATH/config.sh"
. "${BUILD_PATH}/config.sh"
# Mysql required with query logging
# sudo apt-get install percona-toolkit

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Include config
. "$BUILD_PATH/config.sh"
. "${BUILD_PATH}/config.sh"
# Setup database
echo "#################################################"

7
php.sh
View File

@ -2,7 +2,7 @@
# Include config
BUILD_PATH="$(dirname "$(readlink -f "$0")")"
. "$BUILD_PATH/config.sh"
. "${BUILD_PATH}/config.sh"
if [ $# -eq 0 ]; then
echo "No parameters provided."
@ -12,5 +12,10 @@ fi
INSPECTION_PATH="$1"
OUTPUT_PATH="$2"
mkdir -p ${OUTPUT_PATH}
mkdir -p ${OUTPUT_PATH}/coverage
mkdir -p ${OUTPUT_PATH}/phpunit
mkdir -p ${OUTPUT_PATH}/metrics
# Run inspection
. ${BUILD_PATH}/Inspection/inspect.sh