No flags on bool arguments#1
Conversation
|
@coderabbitai review. |
|
✅ Action performedReview finished.
|
|
Warning Review limit reached
Next review available in: 22 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (18)
📝 WalkthroughWalkthroughChangesSensitive parameter analysis platform
Estimated code review effort: 4 (Complex) | ~60 minutes Poem
🚥 Pre-merge checks | ❌ 1❌ Failed checks (1 warning)
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 |
There was a problem hiding this comment.
Actionable comments posted: 13
🧹 Nitpick comments (1)
tests/Fixtures/Detector/BasicSensitiveParameters.php (1)
12-13: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valueCorrect the documentation comment.
The comment indicates this is a "Regular function (not class method)", but the code defines a
public static function, which is a class method. Consider updating the comment, or if the intent was to test a standalone function, move it outside of the class block.♻️ Proposed fix
- // Regular function (not class method) + // Static class method public static function regularFunction(string $userSecret, string $credential): string
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 836f066e-7023-4cf2-b71f-198e12320309
📒 Files selected for processing (40)
.github/CODEOWNERS.github/FUNDING.yml.github/dependabot.yml.github/release.yml.github/workflows/ci.yml.github/workflows/dependency-review.yml.github/workflows/scorecard.ymlLICENSEMakefileREADME.mdcomposer.jsonextension.neonphpstan.neonphpunit.xmlsrc/Rules/SensitiveParameterDetectorRule.phpsrc/Rules/SensitiveParameterPropagationRule.phpsrc/Rules/SensitiveParameterStorageRule.phpstubs/SensitiveParameterValue.stubtests/Detector/BasicSensitiveParametersTest.phptests/Detector/BooleanCasesTest.phptests/Detector/CustomKeywordsTest.phptests/Detector/IgnoreCommentsTest.phptests/DetectorTestCase.phptests/Feature/BasicSensitiveParametersTest.phptests/Feature/CustomKeywordsTest.phptests/Fixtures/Detector/BasicSensitiveParameters.phptests/Fixtures/Detector/BooleanCases.phptests/Fixtures/Detector/CustomKeywords.phptests/Fixtures/Detector/EdgeCases.phptests/Fixtures/Detector/IgnoreComments.phptests/Fixtures/Detector/ProtectedSensitiveParameters.phptests/Fixtures/Propagation/PropagationCases.phptests/Fixtures/Storage/StorageCases.phptests/Fixtures/Types/SensitiveParameterValueTypes.phptests/Pest.phptests/Propagation/SensitiveParameterPropagationTest.phptests/PropagationTestCase.phptests/Storage/SensitiveParameterStorageTest.phptests/StorageTestCase.phptests/Types/SensitiveParameterValueTypesTest.php
💤 Files with no reviewable changes (2)
- tests/Feature/BasicSensitiveParametersTest.php
- tests/Feature/CustomKeywordsTest.php
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Chores