Image of phpcs-security-audit (https://github.com/FloeDesignTechnologies/phpcs-security-audit)
142
This is just another image of phpcs-security-audit
You can run this image just by this command
docker run --rm -it -v YOUR_PROJECT_DIR_HERE:/opt/mount:ro alexandertyutin/phpcs
or you can use this bash script (check the latest version here)
#!/bin/bash
SCAN_DIR=${PWD}
for i in "$@"
do
case $i in
-ir=*)
SCAN_DIR=${PWD}/"${i#*=}"
shift
;;
esac
done
echo ${SCAN_DIR}
docker run --rm -it -v ${SCAN_DIR}:/opt/mount:ro alexandertyutin/phpcs
The script usage syntax:
$ ./run_test.sh -ir=YOUR_PROJECT_DIR_HERE
If there will be no parameters given the script will use current running directory as working directory.
Content type
Image
Digest
Size
-
Last updated
almost 7 years ago
docker pull alexandertyutin/phpcs