Skip to content

Conversation

garak
Copy link
Collaborator

@garak garak commented Jul 19, 2025

Fix #837

@garak garak requested a review from Copilot July 19, 2025 16:21
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR moves the symfony/translation dependency from the production requirements to development requirements in the Composer configuration, addressing issue #837.

  • Relocated symfony/translation from the require section to require-dev section
  • Fixed comma formatting in the require-dev section to accommodate the moved dependency

Comment on lines 27 to +34
"twig/twig": "^3.0"
},
"require-dev": {
"phpstan/phpstan": "^1.12",
"phpunit/phpunit": "^10.5 || ^11.5 || ^12.0",
"symfony/expression-language": "^6.4 || ^7.0",
"symfony/templating": "^6.4 || ^7.0"
"symfony/templating": "^6.4 || ^7.0",
"symfony/translation": "^6.4 || ^7.0"
Copy link
Preview

Copilot AI Jul 19, 2025

Choose a reason for hiding this comment

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

Moving symfony/translation to require-dev suggests it's only needed for development/testing. Verify that no production code depends on translation services, as this change could break functionality if translation features are used in the main application code.

Copilot uses AI. Check for mistakes.

@garak garak merged commit 9e37808 into KnpLabs:master Jul 21, 2025
15 checks passed
@garak garak deleted the move-translation branch July 21, 2025 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Translation should be optional
1 participant