CloudBackupBundle icon indicating copy to clipboard operation
CloudBackupBundle copied to clipboard

Support sf 3.0

Open Nyholm opened this issue 10 years ago • 4 comments

It could be fun to try to support Symfony 3.0. Is this possible for the next major version?

Nyholm avatar Nov 09 '15 17:11 Nyholm

Is this bundle actually using outdated features to support sf3?

dizda avatar Nov 10 '15 07:11 dizda

I dont know. Part of resolving this issue is to investigate that and test run it with symfony 3

Nyholm avatar Nov 10 '15 07:11 Nyholm

Sure, let's give it a try

dizda avatar Nov 10 '15 07:11 dizda

For one, the services.yml config needs to be updated. The syntax to reference a service by name has changed to be valid YAML.

# Before
services:
    dizda.cloudbackup.manager.database:
        class: Dizda\CloudBackupBundle\Manager\DatabaseManager
        arguments:
          - @logger

# After, notice the last line
services:
    dizda.cloudbackup.manager.database:
        class: Dizda\CloudBackupBundle\Manager\DatabaseManager
        arguments:
          - '@logger'

marcaube avatar Jan 13 '16 00:01 marcaube