Skip to content

Commit

Permalink
chore!: remove feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
cyl3x committed Feb 10, 2025
1 parent efba05f commit 29f930b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 328 deletions.
7 changes: 0 additions & 7 deletions src/Resources/config/packages/feature.yaml

This file was deleted.

12 changes: 4 additions & 8 deletions src/Webhook/Registration/WebhookSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,9 @@ public function checkWebhookBefore(BeforeSystemConfigMultipleChangedEvent $event
return;
}

if (Feature::isActive('PAYPAL_SETTINGS_TWEAKS')) {
/** @var array<string, array<string, mixed>> $config */
$config = $event->getConfig();
$this->webhookSystemConfigHelper->checkWebhookBefore($config);
}
/** @var array<string, array<string, mixed>> $config */
$config = $event->getConfig();
$this->webhookSystemConfigHelper->checkWebhookBefore($config);
}

/**
Expand All @@ -92,8 +90,6 @@ public function checkWebhookAfter(SystemConfigMultipleChangedEvent $event): void
return;
}

if (Feature::isActive('PAYPAL_SETTINGS_TWEAKS')) {
$this->webhookSystemConfigHelper->checkWebhookAfter(\array_keys($event->getConfig()));
}
$this->webhookSystemConfigHelper->checkWebhookAfter(\array_keys($event->getConfig()));
}
}
313 changes: 0 additions & 313 deletions tests/Webhook/Registration/WebhookSystemConfigControllerTest.php

This file was deleted.

0 comments on commit 29f930b

Please sign in to comment.