-
Notifications
You must be signed in to change notification settings - Fork 82
IBX-9594: Review of "Describe creating a custom DAM connector" #2689
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Preview of modified Markdown: |
PHPStan: "If condition is always true."
Parameter #1 $key of function array_key_exists expects int|string, string|null given.
Parameter #2 $transformationProperties of class Ibexa\Contracts\Connector\Dam\Variation\Transformation constructor expects array<string>, array<string, bool|float|int|string> given.
Parameter #2 $transformationProperties of class Ibexa\Contracts\Connector\Dam\Variation\Transformation constructor expects array<string>, array<string, bool|float|int|string> given.
adriendupuis
commented
Apr 3, 2025
Comment on lines
+10
to
+15
/** @param array<string, scalar> $transformationParameters */ | ||
public function build(?string $transformationName = null, array $transformationParameters = []): Transformation | ||
{ | ||
if (null === $transformationName) { | ||
return new Transformation(null, array_map('strval', $transformationParameters)); | ||
} |
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.
The Unsplash connector way to deal with this is "ignore" 😅🤞
adriendupuis
commented
Apr 3, 2025
adriendupuis
commented
Apr 3, 2025
code_samples/ change report
|
7 tasks
vidarl
approved these changes
Apr 9, 2025
dabrt
reviewed
Apr 9, 2025
dabrt
reviewed
Apr 9, 2025
Co-authored-by: Tomasz Dąbrowski <64841871+dabrt@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
null
.vale
"[Ibexa.Wordy] Remove 'respectively' and list each option instead."commons
source identifier importance.Preview: Extend DAM support by adding custom connector
Checklist