Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Commit

Permalink
Update symfony and fix deprecations (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
BjornTwachtmann authored May 23, 2019
1 parent ef03d44 commit 0991f80
Show file tree
Hide file tree
Showing 6 changed files with 937 additions and 286 deletions.
1 change: 0 additions & 1 deletion app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ framework:
# engines: ['twig']
# default_locale: "%locale%"
trusted_hosts: ~
trusted_proxies: ~
# session:
# # handler_id set to null will use default session handler from php.ini
# handler_id: session.handler.native_file
Expand Down
13 changes: 13 additions & 0 deletions app/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ services:
- { name: 'monolog.logger', channel: 'app_access' }

clifton.application_time:
public: true
class: DateTimeImmutable

pps.mapper_factory:
Expand All @@ -34,17 +35,20 @@ services:
- core_entity_inherit_master_brand: false

pps.service_factory:
public: true
class: BBC\ProgrammesPagesService\Service\ServiceFactory
arguments:
- '@doctrine.orm.default_entity_manager'
- '@pps.mapper_factory'
- '@pps.cache'

pps.atoz_titles_service:
public: true
class: BBC\ProgrammesPagesService\Service\AtozTitlesService
factory: [ '@pps.service_factory', 'getAtozTitlesService']

pps.broadcasts_service:
public: true
class: BBC\ProgrammesPagesService\Service\BroadcastsService
factory: [ '@pps.service_factory', 'getBroadcastsService']

Expand All @@ -56,37 +60,46 @@ services:
- 'clifton.%cosmos_component_release%'

pps.collapsed_broadcasts_service:
public: true
class: BBC\ProgrammesPagesService\Service\CollapsedBroadcastsService
factory: [ '@pps.service_factory', 'getCollapsedBroadcastsService']

pps.contributions_service:
public: true
class: BBC\ProgrammesPagesService\Service\ContributionsService
factory: [ '@pps.service_factory', 'getContributionsService']

pps.contributors_service:
public: true
class: BBC\ProgrammesPagesService\Service\ContributorsService
factory: [ '@pps.service_factory', 'getContributorsService']

pps.networks_service:
public: true
class: BBC\ProgrammesPagesService\Service\NetworksService
factory: [ '@pps.service_factory', 'getNetworksService']

pps.programmes_service:
public: true
class: BBC\ProgrammesPagesService\Service\ProgrammesService
factory: [ '@pps.service_factory', 'getProgrammesService']

pps.related_links_service:
public: true
class: BBC\ProgrammesPagesService\Service\RelatedLinksService
factory: [ '@pps.service_factory', 'getRelatedLinksService']

pps.segments_service:
public: true
class: BBC\ProgrammesPagesService\Service\SegmentsService
factory: [ '@pps.service_factory', 'getSegmentsService']

pps.segment_events_service:
public: true
class: BBC\ProgrammesPagesService\Service\SegmentEventsService
factory: [ '@pps.service_factory', 'getSegmentEventsService']

pps.versions_service:
public: true
class: BBC\ProgrammesPagesService\Service\VersionsService
factory: [ '@pps.service_factory', 'getVersionsService']
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
"aws/aws-sdk-php": "^3.0",
"bbc-rmp/cloudwatch-monitoringhandler": "^1.0",
"bbc/programmes-pages-service": "^10.0",
"doctrine/doctrine-bundle": "^1.6",
"doctrine/doctrine-bundle": "^1.8",
"doctrine/orm": "2.6.*",
"doctrine/doctrine-cache-bundle": "^1.2",
"doctrine/doctrine-fixtures-bundle": "~2.2",
"doctrine/orm": "^2.5",
"incenteev/composer-parameter-handler": "^2.0",
"sensio/distribution-bundle": "^5.0",
"stof/doctrine-extensions-bundle": "^1.2",
"symfony/monolog-bundle": "^3.0.1",
"symfony/symfony": "~3.2"
"symfony/symfony": "^3.4.27"
},
"require-dev": {
"escapestudios/symfony2-coding-standard": "~2.0",
Expand Down
Loading

0 comments on commit 0991f80

Please sign in to comment.