-
Notifications
You must be signed in to change notification settings - Fork 98
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
[Improvement]: Move grid data related functions from pimcore/pimcore v11.3 #457
Conversation
Quality Gate passedIssues Measures |
|
||
if (method_exists($object, $getter)) { | ||
/** @var Classificationstore $classificationStoreData */ | ||
$classificationStoreData = $object->$getter(); |
Check warning
Code scanning / SonarCloud
Reflection should not be vulnerable to injection attacks Medium
$value = $object->$getter(); | ||
if (!empty($value) && !empty($brickType)) { | ||
$getBrickType = 'get' . ucfirst($brickType); | ||
$value = $value->$getBrickType(); |
Check warning
Code scanning / SonarCloud
Reflection should not be vulnerable to injection attacks Medium
$value = $localizedFields->getLocalizedValue($brickDescriptor['brickfield']); | ||
} else { | ||
$brickFieldGetter = 'get' . ucfirst($brickKey); | ||
$value = $value->$brickFieldGetter(); |
Check warning
Code scanning / SonarCloud
Reflection should not be vulnerable to injection attacks Medium
Please retry analysis of this Pull-Request directly on SonarCloud |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check if we can make the commented classes @internal. The rest LGTM - so we can merge it after checking 👍
Can be merged right before creating the release to avoid problems with the testing pipelines. |
Quality Gate passedIssues Measures |
Resolves pimcore/pimcore#15971