Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: update base enum class with forked version from myclabs #7383

Merged
merged 10 commits into from
Oct 15, 2024
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"paypal/paypal-checkout-sdk": "^1.0",
"kjohnson/format-object-list": "^0.1.0",
"fakerphp/faker": "^1.9",
"myclabs/php-enum": "^1.6",
"symfony/http-foundation": "^v3.4.47",
"moneyphp/money": "v3.3.1",
"stellarwp/field-conditions": "^1.1",
Expand Down
68 changes: 5 additions & 63 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Donations/ValueObjects/DonationMode.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Give\Donations\ValueObjects;

use MyCLabs\Enum\Enum;
use Give\Framework\Support\ValueObjects\Enum;

/**
* @since 2.19.6
Expand Down
8 changes: 4 additions & 4 deletions src/Donors/ValueObjects/DonorMetaKeys.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
/**
* @since 2.19.6
*
* @method static FIRST_NAME()
* @method static LAST_NAME()
* @method static ADDITIONAL_EMAILS()
* @method static PREFIX()
* @method static DonorMetaKeys FIRST_NAME()
* @method static DonorMetaKeys LAST_NAME()
* @method static DonorMetaKeys ADDITIONAL_EMAILS()
* @method static DonorMetaKeys PREFIX()
*/
class DonorMetaKeys extends Enum
{
Expand Down
10 changes: 5 additions & 5 deletions src/Framework/Models/ValueObjects/Relationship.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
*
* @since 2.19.6
*
* @method static HAS_ONE();
* @method static HAS_MANY();
* @method static MANY_TO_MANY();
* @method static BELONGS_TO();
* @method static BELONGS_TO_MANY();
* @method static Relationship HAS_ONE();
* @method static Relationship HAS_MANY();
* @method static Relationship MANY_TO_MANY();
* @method static Relationship BELONGS_TO();
* @method static Relationship BELONGS_TO_MANY();
*/
class Relationship extends Enum
{
Expand Down
Loading
Loading