From 3be0907f47afbd7697db68b20837656f7d790a5e Mon Sep 17 00:00:00 2001 From: Roland Franssen Date: Wed, 27 Mar 2019 14:34:22 +0100 Subject: [PATCH] update msgphp bundles to 0.10 --- .../{0.2 => 0.10}/config/packages/msgphp_eav.php | 7 ++++--- msgphp/eav-bundle/{0.2 => 0.10}/manifest.json | 0 .../src/Entity/Eav => 0.10/src/Entity}/Attribute.php | 10 +++++----- .../Entity/Eav => 0.10/src/Entity}/AttributeValue.php | 10 +++++----- .../{0.6 => 0.10}/config/packages/msgphp_user.php | 2 +- msgphp/user-bundle/{0.6 => 0.10}/manifest.json | 0 msgphp/user-bundle/{0.6 => 0.10}/post-install.txt | 0 .../{0.6/src/Entity/User => 0.10/src/Entity}/User.php | 8 ++++---- 8 files changed, 19 insertions(+), 18 deletions(-) rename msgphp/eav-bundle/{0.2 => 0.10}/config/packages/msgphp_eav.php (55%) rename msgphp/eav-bundle/{0.2 => 0.10}/manifest.json (100%) rename msgphp/eav-bundle/{0.2/src/Entity/Eav => 0.10/src/Entity}/Attribute.php (57%) rename msgphp/eav-bundle/{0.2/src/Entity/Eav => 0.10/src/Entity}/AttributeValue.php (56%) rename msgphp/user-bundle/{0.6 => 0.10}/config/packages/msgphp_user.php (91%) rename msgphp/user-bundle/{0.6 => 0.10}/manifest.json (100%) rename msgphp/user-bundle/{0.6 => 0.10}/post-install.txt (100%) rename msgphp/user-bundle/{0.6/src/Entity/User => 0.10/src/Entity}/User.php (64%) diff --git a/msgphp/eav-bundle/0.2/config/packages/msgphp_eav.php b/msgphp/eav-bundle/0.10/config/packages/msgphp_eav.php similarity index 55% rename from msgphp/eav-bundle/0.2/config/packages/msgphp_eav.php rename to msgphp/eav-bundle/0.10/config/packages/msgphp_eav.php index 7af6ad69..7ff6ab19 100644 --- a/msgphp/eav-bundle/0.2/config/packages/msgphp_eav.php +++ b/msgphp/eav-bundle/0.10/config/packages/msgphp_eav.php @@ -1,13 +1,14 @@ extension('msgphp_eav', [ 'class_mapping' => [ - Attribute::class => \App\Entity\Eav\Attribute::class, - AttributeValue::class => \App\Entity\Eav\AttributeValue::class, + Attribute::class => \App\Entity\Attribute::class, + AttributeValue::class => \App\Entity\AttributeValue::class, ], ]); }; diff --git a/msgphp/eav-bundle/0.2/manifest.json b/msgphp/eav-bundle/0.10/manifest.json similarity index 100% rename from msgphp/eav-bundle/0.2/manifest.json rename to msgphp/eav-bundle/0.10/manifest.json diff --git a/msgphp/eav-bundle/0.2/src/Entity/Eav/Attribute.php b/msgphp/eav-bundle/0.10/src/Entity/Attribute.php similarity index 57% rename from msgphp/eav-bundle/0.2/src/Entity/Eav/Attribute.php rename to msgphp/eav-bundle/0.10/src/Entity/Attribute.php index 6fd4a6e7..11520cfb 100644 --- a/msgphp/eav-bundle/0.2/src/Entity/Eav/Attribute.php +++ b/msgphp/eav-bundle/0.10/src/Entity/Attribute.php @@ -1,10 +1,10 @@ id = $id; } - public function getId(): AttributeIdInterface + public function getId(): AttributeId { return $this->id; } diff --git a/msgphp/eav-bundle/0.2/src/Entity/Eav/AttributeValue.php b/msgphp/eav-bundle/0.10/src/Entity/AttributeValue.php similarity index 56% rename from msgphp/eav-bundle/0.2/src/Entity/Eav/AttributeValue.php rename to msgphp/eav-bundle/0.10/src/Entity/AttributeValue.php index 2534e028..4ab70f8b 100644 --- a/msgphp/eav-bundle/0.2/src/Entity/Eav/AttributeValue.php +++ b/msgphp/eav-bundle/0.10/src/Entity/AttributeValue.php @@ -1,10 +1,10 @@ id = $id; } - public function getId(): AttributeValueIdInterface + public function getId(): AttributeValueId { return $this->id; } diff --git a/msgphp/user-bundle/0.6/config/packages/msgphp_user.php b/msgphp/user-bundle/0.10/config/packages/msgphp_user.php similarity index 91% rename from msgphp/user-bundle/0.6/config/packages/msgphp_user.php rename to msgphp/user-bundle/0.10/config/packages/msgphp_user.php index e1f3f0bc..5fc58ec8 100644 --- a/msgphp/user-bundle/0.6/config/packages/msgphp_user.php +++ b/msgphp/user-bundle/0.10/config/packages/msgphp_user.php @@ -1,6 +1,6 @@ id = $id; } - public function getId(): UserIdInterface + public function getId(): UserId { return $this->id; }