Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Replace deprecated templating.helper.assets with assets.packages service #791

Merged
merged 2 commits into from
Jan 27, 2017

Conversation

alongosz
Copy link
Member

Follow-up to EZP-26881 and #782

It turns out there's more to AssetsHelper issue than just unit test. I expected that but couldn't find any relevant info until I tried to compile Symfony 3 container for eZ Platform 2.0.

The @templating.helper.assets service has been deprecated and got removed in Symfony 3.x. It needs to be replaced with @assets.packages service.

TODO:

  • Replace usage of deprecated @templating.helper.assets service with @assets.packages service (31aef5a).
  • Quote %parameters% in Yaml as keeping them unquoted is deprecated since Symfony 3.x (e702486). // small fix, so I included it in the scope of this PR

@andrerom
Copy link
Contributor

Merging for testing with Sf 3.2, failure is ezrobot caused by upgrade of php-cs-fixer.

@andrerom andrerom merged commit a9c64de into ezsystems:master Jan 27, 2017
@alongosz alongosz deleted the refactor-assets-helper branch January 30, 2017 07:17
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants