Skip to content

Self-hosted OSINT exposure checker — is your email, username, phone or password leaked? Keyless sources: breaches, infostealer logs, COMB credentials, HIBP k-anonymity, 200-platform username grid. Docker one-command install, no API keys, no AI, Apache-2.0.

ci: add PHPStan static analysis (CodeQL does not support PHP)

Rana Khanb11ce8bf928f
diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml
new file mode 100644
index 0000000..6ada446
--- /dev/null
+++ b/.github/workflows/phpstan.yml
@@ -0,0 +1,27 @@
+name: PHPStan
+
+on:
+ push:
+ branches: [main]
+ pull_request:
+ branches: [main]
+ workflow_dispatch:
+
+jobs:
+ phpstan:
+ runs-on: ubuntu-latest
+ continue-on-error: true
+ steps:
+ - uses: actions/checkout@v4
+ - name: Setup PHP
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: '8.4'
+ extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_sqlite, sqlite3, intl
+ coverage: none
+ - name: Install dependencies
+ run: composer install --prefer-dist --no-interaction --no-progress
+ - name: Run PHPStan
+ run: vendor/bin/phpstan analyse app config routes --level 5 --error-format=github --no-progress || true
+ - name: PHPStan summary
+ run: echo "PHPStan analysis complete (annotations posted above; non-blocking)"