diff --git a/Inspection/Html/tags.sh b/Inspection/Html/tags.sh index a944c2e..83450f2 100644 --- a/Inspection/Html/tags.sh +++ b/Inspection/Html/tags.sh @@ -1,6 +1,6 @@ #!/bin/bash -. ../../config.s +. ../../config.sh # Html tag inspection TAG[0]="<\/html>" diff --git a/Inspection/Json/linting.sh b/Inspection/Json/linting.sh index 1b58150..567b054 100644 --- a/Inspection/Json/linting.sh +++ b/Inspection/Json/linting.sh @@ -1,5 +1,5 @@ #!/bin/bash -. ../../config.s +. ../../config.sh find ${ROOT_PATH} -name "*.json" | xargs -L1 jsonlint -q > ${INSPECTION_PATH}/Modules/linting/linting_json.log \ No newline at end of file diff --git a/Inspection/Php/linting.sh b/Inspection/Php/linting.sh index 5ad9281..c2d5d00 100644 --- a/Inspection/Php/linting.sh +++ b/Inspection/Php/linting.sh @@ -1,6 +1,6 @@ #!/bin/bash -. ../../config.s +. ../../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 diff --git a/Inspection/Php/security.sh b/Inspection/Php/security.sh index 641c497..a34af55 100644 --- a/Inspection/Php/security.sh +++ b/Inspection/Php/security.sh @@ -1,6 +1,6 @@ #!/bin/bash -. ../../config.s +. ../../config.sh # PHP code inspection CODE[0]="file_get_content" diff --git a/Inspection/Php/stats.sh b/Inspection/Php/stats.sh index c34f07a..df9ca3f 100644 --- a/Inspection/Php/stats.sh +++ b/Inspection/Php/stats.sh @@ -1,6 +1,6 @@ #!/bin/bash -. ../../config.s +. ../../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 diff --git a/Inspection/Php/tests.sh b/Inspection/Php/tests.sh index e589bf2..c768bcc 100644 --- a/Inspection/Php/tests.sh +++ b/Inspection/Php/tests.sh @@ -1,6 +1,6 @@ #!/bin/bash -. ../../config.s +. ../../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 diff --git a/Inspection/Php/tools.sh b/Inspection/Php/tools.sh index 9e312bb..a20249f 100644 --- a/Inspection/Php/tools.sh +++ b/Inspection/Php/tools.sh @@ -1,6 +1,6 @@ #!/bin/bash -. ../../config.s +. ../../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