From 65969a72a55a7c922d4af159c0360fef2ed53b63 Mon Sep 17 00:00:00 2001 From: Jacob Tobiasz Date: Mon, 13 May 2024 07:31:03 +0200 Subject: [PATCH] Unfinalize all components --- .../Bundle/AdminBundle/Twig/Component/Channel/FormComponent.php | 2 +- .../Bundle/AdminBundle/Twig/Component/Country/FormComponent.php | 2 +- .../Twig/Component/Customer/OrderStatisticsComponent.php | 2 +- .../Twig/Component/Dashboard/NewCustomersComponent.php | 2 +- .../AdminBundle/Twig/Component/Dashboard/NewOrdersComponent.php | 2 +- .../Twig/Component/Dashboard/StatisticsComponent.php | 2 +- .../Twig/Component/Order/AddressHistoryComponent.php | 2 +- .../Bundle/AdminBundle/Twig/Component/Order/FormComponent.php | 2 +- .../AdminBundle/Twig/Component/PaymentMethod/FormComponent.php | 2 +- .../Component/Product/GenerateProductVariantsFormComponent.php | 2 +- .../Component/Product/ProductAttributeAutocompleteComponent.php | 2 +- .../AdminBundle/Twig/Component/Promotion/FormComponent.php | 2 +- .../Twig/Component/Shared/Navbar/NotificationsComponent.php | 2 +- .../Twig/Component/Shared/Navbar/UserDropdownComponent.php | 2 +- .../AdminBundle/Twig/Component/Shipment/ShipComponent.php | 2 +- .../AdminBundle/Twig/Component/ShippingMethod/FormComponent.php | 2 +- .../AdminBundle/Twig/Component/Taxon/TaxonTreeComponent.php | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/Sylius/Bundle/AdminBundle/Twig/Component/Channel/FormComponent.php b/src/Sylius/Bundle/AdminBundle/Twig/Component/Channel/FormComponent.php index 85216c9eae7..d10bd0a80c7 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/Component/Channel/FormComponent.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/Component/Channel/FormComponent.php @@ -23,7 +23,7 @@ use Symfony\UX\LiveComponent\DefaultActionTrait; #[AsLiveComponent] -final class FormComponent +class FormComponent { use DefaultActionTrait; use HookableLiveComponentTrait; diff --git a/src/Sylius/Bundle/AdminBundle/Twig/Component/Country/FormComponent.php b/src/Sylius/Bundle/AdminBundle/Twig/Component/Country/FormComponent.php index 52b510d6041..1c522600cd6 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/Component/Country/FormComponent.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/Component/Country/FormComponent.php @@ -23,7 +23,7 @@ use Symfony\UX\LiveComponent\LiveCollectionTrait; #[AsLiveComponent] -final class FormComponent +class FormComponent { use DefaultActionTrait; use HookableLiveComponentTrait; diff --git a/src/Sylius/Bundle/AdminBundle/Twig/Component/Customer/OrderStatisticsComponent.php b/src/Sylius/Bundle/AdminBundle/Twig/Component/Customer/OrderStatisticsComponent.php index e7dbe1658ac..d76acd6ff18 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/Component/Customer/OrderStatisticsComponent.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/Component/Customer/OrderStatisticsComponent.php @@ -24,7 +24,7 @@ use Symfony\UX\TwigComponent\Attribute\ExposeInTemplate; #[AsLiveComponent] -final class OrderStatisticsComponent +class OrderStatisticsComponent { use HookableLiveComponentTrait; use DefaultActionTrait; diff --git a/src/Sylius/Bundle/AdminBundle/Twig/Component/Dashboard/NewCustomersComponent.php b/src/Sylius/Bundle/AdminBundle/Twig/Component/Dashboard/NewCustomersComponent.php index a0a27fd1610..60d71399ba2 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/Component/Dashboard/NewCustomersComponent.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/Component/Dashboard/NewCustomersComponent.php @@ -17,7 +17,7 @@ use Sylius\Component\Core\Repository\CustomerRepositoryInterface; use Symfony\UX\TwigComponent\Attribute\ExposeInTemplate; -final class NewCustomersComponent +class NewCustomersComponent { public const DEFAULT_LIMIT = 5; diff --git a/src/Sylius/Bundle/AdminBundle/Twig/Component/Dashboard/NewOrdersComponent.php b/src/Sylius/Bundle/AdminBundle/Twig/Component/Dashboard/NewOrdersComponent.php index 44f16c46ff9..66fd7de2603 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/Component/Dashboard/NewOrdersComponent.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/Component/Dashboard/NewOrdersComponent.php @@ -17,7 +17,7 @@ use Sylius\Component\Core\Repository\OrderRepositoryInterface; use Symfony\UX\TwigComponent\Attribute\ExposeInTemplate; -final class NewOrdersComponent +class NewOrdersComponent { public const DEFAULT_LIMIT = 5; diff --git a/src/Sylius/Bundle/AdminBundle/Twig/Component/Dashboard/StatisticsComponent.php b/src/Sylius/Bundle/AdminBundle/Twig/Component/Dashboard/StatisticsComponent.php index ac349427d1f..a38ec3f44ce 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/Component/Dashboard/StatisticsComponent.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/Component/Dashboard/StatisticsComponent.php @@ -26,7 +26,7 @@ use Symfony\UX\TwigComponent\Attribute\ExposeInTemplate; #[AsLiveComponent] -final class StatisticsComponent +class StatisticsComponent { use ComponentToolsTrait; use DefaultActionTrait; diff --git a/src/Sylius/Bundle/AdminBundle/Twig/Component/Order/AddressHistoryComponent.php b/src/Sylius/Bundle/AdminBundle/Twig/Component/Order/AddressHistoryComponent.php index 0a01f7267c0..32a9822e690 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/Component/Order/AddressHistoryComponent.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/Component/Order/AddressHistoryComponent.php @@ -17,7 +17,7 @@ use Sylius\Component\Resource\Repository\RepositoryInterface; use Symfony\UX\TwigComponent\Attribute\ExposeInTemplate; -final class AddressHistoryComponent +class AddressHistoryComponent { public ?string $addressId = null; diff --git a/src/Sylius/Bundle/AdminBundle/Twig/Component/Order/FormComponent.php b/src/Sylius/Bundle/AdminBundle/Twig/Component/Order/FormComponent.php index 55b7bd87b2f..47100810334 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/Component/Order/FormComponent.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/Component/Order/FormComponent.php @@ -23,7 +23,7 @@ use Symfony\UX\LiveComponent\DefaultActionTrait; #[AsLiveComponent] -final class FormComponent +class FormComponent { use ComponentWithFormTrait; use DefaultActionTrait; diff --git a/src/Sylius/Bundle/AdminBundle/Twig/Component/PaymentMethod/FormComponent.php b/src/Sylius/Bundle/AdminBundle/Twig/Component/PaymentMethod/FormComponent.php index 38b514d0f18..d2094949bb3 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/Component/PaymentMethod/FormComponent.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/Component/PaymentMethod/FormComponent.php @@ -23,7 +23,7 @@ use Symfony\UX\LiveComponent\DefaultActionTrait; #[AsLiveComponent] -final class FormComponent +class FormComponent { use DefaultActionTrait; use HookableComponentTrait; diff --git a/src/Sylius/Bundle/AdminBundle/Twig/Component/Product/GenerateProductVariantsFormComponent.php b/src/Sylius/Bundle/AdminBundle/Twig/Component/Product/GenerateProductVariantsFormComponent.php index 0f0f7cff47a..8f0f62a54e2 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/Component/Product/GenerateProductVariantsFormComponent.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/Component/Product/GenerateProductVariantsFormComponent.php @@ -23,7 +23,7 @@ use Symfony\UX\LiveComponent\LiveCollectionTrait; #[AsLiveComponent] -final class GenerateProductVariantsFormComponent +class GenerateProductVariantsFormComponent { use DefaultActionTrait; use HookableLiveComponentTrait; diff --git a/src/Sylius/Bundle/AdminBundle/Twig/Component/Product/ProductAttributeAutocompleteComponent.php b/src/Sylius/Bundle/AdminBundle/Twig/Component/Product/ProductAttributeAutocompleteComponent.php index cf8aca762c0..a8d18e310bc 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/Component/Product/ProductAttributeAutocompleteComponent.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/Component/Product/ProductAttributeAutocompleteComponent.php @@ -19,7 +19,7 @@ use Symfony\UX\LiveComponent\DefaultActionTrait; use Symfony\UX\TwigComponent\Attribute\ExposeInTemplate; -final class ProductAttributeAutocompleteComponent +class ProductAttributeAutocompleteComponent { /** @var array */ #[LiveProp(writable: true, hydrateWith: 'hydrateSelectedAttributeCodes', dehydrateWith: 'dehydrateSelectedAttributeCodes', updateFromParent: true)] diff --git a/src/Sylius/Bundle/AdminBundle/Twig/Component/Promotion/FormComponent.php b/src/Sylius/Bundle/AdminBundle/Twig/Component/Promotion/FormComponent.php index 4971467a4ec..07c183115ee 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/Component/Promotion/FormComponent.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/Component/Promotion/FormComponent.php @@ -26,7 +26,7 @@ use Symfony\UX\LiveComponent\LiveCollectionTrait; #[AsLiveComponent] -final class FormComponent +class FormComponent { use DefaultActionTrait; use HookableLiveComponentTrait; diff --git a/src/Sylius/Bundle/AdminBundle/Twig/Component/Shared/Navbar/NotificationsComponent.php b/src/Sylius/Bundle/AdminBundle/Twig/Component/Shared/Navbar/NotificationsComponent.php index aeb382ce89c..b0b32c6a4d9 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/Component/Shared/Navbar/NotificationsComponent.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/Component/Shared/Navbar/NotificationsComponent.php @@ -15,7 +15,7 @@ use Symfony\UX\TwigComponent\Attribute\ExposeInTemplate; -final class NotificationsComponent +class NotificationsComponent { /** * @return array diff --git a/src/Sylius/Bundle/AdminBundle/Twig/Component/Shared/Navbar/UserDropdownComponent.php b/src/Sylius/Bundle/AdminBundle/Twig/Component/Shared/Navbar/UserDropdownComponent.php index e6038517c5e..81cfb269161 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/Component/Shared/Navbar/UserDropdownComponent.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/Component/Shared/Navbar/UserDropdownComponent.php @@ -19,7 +19,7 @@ use Symfony\Contracts\Translation\TranslatorInterface; use Symfony\UX\TwigComponent\Attribute\ExposeInTemplate; -final class UserDropdownComponent +class UserDropdownComponent { public function __construct( private UrlGeneratorInterface $urlGenerator, diff --git a/src/Sylius/Bundle/AdminBundle/Twig/Component/Shipment/ShipComponent.php b/src/Sylius/Bundle/AdminBundle/Twig/Component/Shipment/ShipComponent.php index ce0915a76a2..f5e4c087091 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/Component/Shipment/ShipComponent.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/Component/Shipment/ShipComponent.php @@ -23,7 +23,7 @@ use Symfony\UX\LiveComponent\DefaultActionTrait; #[AsLiveComponent] -final class ShipComponent +class ShipComponent { use DefaultActionTrait; use HookableLiveComponentTrait; diff --git a/src/Sylius/Bundle/AdminBundle/Twig/Component/ShippingMethod/FormComponent.php b/src/Sylius/Bundle/AdminBundle/Twig/Component/ShippingMethod/FormComponent.php index bb2ddd1d4f7..3a76685d379 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/Component/ShippingMethod/FormComponent.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/Component/ShippingMethod/FormComponent.php @@ -26,7 +26,7 @@ use Symfony\UX\LiveComponent\LiveCollectionTrait; #[AsLiveComponent] -final class FormComponent +class FormComponent { use DefaultActionTrait; use HookableLiveComponentTrait; diff --git a/src/Sylius/Bundle/AdminBundle/Twig/Component/Taxon/TaxonTreeComponent.php b/src/Sylius/Bundle/AdminBundle/Twig/Component/Taxon/TaxonTreeComponent.php index 9b74c580c30..1e91059e6b0 100644 --- a/src/Sylius/Bundle/AdminBundle/Twig/Component/Taxon/TaxonTreeComponent.php +++ b/src/Sylius/Bundle/AdminBundle/Twig/Component/Taxon/TaxonTreeComponent.php @@ -24,7 +24,7 @@ use Symfony\UX\TwigComponent\Attribute\ExposeInTemplate; #[AsLiveComponent] -final class TaxonTreeComponent +class TaxonTreeComponent { use DefaultActionTrait; use HookableLiveComponentTrait;