From 92f8b6cce559f5a2b506ef5045248dfa61de06ab Mon Sep 17 00:00:00 2001 From: jrfnl Date: Tue, 28 Sep 2021 16:35:32 +0200 Subject: [PATCH] Travis: update the PHP Security Checker Ref: https://github.com/fabpot/local-php-security-checker/blob/main/CHANGELOG.md --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index efa065d..35726e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,7 +51,7 @@ install: fi - if [[ "$CHECKJS" == "1" ]]; then yarn global add grunt-cli; fi - if [[ "$CHECKJS" == "1" ]]; then yarn install; fi -- if [[ "$SECURITY" == "1" ]]; then wget -P $SECURITYCHECK_DIR https://github.com/fabpot/local-php-security-checker/releases/download/v1.0.0/local-php-security-checker_1.0.0_linux_amd64 && chmod +x $SECURITYCHECK_DIR/local-php-security-checker_1.0.0_linux_amd64;fi +- if [[ "$SECURITY" == "1" ]]; then wget -P $SECURITYCHECK_DIR https://github.com/fabpot/local-php-security-checker/releases/download/v1.2.0/local-php-security-checker_1.2.0_linux_amd64 && chmod +x $SECURITYCHECK_DIR/local-php-security-checker_1.2.0_linux_amd64;fi script: - composer lint @@ -60,4 +60,4 @@ script: - if [[ "$PHPUNIT" == "1" ]]; then composer test; fi - if [[ $TRAVIS_PHP_VERSION == "5.6" || $TRAVIS_PHP_VERSION == "7.4" ]]; then composer validate --no-check-all; fi # Check for known security vulnerabilities in the currently locked-in dependencies. -- if [[ "$SECURITY" == "1" ]]; then $SECURITYCHECK_DIR/local-php-security-checker_1.0.0_linux_amd64 --path=$(pwd)/composer.lock;fi +- if [[ "$SECURITY" == "1" ]]; then $SECURITYCHECK_DIR/local-php-security-checker_1.2.0_linux_amd64 --path=$(pwd)/composer.lock;fi