Skip to content

Conversation

@kubainter
Copy link

No description provided.

@kubainter kubainter requested a review from Copilot May 26, 2025 08:08
Copy link

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 modernizes configuration classes with return type hints, updates Symfony’s TreeBuilder usage, and bumps the package’s PHP requirement to 8.2 while adjusting Composer metadata.

  • Added return types to getAlias() and getConfigTreeBuilder()
  • Migrated TreeBuilder instantiation to the named constructor and updated root node chaining
  • Bumped PHP version requirement, added a new branch alias, and updated autoload-dev mappings

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/DreamCommerce/Bundle/CommonBundle/DependencyInjection/DreamCommerceCommonExtension.php Added : string return type to getAlias()
src/DreamCommerce/Bundle/CommonBundle/DependencyInjection/Configuration.php Added : TreeBuilder return type and migrated to TreeBuilder('dream_commerce') + getRootNode()
composer.json Bumped "php" requirement to >=8.2, added dev-dev8.2 alias, and updated autoload-dev paths

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.

2 participants