fix CS
add EventDiscriminator to re-dispatch events for the active user-system

This idea was originally proposed by GitHub user dramos
But this implementation uses less magic
Merge pull request #39 from rollerworks/events

This PR was merged into rollerworks:master branch.

Discussion
----------

Add discriminated events dispatcher

                     
|Q            |A    |
|---          |---  |
|Bug Fix?     |n    |
|New Feature? |y    |
|BC Breaks?   |n    |
|Deprecations?|n    |
|Tests Pass?  |n    |
|Fixed Tickets|GH-14|
|License      |MIT  |
|Doc PR       |     |
                     

The EventDiscriminator re-dispatches FOSUserBundle events for the current usersystem. This idea was originally proposed by @dramos. But this implementation uses less magic.

**Todo**

* [ ] Add tests
* [ ] Update documentation

Commits
-------

959a8f2f62da5fa507bdf56d90157004e0c18479 add EventDiscriminator to re-dispatch events for the active user-system

This idea was originally proposed by GitHub user dramos
But this implementation uses less magic sstok
fix broken tests
fix scrutinizer config, don't use dev packages as mongodb is not available
change .travis.yml to not use dev-master but a real version for symfony

Hopefully this fix the failing of composer
remove doctrine/mongodb-odm from composer.json

Only install in Travis and not in other CI envs as they fail
add support for working with the FOSUserBundle commands

This overwrites the existing commands and adds
the 'user-system' parameter as requirement
Merge pull request #40 from rollerworks/feat-command

This PR was merged into rollerworks:master branch.

Discussion
----------

Make the original FOSUserBundle commands work

                    
|Q            |A   |
|---          |--- |
|Bug Fix?     |no   |
|New Feature? |yes   |
|BC Breaks?   |no   |
|Deprecations?|no   |
|Tests Pass?  | not yet   |
|Fixed Tickets| GH-2 |
|License      | MIT |
                    

This adds support for working with the original FOSUserBundle commands.
This overwrites the existing commands and adds the 'user-system' parameter as requirement.

Commits
-------

cdaaee06acc76d673e383c0a64437627ef01edb0 add support for working with the FOSUserBundle commands

This overwrites the existing commands and adds
the 'user-system' parameter as requirement sstok
fix missing variable

fixes GH-41
Update README.md

add some code quality banners
don't inject the service_container but use an injector

In practice it wraps the access to the ServiceContainer
Merge branch 'feat-container-injector'
use a closure instead of global function in scripts/generate-events.php
fix the e-mail confirmation listener

This only will only sent an confirmation e-mail
when the user-system registering.confirmation.enabled is true
Merge pull request #42 from rollerworks/fix-email-confirm-listener

This PR was merged into rollerworks:master branch.

Discussion
----------

fix the e-mail confirmation listener

                           
|Q            |A          |
|---          |---        |
|Bug Fix?     |y          |
|New Feature? |n          |
|BC Breaks?   |n          |
|Deprecations?|n          |
|Tests Pass?  |y          |
|Fixed Tickets|GH-21 GH-22|
|License      |MIT        |
|Doc PR       |           |
                           

fixes the e-mail confirmation listener. This only will only sent an confirmation e-mail, when the user-system registering.confirmation.enabled is true

Commits
-------

ca653b6834e9e39159f2a9e547006616e8a7f3cc fix the e-mail confirmation listener

This only will only sent an confirmation e-mail
when the user-system registering.confirmation.enabled is true sstok
fixes coding rule, don't create a closure in a loop
adds configuring 'use_flash_notifications' for the FOSUserBundle

fixes GH-44
updates documentation
Update composer.json

use a stable package version for rollerworks/sf-container-injector