From 6ad56d23f2bc3abe1f611d277f1434cb26d580c8 Mon Sep 17 00:00:00 2001 From: Jonathan Goode Date: Thu, 24 Aug 2023 04:44:44 +0100 Subject: [PATCH] Correct paths (#131) --- config/sets/packages/cashier/cashier-13.php | 2 +- config/sets/packages/cashier/cashier-14.php | 2 +- src/Set/Packages/Cashier/CashierLevelSetList.php | 4 ++-- src/Set/Packages/Cashier/CashierSetList.php | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/sets/packages/cashier/cashier-13.php b/config/sets/packages/cashier/cashier-13.php index 04c91758..e6a2c14f 100644 --- a/config/sets/packages/cashier/cashier-13.php +++ b/config/sets/packages/cashier/cashier-13.php @@ -9,7 +9,7 @@ # see https://github.com/laravel/cashier-stripe/blob/master/UPGRADE.md#upgrading-to-130-from-12x return static function (RectorConfig $rectorConfig): void { - $rectorConfig->import(__DIR__ . '/../config.php'); + $rectorConfig->import(__DIR__ . '/../../../config.php'); $rectorConfig->ruleWithConfiguration(RenameMethodRector::class, [ new MethodCallRename('Laravel\Cashier\Billable', 'subscribedToPlan', 'subscribedToPrice'), diff --git a/config/sets/packages/cashier/cashier-14.php b/config/sets/packages/cashier/cashier-14.php index ad1e98a6..cdeccbd9 100644 --- a/config/sets/packages/cashier/cashier-14.php +++ b/config/sets/packages/cashier/cashier-14.php @@ -8,7 +8,7 @@ # see https://github.com/laravel/cashier-stripe/blob/master/UPGRADE.md#upgrading-to-140-from-13x return static function (RectorConfig $rectorConfig): void { - $rectorConfig->import(__DIR__ . '/../config.php'); + $rectorConfig->import(__DIR__ . '/../../../config.php'); $rectorConfig->ruleWithConfiguration(RenameMethodRector::class, [ new MethodCallRename('Laravel\Cashier\Billable', 'removePaymentMethod', 'deletePaymentMethod'), diff --git a/src/Set/Packages/Cashier/CashierLevelSetList.php b/src/Set/Packages/Cashier/CashierLevelSetList.php index 0f3bb9fb..b2fa4ee1 100644 --- a/src/Set/Packages/Cashier/CashierLevelSetList.php +++ b/src/Set/Packages/Cashier/CashierLevelSetList.php @@ -11,10 +11,10 @@ final class CashierLevelSetList implements SetListInterface /** * @var string */ - final public const UP_TO_LARAVEL_CASHIER_130 = __DIR__ . '/../../config/sets/packages/cashier/level/up-to-cashier-13.php'; + final public const UP_TO_LARAVEL_CASHIER_130 = __DIR__ . '/../../../../config/sets/packages/cashier/level/up-to-cashier-13.php'; /** * @var string */ - final public const UP_TO_LARAVEL_CASHIER_140 = __DIR__ . '/../../config/sets/packages/cashier/level/up-to-cashier-14.php'; + final public const UP_TO_LARAVEL_CASHIER_140 = __DIR__ . '/../../../../config/sets/packages/cashier/level/up-to-cashier-14.php'; } diff --git a/src/Set/Packages/Cashier/CashierSetList.php b/src/Set/Packages/Cashier/CashierSetList.php index 2b450af3..ca727341 100644 --- a/src/Set/Packages/Cashier/CashierSetList.php +++ b/src/Set/Packages/Cashier/CashierSetList.php @@ -11,10 +11,10 @@ final class CashierSetList implements SetListInterface /** * @var string */ - final public const LARAVEL_CASHIER_130 = __DIR__ . '/../../config/sets/packages/cashier/cashier-13.php'; + final public const LARAVEL_CASHIER_130 = __DIR__ . '/../../../../config/sets/packages/cashier/cashier-13.php'; /** * @var string */ - final public const LARAVEL_CASHIER_140 = __DIR__ . '/../../config/sets/packages/cashier/cashier-14.php'; + final public const LARAVEL_CASHIER_140 = __DIR__ . '/../../../../config/sets/packages/cashier/cashier-14.php'; }