Skip to content

Commit

Permalink
Merge branch 'next-40127/update-annotations' into 'trunk'
Browse files Browse the repository at this point in the history
NEXT-40127 - Update annotations

See merge request shopware/6/services/swagmigrationmagento!258
  • Loading branch information
jozsefdamokos committed Jan 15, 2025
2 parents 9558db7 + dfbf0bf commit 8f7551d
Show file tree
Hide file tree
Showing 513 changed files with 513 additions and 513 deletions.
2 changes: 1 addition & 1 deletion src/Exception/MigrationMagentoException.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Shopware\Core\Framework\Log\Package;
use Symfony\Component\HttpFoundation\Response;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class MigrationMagentoException extends HttpException
{
public const INCORRECT_TABLE_PREFIX = 'SWAG_MIGRATION_MAGENTO__INCORRECT_TABLE_PREFIX';
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/Logging/FileHandleErrorLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Shopware\Core\Framework\Log\Package;
use SwagMigrationAssistant\Migration\Logging\Log\BaseRunLogEntry;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class FileHandleErrorLog extends BaseRunLogEntry
{
public function __construct(
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/Mapping/MagentoMappingService.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use Shopware\Core\System\Tax\TaxCollection;
use SwagMigrationAssistant\Migration\Mapping\MappingService;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class MagentoMappingService extends MappingService implements MagentoMappingServiceInterface
{
/**
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/Mapping/MagentoMappingServiceInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Shopware\Core\Framework\Log\Package;
use SwagMigrationAssistant\Migration\Mapping\MappingServiceInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
interface MagentoMappingServiceInterface extends MappingServiceInterface
{
/**
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/Mapping/Registry/AbstractMappingRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @template-implements MappingRegistryInterface<TMappingArray>
*/
#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class AbstractMappingRegistry implements MappingRegistryInterface
{
/**
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/Mapping/Registry/CountryRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @template-extends AbstractMappingRegistry<MappingArray>
*/
#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class CountryRegistry extends AbstractMappingRegistry
{
/**
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/Mapping/Registry/CurrencyRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @template-extends AbstractMappingRegistry<MappingArray>
*/
#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class CurrencyRegistry extends AbstractMappingRegistry
{
/**
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/Mapping/Registry/LanguageRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @template-extends AbstractMappingRegistry<MappingArray>
*/
#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class LanguageRegistry extends AbstractMappingRegistry
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* @template TMappingArray of array
*/
#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
interface MappingRegistryInterface
{
/**
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/Writer/CountryWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use SwagMigrationAssistant\Migration\DataSelection\DefaultEntities;
use SwagMigrationAssistant\Migration\Writer\AbstractWriter;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class CountryWriter extends AbstractWriter
{
public function supports(): string
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/Writer/CurrencyWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use SwagMigrationAssistant\Migration\DataSelection\DefaultEntities;
use SwagMigrationAssistant\Migration\Writer\AbstractWriter;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class CurrencyWriter extends AbstractWriter
{
public function supports(): string
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/Writer/ManufacturerWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use SwagMigrationAssistant\Migration\DataSelection\DefaultEntities;
use SwagMigrationAssistant\Migration\Writer\AbstractWriter;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class ManufacturerWriter extends AbstractWriter
{
public function supports(): string
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/Writer/NotAssociatedWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Swag\MigrationMagento\Profile\Magento\DataSelection\DefaultEntities;
use SwagMigrationAssistant\Migration\Writer\AbstractWriter;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class NotAssociatedWriter extends AbstractWriter
{
public function supports(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Swag\MigrationMagento\Profile\Magento\DataSelection\DefaultEntities;
use SwagMigrationAssistant\Migration\Writer\AbstractWriter;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class ProductChildMultiSelectPropertyRelationWriter extends AbstractWriter
{
public function supports(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Swag\MigrationMagento\Profile\Magento\DataSelection\DefaultEntities;
use SwagMigrationAssistant\Migration\Writer\AbstractWriter;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class ProductChildMultiSelectTextPropertyRelationWriter extends AbstractWriter
{
public function supports(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Swag\MigrationMagento\Profile\Magento\DataSelection\DefaultEntities;
use SwagMigrationAssistant\Migration\Writer\AbstractWriter;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class ProductChildPropertyRelationWriter extends AbstractWriter
{
public function supports(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Swag\MigrationMagento\Profile\Magento\DataSelection\DefaultEntities;
use SwagMigrationAssistant\Migration\Writer\AbstractWriter;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class ProductMultiSelectPropertyRelationWriter extends AbstractWriter
{
public function supports(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Swag\MigrationMagento\Profile\Magento\DataSelection\DefaultEntities;
use SwagMigrationAssistant\Migration\Writer\AbstractWriter;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class ProductMultiSelectTextPropertyRelationWriter extends AbstractWriter
{
public function supports(): string
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/Writer/ProductOptionRelationWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use SwagMigrationAssistant\Migration\DataSelection\DefaultEntities;
use SwagMigrationAssistant\Migration\Writer\AbstractWriter;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class ProductOptionRelationWriter extends AbstractWriter
{
public function supports(): string
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/Writer/PropertyGroupWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use SwagMigrationAssistant\Migration\DataSelection\DefaultEntities;
use SwagMigrationAssistant\Migration\Writer\AbstractWriter;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class PropertyGroupWriter extends AbstractWriter
{
public function supports(): string
Expand Down
2 changes: 1 addition & 1 deletion src/Profile/Magento/Converter/CategoryConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
use SwagMigrationAssistant\Migration\Media\MediaFileServiceInterface;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class CategoryConverter extends MagentoConverter
{
protected string $connectionId;
Expand Down
2 changes: 1 addition & 1 deletion src/Profile/Magento/Converter/CountryConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use SwagMigrationAssistant\Migration\Mapping\MappingServiceInterface;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class CountryConverter extends MagentoConverter
{
protected MappingServiceInterface|MagentoMappingServiceInterface $mappingService;
Expand Down
2 changes: 1 addition & 1 deletion src/Profile/Magento/Converter/CrossSellingConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use SwagMigrationAssistant\Migration\Logging\Log\AssociationRequiredMissingLog;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class CrossSellingConverter extends MagentoConverter
{
protected string $runId;
Expand Down
2 changes: 1 addition & 1 deletion src/Profile/Magento/Converter/CurrencyConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use SwagMigrationAssistant\Migration\Mapping\MappingServiceInterface;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class CurrencyConverter extends MagentoConverter
{
protected MappingServiceInterface|MagentoMappingServiceInterface $mappingService;
Expand Down
2 changes: 1 addition & 1 deletion src/Profile/Magento/Converter/CustomFieldConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use SwagMigrationAssistant\Migration\Logging\Log\AssociationRequiredMissingLog;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class CustomFieldConverter extends Converter
{
protected MigrationContextInterface $migrationContext;
Expand Down
2 changes: 1 addition & 1 deletion src/Profile/Magento/Converter/CustomerConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
use SwagMigrationAssistant\Migration\MigrationContextInterface;
use SwagMigrationAssistant\Profile\Shopware\Premapping\SalutationReader;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class CustomerConverter extends MagentoConverter
{
protected MappingServiceInterface|MagentoMappingServiceInterface $mappingService;
Expand Down
2 changes: 1 addition & 1 deletion src/Profile/Magento/Converter/CustomerGroupConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use SwagMigrationAssistant\Migration\DataSelection\DefaultEntities;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class CustomerGroupConverter extends MagentoConverter
{
protected string $connectionId;
Expand Down
2 changes: 1 addition & 1 deletion src/Profile/Magento/Converter/LanguageConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use SwagMigrationAssistant\Migration\Mapping\Lookup\LocaleLookup;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class LanguageConverter extends MagentoConverter
{
protected string $runId;
Expand Down
2 changes: 1 addition & 1 deletion src/Profile/Magento/Converter/MagentoConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use SwagMigrationAssistant\Migration\Mapping\MappingServiceInterface;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class MagentoConverter extends Converter
{
protected const TYPE_STRING = 'string';
Expand Down
2 changes: 1 addition & 1 deletion src/Profile/Magento/Converter/ManufacturerConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use SwagMigrationAssistant\Migration\Mapping\Lookup\LanguageLookup;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class ManufacturerConverter extends MagentoConverter
{
protected string $runId;
Expand Down
2 changes: 1 addition & 1 deletion src/Profile/Magento/Converter/MediaConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
use SwagMigrationAssistant\Migration\Media\MediaFileServiceInterface;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class MediaConverter extends MagentoConverter
{
public const PRODUCT_MEDIA_PATH = '/media/catalog/product';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
use SwagMigrationAssistant\Migration\Logging\Log\EmptyNecessaryFieldRunLog;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class NewsletterRecipientConverter extends MagentoConverter
{
protected string $connectionId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
use SwagMigrationAssistant\Migration\Media\MediaFileServiceInterface;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class NotAssociatedMediaConverter extends MagentoConverter
{
protected MediaFileServiceInterface $mediaFileService;
Expand Down
2 changes: 1 addition & 1 deletion src/Profile/Magento/Converter/OrderConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
use SwagMigrationAssistant\Migration\MigrationContextInterface;
use SwagMigrationAssistant\Profile\Shopware\Premapping\OrderDeliveryStateReader;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class OrderConverter extends MagentoConverter
{
protected MappingServiceInterface|MagentoMappingServiceInterface $mappingService;
Expand Down
2 changes: 1 addition & 1 deletion src/Profile/Magento/Converter/ProductConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
use SwagMigrationAssistant\Migration\Media\MediaFileServiceInterface;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class ProductConverter extends MagentoConverter
{
protected Context $context;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Shopware\Core\Framework\Log\Package;
use SwagMigrationAssistant\Migration\DataSelection\DefaultEntities;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class ProductCustomFieldConverter extends CustomFieldConverter
{
protected function getCustomFieldEntityName(): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use SwagMigrationAssistant\Migration\DataSelection\DefaultEntities;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class ProductMultiSelectPropertyRelationConverter extends MagentoConverter
{
public function getSourceIdentifier(array $data): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use SwagMigrationAssistant\Migration\DataSelection\DefaultEntities;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class ProductOptionRelationConverter extends MagentoConverter
{
public function getSourceIdentifier(array $data): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use SwagMigrationAssistant\Migration\DataSelection\DefaultEntities;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class ProductPropertyRelationConverter extends MagentoConverter
{
public function getSourceIdentifier(array $data): string
Expand Down
2 changes: 1 addition & 1 deletion src/Profile/Magento/Converter/ProductReviewConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use SwagMigrationAssistant\Migration\Logging\Log\AssociationRequiredMissingLog;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class ProductReviewConverter extends MagentoConverter
{
protected string $connectionId;
Expand Down
2 changes: 1 addition & 1 deletion src/Profile/Magento/Converter/PropertyGroupConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
use SwagMigrationAssistant\Migration\Mapping\Lookup\LanguageLookup;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class PropertyGroupConverter extends MagentoConverter
{
protected Context $context;
Expand Down
2 changes: 1 addition & 1 deletion src/Profile/Magento/Converter/SalesChannelConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
use SwagMigrationAssistant\Migration\Mapping\Lookup\LanguageLookup;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class SalesChannelConverter extends MagentoConverter
{
protected string $connectionId;
Expand Down
2 changes: 1 addition & 1 deletion src/Profile/Magento/Converter/SeoUrlConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use SwagMigrationAssistant\Migration\Logging\Log\EmptyNecessaryFieldRunLog;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
abstract class SeoUrlConverter extends MagentoConverter
{
protected const ROUTE_NAME_NAVIGATION = 'frontend.navigation.page';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use SwagMigrationAssistant\Migration\DataSelection\DataSelectionStruct;
use SwagMigrationAssistant\Migration\MigrationContextInterface;

#[Package('services-settings')]
#[Package('fundamentals@after-sales')]
class BasicSettingsDataSelection implements DataSelectionInterface
{
public const IDENTIFIER = 'basicSettings';
Expand Down
Loading

0 comments on commit 8f7551d

Please sign in to comment.