From 4e069f39ed8a031958634b28d5605c5d2e70629e Mon Sep 17 00:00:00 2001 From: Yutaka Kurosaki Date: Mon, 2 Feb 2026 19:32:08 +0900 Subject: [PATCH] Fix placeholder URLs and references for OSS release - Update php-security-lint wrapper script with correct repository URL - Remove non-existent schema reference from config example - Replace GitHub placeholder URLs with Gitea URLs Co-Authored-By: Claude Opus 4.5 --- .security-lint.json.example | 1 - php-security-lint | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.security-lint.json.example b/.security-lint.json.example index a4438a9..880c8e3 100644 --- a/.security-lint.json.example +++ b/.security-lint.json.example @@ -1,5 +1,4 @@ { - "$schema": "https://raw.githubusercontent.com/security-linter/php-laravel/main/schema/config.json", "$comment": "Example configuration file for PHP/Laravel Security Linter", "severity": "low", diff --git a/php-security-lint b/php-security-lint index 89d660a..743defe 100755 --- a/php-security-lint +++ b/php-security-lint @@ -11,8 +11,9 @@ # php-security-lint -s high -f json . # # Installation: -# curl -o /usr/local/bin/php-security-lint https://raw.githubusercontent.com/your-org/php-laravel-security-linter/main/php-security-lint -# chmod +x /usr/local/bin/php-security-lint +# Copy this script to /usr/local/bin/ after building the Docker image: +# sudo cp php-security-lint /usr/local/bin/ +# sudo chmod +x /usr/local/bin/php-security-lint # set -e @@ -106,11 +107,10 @@ check_image() { else echo -e "${RED}Error: Docker image '$DOCKER_IMAGE' not found.${NC}" >&2 echo "" >&2 - echo "To build the image, run from the security-linter directory:" >&2 + echo "To build the image, clone the repository and run:" >&2 + echo " git clone https://opensource.rogarithm.net/rogarithm/php-security-linter.git" >&2 + echo " cd php-security-linter" >&2 echo " docker build -t php-security-linter:latest ." >&2 - echo "" >&2 - echo "Or pull from registry (if published):" >&2 - echo " docker pull your-org/php-security-linter:latest" >&2 exit 1 fi fi