Update repository URLs to Gitea
- Change all URLs from github.com to opensource.rogarithm.net - Update Docker image references to local build (php-security-linter:latest) - Fix Gitea Issues URL in CONTRIBUTING.md Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -74,4 +74,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Value-based credential detection to reduce false positives
|
- Value-based credential detection to reduce false positives
|
||||||
- Escape function recognition (htmlspecialchars, e(), etc.)
|
- Escape function recognition (htmlspecialchars, e(), etc.)
|
||||||
|
|
||||||
[0.0.1]: https://github.com/security-linter/php-laravel/releases/tag/v0.0.1
|
[0.0.1]: https://opensource.rogarithm.net/rogarithm/php-security-linter/releases/tag/v0.0.1
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Please be respectful and constructive in all interactions. We welcome contributo
|
|||||||
|
|
||||||
### Reporting Bugs
|
### Reporting Bugs
|
||||||
|
|
||||||
1. Check if the issue already exists in [GitHub Issues](https://github.com/security-linter/php-laravel/issues)
|
1. Check if the issue already exists in [Gitea Issues](https://opensource.rogarithm.net/rogarithm/php-security-linter/issues)
|
||||||
2. If not, create a new issue with:
|
2. If not, create a new issue with:
|
||||||
- Clear description of the problem
|
- Clear description of the problem
|
||||||
- Steps to reproduce
|
- Steps to reproduce
|
||||||
@@ -52,7 +52,7 @@ Security linters can produce false positives (safe code flagged as vulnerable) o
|
|||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/security-linter/php-laravel.git
|
git clone https://opensource.rogarithm.net/rogarithm/php-security-linter.git
|
||||||
cd php-laravel
|
cd php-laravel
|
||||||
composer install
|
composer install
|
||||||
```
|
```
|
||||||
|
|||||||
16
README.md
16
README.md
@@ -28,7 +28,7 @@ No PHP or Composer environment required.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone the repository
|
# Clone the repository
|
||||||
git clone https://github.com/security-linter/php-laravel.git
|
git clone https://opensource.rogarithm.net/rogarithm/php-security-linter.git
|
||||||
cd php-laravel-security-linter
|
cd php-laravel-security-linter
|
||||||
|
|
||||||
# Install (builds Docker image and installs command)
|
# Install (builds Docker image and installs command)
|
||||||
@@ -49,7 +49,7 @@ php-security-lint app/ -s high
|
|||||||
Requires PHP 8.1+ and Composer.
|
Requires PHP 8.1+ and Composer.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/security-linter/php-laravel.git
|
git clone https://opensource.rogarithm.net/rogarithm/php-security-linter.git
|
||||||
cd php-laravel-security-linter
|
cd php-laravel-security-linter
|
||||||
composer install
|
composer install
|
||||||
php bin/security-lint /path/to/target
|
php bin/security-lint /path/to/target
|
||||||
@@ -267,7 +267,7 @@ jobs:
|
|||||||
- name: Run Security Linter
|
- name: Run Security Linter
|
||||||
run: |
|
run: |
|
||||||
docker run --rm -v ${{ github.workspace }}:/target \
|
docker run --rm -v ${{ github.workspace }}:/target \
|
||||||
ghcr.io/security-linter/php-laravel:latest \
|
php-security-linter:latest \
|
||||||
/target -s high -f sarif -o /target/security.sarif
|
/target -s high -f sarif -o /target/security.sarif
|
||||||
|
|
||||||
- name: Upload SARIF
|
- name: Upload SARIF
|
||||||
@@ -280,7 +280,7 @@ jobs:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
security-lint:
|
security-lint:
|
||||||
image: ghcr.io/security-linter/php-laravel:latest
|
image: php-security-linter:latest
|
||||||
script:
|
script:
|
||||||
- security-lint . -s medium -f json -o security-report.json
|
- security-lint . -s medium -f json -o security-report.json
|
||||||
artifacts:
|
artifacts:
|
||||||
@@ -336,7 +336,7 @@ PHPやComposerの環境構築なしで使用できます。
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# リポジトリをクローン
|
# リポジトリをクローン
|
||||||
git clone https://github.com/security-linter/php-laravel.git
|
git clone https://opensource.rogarithm.net/rogarithm/php-security-linter.git
|
||||||
cd php-laravel-security-linter
|
cd php-laravel-security-linter
|
||||||
|
|
||||||
# インストール (Dockerイメージのビルドとコマンドのインストール)
|
# インストール (Dockerイメージのビルドとコマンドのインストール)
|
||||||
@@ -357,7 +357,7 @@ php-security-lint app/ -s high
|
|||||||
PHP 8.1以上とComposerが必要です。
|
PHP 8.1以上とComposerが必要です。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/security-linter/php-laravel.git
|
git clone https://opensource.rogarithm.net/rogarithm/php-security-linter.git
|
||||||
cd php-laravel-security-linter
|
cd php-laravel-security-linter
|
||||||
composer install
|
composer install
|
||||||
php bin/security-lint /path/to/target
|
php bin/security-lint /path/to/target
|
||||||
@@ -575,7 +575,7 @@ jobs:
|
|||||||
- name: Run Security Linter
|
- name: Run Security Linter
|
||||||
run: |
|
run: |
|
||||||
docker run --rm -v ${{ github.workspace }}:/target \
|
docker run --rm -v ${{ github.workspace }}:/target \
|
||||||
ghcr.io/security-linter/php-laravel:latest \
|
php-security-linter:latest \
|
||||||
/target -s high -f sarif -o /target/security.sarif
|
/target -s high -f sarif -o /target/security.sarif
|
||||||
|
|
||||||
- name: Upload SARIF
|
- name: Upload SARIF
|
||||||
@@ -588,7 +588,7 @@ jobs:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
security-lint:
|
security-lint:
|
||||||
image: ghcr.io/security-linter/php-laravel:latest
|
image: php-security-linter:latest
|
||||||
script:
|
script:
|
||||||
- security-lint . -s medium -f json -o security-report.json
|
- security-lint . -s medium -f json -o security-report.json
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|||||||
@@ -15,15 +15,15 @@
|
|||||||
"vulnerability",
|
"vulnerability",
|
||||||
"sast"
|
"sast"
|
||||||
],
|
],
|
||||||
"homepage": "https://github.com/security-linter/php-laravel",
|
"homepage": "https://opensource.rogarithm.net/rogarithm/php-security-linter",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/security-linter/php-laravel/issues",
|
"issues": "https://opensource.rogarithm.net/rogarithm/php-security-linter/issues",
|
||||||
"source": "https://github.com/security-linter/php-laravel"
|
"source": "https://opensource.rogarithm.net/rogarithm/php-security-linter"
|
||||||
},
|
},
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Security Linter Contributors",
|
"name": "Security Linter Contributors",
|
||||||
"homepage": "https://github.com/security-linter/php-laravel/contributors"
|
"homepage": "https://opensource.rogarithm.net/rogarithm/php-security-linter/contributors"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
|||||||
Reference in New Issue
Block a user