Skip to content

Conversation

@GromNaN
Copy link
Owner

@GromNaN GromNaN commented Dec 2, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 2, 2025 14:09
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 enhances test coverage by running tests with full Symfony DI container features and fixes expression-based factory handling in the XML to PHP config converter.

Key Changes:

  • Added support for expression-based factory configurations in the converter
  • Extended test fixtures to include comprehensive Symfony DI features
  • Expanded test coverage to include additional config fixture files

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tests/SymfonyXmlFixturesTest.php Adds tests/Fixtures/config/ directory to XML fixture discovery
tests/Fixtures/config/imported_file.php New test fixture demonstrating PHP-based service imports
tests/Fixtures/config/all_features.xml Comments out problematic stack services section pending fix
tests/Fixtures/config/all_features.php Comprehensive PHP config fixture covering all DI container features
src/XmlToPhpConfigConverter.php Adds expression attribute handling for factory and callable configurations
composer.json Explicitly declares ext-dom dependency

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@GromNaN GromNaN merged commit d875424 into main Dec 2, 2025
1 check passed
@GromNaN GromNaN deleted the tests branch December 2, 2025 14:14
"minimum-stability": "dev",
"require": {
"php": ">= 8.4",
"ext-dom": "*",
Copy link
Contributor

Choose a reason for hiding this comment

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

this causes the committed composer.lock file to be considered outdated. You should either remove the committed lock file or ensure that the committed lock file is in sync.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Thanks. File updated.

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.

3 participants