Skip to content

Commit

Permalink
Correct paths (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
u01jmg3 authored Aug 24, 2023
1 parent e4a442e commit 6ad56d2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/sets/packages/cashier/cashier-13.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
2 changes: 1 addition & 1 deletion config/sets/packages/cashier/cashier-14.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
4 changes: 2 additions & 2 deletions src/Set/Packages/Cashier/CashierLevelSetList.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
4 changes: 2 additions & 2 deletions src/Set/Packages/Cashier/CashierSetList.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

0 comments on commit 6ad56d2

Please sign in to comment.