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

Update composer.json to include version 4.0 for symfony libraries #137

Merged
merged 2 commits into from
Mar 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@
"email": "kkirk@undergroundelephant.com"
},
"require": {
"php": ">=5.4.0",
"php": ">=5.6.0",
"doctrine/common": "~2.4",
"symfony/dependency-injection": "~2.3|^3.0",
"symfony/dependency-injection": "~2.3|^3.0|^4.0",
"symfony/config": "~2.3|^3.0",
"symfony/http-kernel": "~2.3|^3.0",
"symfony/console": "~2.3|^3.0",
"symfony/monolog-bundle": "~2.3|^3.0"
"symfony/http-kernel": "~2.3|^3.0|^4.0",
"symfony/console": "~2.3|^3.0|^4.0",
"symfony/monolog-bundle": "~2.3|^3.0|^4.0"
},
"require-dev": {
"aws/aws-sdk-php": "~2.5",
"iron-io/iron_mq": "^4.0",
"symfony/finder": "~2.3|^3.0",
"symfony/filesystem": "~2.3|^3.0",
"symfony/finder": "~2.3|^3.0|^4.0",
"symfony/filesystem": "~2.3|^3.0|^4.0",
"symfony/phpunit-bridge": "^4.0",
"symfony/yaml": "~2.8|^3.0",
"symfony/yaml": "~2.8|^3.0|^4.0",
"doctrine/orm": "^2.4.8",
"stof/doctrine-extensions-bundle": "^1.2"
},
Expand Down
14 changes: 7 additions & 7 deletions src/Resources/config/parameters.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
parameters:
uecode_qpush.request_listener.priority: 254
uecode_qpush.request_listener.class: Uecode\Bundle\QPushBundle\EventListener\RequestListener
uecode_qpush.registry.class: Uecode\Bundle\QPushBundle\Provider\ProviderRegistry
uecode_qpush.provider.aws: Uecode\Bundle\QPushBundle\Provider\AwsProvider
uecode_qpush.provider.ironmq: Uecode\Bundle\QPushBundle\Provider\IronMqProvider
uecode_qpush.provider.sync: Uecode\Bundle\QPushBundle\Provider\SyncProvider
uecode_qpush.provider.custom: Uecode\Bundle\QPushBundle\Provider\CustomProvider
uecode_qpush.provider.file: Uecode\Bundle\QPushBundle\Provider\FileProvider
uecode_qpush.provider.doctrine: Uecode\Bundle\QPushBundle\Provider\DoctrineProvider
uecode_qpush.registry.class: Uecode\Bundle\QPushBundle\Provider\ProviderRegistry
uecode_qpush.provider.aws: Uecode\Bundle\QPushBundle\Provider\AwsProvider
uecode_qpush.provider.ironmq: Uecode\Bundle\QPushBundle\Provider\IronMqProvider
uecode_qpush.provider.sync: Uecode\Bundle\QPushBundle\Provider\SyncProvider
uecode_qpush.provider.custom: Uecode\Bundle\QPushBundle\Provider\CustomProvider
uecode_qpush.provider.file: Uecode\Bundle\QPushBundle\Provider\FileProvider
uecode_qpush.provider.doctrine: Uecode\Bundle\QPushBundle\Provider\DoctrineProvider
25 changes: 23 additions & 2 deletions src/Resources/config/services.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
### QPush Registry
uecode_qpush.registry:
class: '%uecode_qpush.registry.class%'
class: Uecode\Bundle\QPushBundle\Provider\ProviderRegistry
uecode_qpush:
alias: uecode_qpush.registry

Expand All @@ -13,8 +13,29 @@ services:

### QPush Event Listeners
uecode_qpush.request_listener:
class: '%uecode_qpush.request_listener.class%'
class: Uecode\Bundle\QPushBundle\EventListener\RequestListener
arguments:
- '@event_dispatcher'
tags:
- { name: kernel.event_listener, event: kernel.request, priority: '%uecode_qpush.request_listener.priority%' }

### QPush Commands
uecode_qpush.build_command:
class: Uecode\Bundle\QPushBundle\Command\QueueBuildCommand
tags:
- { name: console.command }

uecode_qpush.destroy_command:
class: Uecode\Bundle\QPushBundle\Command\QueueDestroyCommand
tags:
- { name: console.command }

uecode_qpush.publish_command:
class: Uecode\Bundle\QPushBundle\Command\QueuePublishCommand
tags:
- { name: console.command }

uecode_qpush.receive_command:
class: Uecode\Bundle\QPushBundle\Command\QueueReceiveCommand
tags:
- { name: console.command }