Rasanga / FlashAlertBundle

Simplified way to handle (add/display) Symfony flash messages. Client side scripts are written in pure JavaScript. https://packagist.org/packages/ras/flash-alert-bundle
http://rasanga.github.io/FlashAlertBundle
MIT License
23 stars 8 forks source link

Doesn't work with Symfony 3.3 #19

Open edinchev opened 7 years ago

edinchev commented 7 years ago

The services.yml files doesn't allow key'd arguments in the latest version of symfony (3.3)

Example:

Broken: services: ras_flash_alert.alert_reporter: class: Ras\Bundle\FlashAlertBundle\Model\AlertReporter arguments: alertManager: "@ras_flash_alert.alert_manager"

Fixed services: ras_flash_alert.alert_reporter: class: Ras\Bundle\FlashAlertBundle\Model\AlertReporter arguments: ["@ras_flash_alert.alert_manager"]

Since this repo doesn't seem to be maintained anymore I forked the repo and made the fix there. (Also added fix to twig deprecation error from other issue reported)

https://github.com/edinchev/FlashAlertBundle