Skip to content

Conversation

@kojiromike
Copy link
Contributor

@kojiromike kojiromike commented Jan 17, 2026

Summary

  • Add Rector, Composer Require Checker, actionlint, PHPUnit, and Taskfile tooling
  • Ported from oce-module-template tooling branch
  • Includes pre-commit hook updates and Rector-applied code fixes

Test plan

  • Verify CI workflows pass (rector, composer-require-checker, actionlint, tests)
  • Test composer check runs all quality checks
  • Test composer fix applies auto-fixes
  • Test task --list shows available tasks

🤖 Generated with Claude Code

kojiromike and others added 2 commits January 17, 2026 00:08
- Add Rector for automated code modernization (PHP 8.2 target)
- Add Composer Require Checker for dependency validation
- Add actionlint for GitHub Actions workflow validation
- Add PHPUnit testing infrastructure with multi-version CI (8.2-8.4)
- Add Taskfile.yml for convenient task running
- Update pre-commit hooks with rector and actionlint
- Add new composer scripts: rector, rector-fix, test, fix
- Apply Rector fixes to existing rules (unused params, type checks)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Add nikic/php-parser as direct dependency (resolves PhpParser symbols)
- Whitelist PHPStan symbols (phpstan/phpstan bundles classes internally,
  so the checker can't see them despite being a declared dependency)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@kojiromike kojiromike merged commit 3f8f991 into main Jan 17, 2026
16 checks passed
@kojiromike kojiromike deleted the tooling branch January 17, 2026 19:31
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.

2 participants