Phase 1: Bundle-Skeleton, Code-Qualität und Forgejo-CI (#2, #4, #5) #30

Merged
csaeum merged 3 commits from feature/forgejo-ci into main 2026-11-09 17:54:36 +00:00
Owner

Inhalt

  • #2 Bundle-Skeleton: composer.json (AGPL-3.0-or-later), Bundle-Klasse, Extension, Configuration mit CONSENT_CATEGORIES
  • #4 Code-Qualität: PHP-CS-Fixer mit AGPL-Header, PHPStan Level 8 (+ phpstan-phpunit), PHPUnit, .gitattributes
  • #5 Forgejo-CI Stufe 1: Jobs php, sicherheit (Gitleaks/Trivy/Semgrep), build-release-Stub; CICD-Actions.md angepasst

Verifikation

  • DDEV sulu-bundles: Bundle per Path-Repository eingebunden, debug:config, lint:container, php -l grün, / und /admin/ → 200
  • Lokal: cs-check, PHPStan, PHPUnit (4 Tests), composer audit grün; Header-Gegenprobe (Datei ohne Header → exit 8)
  • Beide CI-Jobs lokal 1:1 in php:8.4-cli / python:3.13 nachgestellt
  • Forgejo-Lauf #1: grün (1m49s)
  • Paketinhalt (git archive): nur LICENSE, composer.json, src/

🤖 Generated with Claude Code

## Inhalt - **#2** Bundle-Skeleton: `composer.json` (AGPL-3.0-or-later), Bundle-Klasse, Extension, `Configuration` mit `CONSENT_CATEGORIES` - **#4** Code-Qualität: PHP-CS-Fixer mit AGPL-Header, PHPStan Level 8 (+ phpstan-phpunit), PHPUnit, `.gitattributes` - **#5** Forgejo-CI Stufe 1: Jobs `php`, `sicherheit` (Gitleaks/Trivy/Semgrep), `build-release`-Stub; `CICD-Actions.md` angepasst ## Verifikation - DDEV `sulu-bundles`: Bundle per Path-Repository eingebunden, `debug:config`, `lint:container`, `php -l` grün, `/` und `/admin/` → 200 - Lokal: cs-check, PHPStan, PHPUnit (4 Tests), composer audit grün; Header-Gegenprobe (Datei ohne Header → exit 8) - Beide CI-Jobs lokal 1:1 in `php:8.4-cli` / `python:3.13` nachgestellt - Forgejo-Lauf #1: grün (1m49s) - Paketinhalt (`git archive`): nur `LICENSE`, `composer.json`, `src/` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ci(forgejo): add stage 1 pipeline with php gates, security scans and release build stub (closes #5)
All checks were successful
CI / php (push) Successful in 40s
CI / sicherheit (push) Successful in 1m8s
CI / build-release (push) Has been skipped
f83c8ec306
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
csaeum merged commit 3a34b80cb0 into main 2026-11-09 17:54:36 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Sulu-Bundles/wsc_sulubundle_orestbidacookieconsent!30
No description provided.