Skip to content

Conversation

@Jan3k3y
Copy link

@Jan3k3y Jan3k3y commented Oct 22, 2025

Feature: #5652

Upgrade instructions

  • existing svg will have no dimensions which should be generated via ./flow media:refreshsvgdimensions
  • newly added/uploaded svg files will automatically have dimensions

Checklist

  • Code follows the PSR-2 coding style
  • Tests have been created, run and adjusted as needed
  • The PR is created against the lowest maintained branch
  • Reviewer - PR Title is brief but complete and starts with FEATURE|TASK|BUGFIX
  • Reviewer - The first section explains the change briefly for change-logs
  • Reviewer - Breaking Changes are marked with !!! and have upgrade-instructions

@mficzel mficzel changed the base branch from 9.0 to 9.1 October 23, 2025 11:34
@github-actions github-actions bot added 9.1 and removed 9.0 labels Oct 23, 2025
@mficzel mficzel changed the base branch from 9.1 to 9.0 October 23, 2025 11:39
@github-actions github-actions bot added 9.0 and removed 9.1 labels Oct 23, 2025
Copy link
Member

@mficzel mficzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks al lot generally looks fine:

  • Please rebase on 9.1 and adjust the target branch
  • Inline the for loop in the applySvgAdjustments method as requested seperately

* @param array<ImageAdjustmentInterface> $adjustments
* @return ImageInterface
*/
protected function applySvgAdjustments(ImageInterface $svgImage, array $adjustments): ImageInterface
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you inline this. The foreach in an external function has no benefit bur makes reading harder.

@mficzel mficzel changed the base branch from 9.0 to 9.1 December 5, 2025 10:54
@github-actions github-actions bot added 9.1 and removed 9.0 labels Dec 5, 2025
@mficzel
Copy link
Member

mficzel commented Dec 5, 2025

I tried to adjust and rebase this but i am not allowed to push to this branch. I suspect that queo has a policy that will not allow non members to push to queo repositories.

Can you move this branch to a personal fork and recreate this pr with allow push from maintainers.

"enshrined/svg-sanitize": "^0.22.0",
"neos/imagine": "^3.1.0",
"imagine/imagine": "*",
"contao/imagine-svg": "^1.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should also be added to the composer json of the neos-development-collection

@mficzel
Copy link
Member

mficzel commented Dec 5, 2025

Alternative könnte ich einen neuen branch anlegen und deinen commit cherry picken will das aber ungern ohne dein OK machen

@Jan3k3y
Copy link
Author

Jan3k3y commented Dec 5, 2025

Like this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants