services:
    endroid_google_analytics.twig.extension:
        class: Endroid\Bundle\GoogleAnalyticsBundle\Twig\Extension\GoogleAnalyticsExtension
        calls:
            - [ setContainer, [ @service_container ] ]
        tags:
            - { name: twig.extension }

services:
    endroid_google_analytics.twig.extension:
        class: Endroid\Bundle\GoogleAnalyticsBundle\Twig\Extension\GoogleAnalyticsExtension
        calls:
            - [ setContainer, [ '@service_container' ] ]
        tags:
            - { name: twig.extension }

Add quotes to service name
Add quotes to service name
