Conversation
45c0a95 to
4a5b659
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR represents the first step in refactoring the migration logging system. The changes focus on standardizing log entry creation and data collection while maintaining backward compatibility.
- Introduces a new
SwagMigrationLogBuilderfor consistent log entry creation across the system - Refactors
MigrationContextconstructor to improve parameter order and makeconnectiona required parameter - Simplifies fixture files by removing redundant source ID tracking and verbose log parameters
- Updates test files to use the modernized logging system and parameter structures
Reviewed Changes
Copilot reviewed 240 out of 244 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| Various test snapshots | Updated to reflect simplified log structure without source ID tracking |
| Test files across Profile/ | Updated MigrationContext constructor calls with reordered parameters |
| Converter test files | Simplified assertion patterns for log codes without parameter validation |
| Gateway and media processing | Updated to use new logging builder pattern and simplified connection handling |
| Logging classes | Refactored to extend AbstractSwagMigrationLogEntry with simplified structure |
Comments suppressed due to low confidence (1)
tests/Profile/Shopware55/Converter/TranslationConverterTest.php:1
- This assertion is duplicated on line 437. The second assertion should likely check
$logs[3]['code']instead of$logs[2]['code']again, or verify a different aspect of the log entry.
<?php declare(strict_types=1);
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Malte Janz <m.janz@shopware.com>
Co-authored-by: Malte Janz <m.janz@shopware.com>
|
r 001ed93 # 12367/add entity classes (#76) Unfortunately that didn't work out and we tried a few different approaches, all led to conflicts and differences in the files afterwards (likely because of the previous merges and conflict resolution). So we decided to stick to this history |

resolves shopware/shopware#10417
fixes shopware/shopware#13898
fixes shopware/shopware#14656