From 367884e91ed4a4f3117ab7f804b513bc642ac153 Mon Sep 17 00:00:00 2001 From: Philipp Date: Sat, 22 Jan 2022 19:32:54 +0100 Subject: [PATCH] Exclude "strings.php" from license check --- php-cs/check-license.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-cs/check-license.sh b/php-cs/check-license.sh index 409ec7b..d425e42 100755 --- a/php-cs/check-license.sh +++ b/php-cs/check-license.sh @@ -16,7 +16,7 @@ exitVal=0 printf "\n" for file in "${files[@]}"; do - if [ ! -f "$file" ]; then + if [ ! -f "$file" ] || [[ "$file" == *strings.php ]]; then continue fi php_license_md5=$(head -n "$php_template_rows" "$file" | md5sum)