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 <noreply@anthropic.com>
This commit is contained in:
2026-02-02 19:32:08 +09:00
parent 91bcb53ab5
commit 4e069f39ed
2 changed files with 6 additions and 7 deletions

View File

@@ -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",

View File

@@ -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