Fix include path

This commit is contained in:
Dennis Eichhorn 2017-03-11 14:40:11 +01:00
parent d8936e1847
commit 447da6da86
8 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
. ../../config.sh
. config.sh
# Find empty attributes
grep -rln "=\"\"" --include \*.tpl.php ${ROOT_PATH} > ${INSPECTION_PATH}/Modules/html/attributes_empty.log

View File

@ -1,6 +1,6 @@
#!/bin/bash
. ../../config.sh
. config.sh
# Html tag inspection
TAG[0]="<\/html>"

View File

@ -1,5 +1,5 @@
#!/bin/bash
. ../../config.sh
. config.sh
find ${ROOT_PATH} -name "*.json" | xargs -L1 jsonlint -q > ${INSPECTION_PATH}/Modules/linting/linting_json.log

View File

@ -1,6 +1,6 @@
#!/bin/bash
. ../../config.sh
. config.sh
find ${ROOT_PATH}/phpOMS -name "*.php" | xargs -L1 php -l > ${INSPECTION_PATH}/logs/temp.log
sed '/^No syntax.*/ d' < ${INSPECTION_PATH}/logs/temp.log > ${INSPECTION_PATH}/Framework/linting/linting_php.log

View File

@ -1,6 +1,6 @@
#!/bin/bash
. ../../config.sh
. config.sh
# PHP code inspection
CODE[0]="file_get_content"

View File

@ -1,6 +1,6 @@
#!/bin/bash
. ../../config.sh
. config.sh
php ${TOOLS_PATH}/phploc.phar ${ROOT_PATH}/phpOMS/ > ${INSPECTION_PATH}/Framework/phploc.log
php ${TOOLS_PATH}/phploc.phar ${ROOT_PATH}/Modules/ > ${INSPECTION_PATH}/Modules/phploc.log

View File

@ -1,6 +1,6 @@
#!/bin/bash
. ../../config.sh
. config.sh
php ${TOOLS_PATH}/phpunit.phar --configuration ${TEST_PATH}/PHPUnit/phpunit_default.xml > ${INSPECTION_PATH}/logs/phpunit.log
#phpdbg -qrr phpunit.phar --configuration Tests/PHPUnit/phpunit_default.xml

View File

@ -1,6 +1,6 @@
#!/bin/bash
. ../../config.sh
. config.sh
php ${TOOLS_PATH}/phpcs.phar --report-file=${INSPECTION_PATH}/Framework/phpcs/phpcs.log --ignore=${ROOT_PATH}/phpOMS/Localization --standard=${INSPECTION_PATH}/Configs/phpcs.xml ${ROOT_PATH}/phpOMS
php ${TOOLS_PATH}/phpcs.phar --report-file=${INSPECTION_PATH}/Modules/phpcs/phpcs.log --standard=${INSPECTION_PATH}/Configs/phpcs.xml ${ROOT_PATH}/Modules