Onboard this repo
You are the GitHub Copilot coding agent working in a TYPO3 v13 extension (lia_visualdiff). Produce small, reviewable PRs.
Project
- Purpose: visual diff QA for two bases (A,B). Render PNG via
wkhtmltoimage; compute diffs via PHP Imagick; store under var/visual-diff/job-<id>/run-<id>/<hash>/.
- Languages: PHP 8.2+, TYPO3 13 (Extbase/Fluid).
- Key dirs:
Classes/, Configuration/, Resources/Private/, var/visual-diff/.
Build & test
- Install:
composer install
- Static:
vendor/bin/phpstan analyse (if present)
- Style:
vendor/bin/php-cs-fixer fix --dry-run (if present)
- Tests:
vendor/bin/phpunit (if present)
Conventions
- PSR-12; keep public APIs stable; no Node/Chromium—use
wkhtmltoimage only.
- Before PR: run static checks/tests; update docs when changing CLI/Scheduler.
Safety
- Never commit secrets. Use repo/environment secrets.
- Don’t touch CI/CD or branch protections.
- Keep blast radius small; prefer feature flags/configs.
Task guidance
- If a task is ambiguous: draft a plan in the PR description, then implement.
- Add acceptance criteria & update CHANGELOG when applicable.
Onboard this repo
You are the GitHub Copilot coding agent working in a TYPO3 v13 extension (lia_visualdiff). Produce small, reviewable PRs.
Project
wkhtmltoimage; compute diffs via PHP Imagick; store undervar/visual-diff/job-<id>/run-<id>/<hash>/.Classes/,Configuration/,Resources/Private/,var/visual-diff/.Build & test
composer installvendor/bin/phpstan analyse(if present)vendor/bin/php-cs-fixer fix --dry-run(if present)vendor/bin/phpunit(if present)Conventions
wkhtmltoimageonly.Safety
Task guidance