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

[CustomerBundle][Customer] Introduce Customer component and CustomerBundle #5547

Merged
merged 25 commits into from
Jul 29, 2016

Conversation

tuka217
Copy link
Contributor

@tuka217 tuka217 commented Jul 20, 2016

Q A
Bug fix? no
New feature? yes
BC breaks? yes
Related tickets -
License MIT

CHANGELOG
=========

### v0.19.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're v1.0.0-alpha.1 now 😉

@pjedrzejewski pjedrzejewski added the BC Break PRs introducing BC breaks (do not even try to merge). label Jul 20, 2016
MIT License
-----------

License can be found [here](https://github.com/Sylius/User/blob/master/LICENSE).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

User->Customer

@@ -13,6 +13,7 @@

use Doctrine\Common\Collections\ArrayCollection;
use Sylius\Component\Customer\Model\Customer as BaseCustomer;
use Sylius\Component\User\Model\UserAwareInterface;
Copy link
Contributor

@michalmarcinkowski michalmarcinkowski Jul 20, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not used here.

@tuka217 tuka217 force-pushed the customer-user branch 8 times, most recently from e405e03 to b9cd59b Compare July 22, 2016 08:02
@@ -20,7 +20,7 @@ letters. Example usage:
// directory, relative to this file
require_once __DIR__.'/../vendor/autoload.php';

use Sylius\Component\User\Model\Customer;
use Sylius\Component\Customer\Model\Customer;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no Customer in User component anymore, so we should update the whole snippet and use only User :)

tuka217 and others added 22 commits July 29, 2016 13:10
…ion and CustomerRegistration type to Core with all related classes from CustomerBundle and UserBundle
…fix services.xml in UserBundle and CustomerBundle
[UserBundle] Move function which has connection between user and customer to core UserRepository
[Core] Add reference to customer component in composer
[UserBundle] Remove CanonicalizerListener, CustomerAwareListener, remove core connnections
[CustomerBundle] Add missing reference to doctrine/orm in composer, add CustomerAwareListener
[CoreBundle] Add PasswordUpdaterListener, UserRegistrationListener
@tuka217 tuka217 force-pushed the customer-user branch 2 times, most recently from 8c8a083 to 2c44817 Compare July 29, 2016 11:14
[CustomerBundle] remove CustomerAwareListener
@michalmarcinkowski michalmarcinkowski merged commit f952223 into Sylius:master Jul 29, 2016
@michalmarcinkowski
Copy link
Contributor

Great job Ania! 👍


$container
->getDefinition('sylius.listener.password_updater')
->setClass('Sylius\Bundle\CoreBundle\EventListener\PasswordUpdaterListener');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not be hardcoded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BC Break PRs introducing BC breaks (do not even try to merge).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants