Skip to content

Add Breadcrumbs library with tests and CI#2

Merged
wtorsi merged 1 commit intomainfrom
8.0
Feb 16, 2026
Merged

Add Breadcrumbs library with tests and CI#2
wtorsi merged 1 commit intomainfrom
8.0

Conversation

@wtorsi
Copy link
Contributor

@wtorsi wtorsi commented Feb 16, 2026

Summary

  • Add Breadcrumbs class implementing ArrayAccess, IteratorAggregate, and Countable with full PHPDoc generics
  • Add PHPUnit test suite (15 tests, 38 assertions) covering all public API methods
  • Add CI pipeline: PHPUnit, PHPStan (level max), PHP-CS-Fixer (@PER-CS + @Symfony)
  • Add auto-tagging workflow on merged PRs and Dependabot for weekly dependency updates
  • Add composer scripts (test, analyse, cs-check, cs-fix)
  • Add README with usage examples, Twig integration, and badges
  • Add CLAUDE.md, LICENSE, .gitignore, .php-cs-fixer.dist.php, phpstan.neon

Test plan

  • Verify composer test passes (15 tests, 0 deprecations)
  • Verify composer analyse passes (PHPStan level max, 0 errors)
  • Verify composer cs-check passes (0 fixable files)
  • Verify CI workflow runs successfully on GitHub Actions

🤖 Generated with Claude Code

- Modernize Breadcrumbs: IteratorAggregate, typed params, return types, PHPDoc generics
- Add PHPUnit tests (15 tests), PHPStan at level max, PHP-CS-Fixer config
- Add composer scripts (test, analyse, cs-check, cs-fix)
- Add CLAUDE.md, README with badges, phpstan.neon, phpunit.xml.dist

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@wtorsi wtorsi merged commit c21a138 into main Feb 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant