Conversation
WalkthroughAdds a dev tool (composer-dependency-age) and ignores its cache file. Test suite updates remove Reflection visibility overrides, implying several validator properties/methods are now public (e.g., logger, resetState, keyData, analyzeHtmlStructure, extractPlaceholders). No functional production logic is shown changed beyond these visibility adjustments. Changes
Sequence Diagram(s)Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the ✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…y-age # Conflicts: # composer.lock
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
composer.json (1)
33-35: Avoid a floating dev branch for reproducibility.Using "dev-main" can introduce nondeterministic CI runs. Prefer a tagged release or pin to a commit to lock builds.
Example change (replace with the actual commit/tag when available):
- "konradmichalik/composer-dependency-age": "dev-main", + "konradmichalik/composer-dependency-age": "dev-main#<commit-sha>",Optional: add prefer-stable to nudge the solver toward stable versions:
"config": { "allow-plugins": { "ergebnis/composer-normalize": true, "konradmichalik/composer-dependency-age": true }, "sort-packages": true, "prefer-stable": true }Also consider a script alias so the tool is easy to run locally/CI (adjust command as needed):
"scripts": { "sca:deps": "composer dependency-age", "sca": ["@sca:php", "@sca:deps"] }
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
composer.lockis excluded by!**/*.lock
📒 Files selected for processing (10)
.gitignore(1 hunks)composer.json(2 hunks)tests/src/Validator/AbstractValidatorTest.php(0 hunks)tests/src/Validator/DuplicateValuesValidatorTest.php(0 hunks)tests/src/Validator/EncodingValidatorTest.php(0 hunks)tests/src/Validator/HtmlTagValidatorTest.php(0 hunks)tests/src/Validator/KeyDepthValidatorTest.php(0 hunks)tests/src/Validator/KeyNamingConventionValidatorTest.php(0 hunks)tests/src/Validator/MismatchValidatorTest.php(0 hunks)tests/src/Validator/PlaceholderConsistencyValidatorTest.php(0 hunks)
💤 Files with no reviewable changes (8)
- tests/src/Validator/DuplicateValuesValidatorTest.php
- tests/src/Validator/KeyDepthValidatorTest.php
- tests/src/Validator/EncodingValidatorTest.php
- tests/src/Validator/HtmlTagValidatorTest.php
- tests/src/Validator/KeyNamingConventionValidatorTest.php
- tests/src/Validator/AbstractValidatorTest.php
- tests/src/Validator/PlaceholderConsistencyValidatorTest.php
- tests/src/Validator/MismatchValidatorTest.php
🔇 Additional comments (2)
composer.json (1)
56-58: Allow-plugins entry looks correct.Scoped to the root package; consumers of this plugin won’t inherit it. No concerns.
.gitignore (1)
3-3: LGTM — cache file is correctly ignored at repo root.Nothing else needed.
Summary by CodeRabbit
Chores
Tests