-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PLA-2023] Refactor constant #279
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
enhancement, tests
Description
URL_ENCODED_KEY
inLaravel\Attribute
to replace the hardcoded hex key.SyncMetadata
command to use the new constant instead of a hardcoded value.Attribute
to utilize the constant for better maintainability.GetTokenTest
to use the constant, ensuring consistency across the codebase.Changes walkthrough 📝
SyncMetadata.php
Use constant for URL encoded key in SyncMetadata
src/Commands/SyncMetadata.php
LaravelAttribute
.LaravelAttribute::URL_ENCODED_KEY
.Attribute.php
Introduce constant for URL encoded key in Attribute
src/Models/Laravel/Attribute.php
URL_ENCODED_KEY
.GetTokenTest.php
Update tests to use constant for URL encoded key
tests/Feature/GraphQL/Queries/GetTokenTest.php
LaravelAttribute
.LaravelAttribute::URL_ENCODED_KEY
intests.