Skip to content

Parse error: syntax error, unexpected T_DOUBLE_ARROW #86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Chrysweel opened this issue Oct 9, 2012 · 3 comments
Closed

Parse error: syntax error, unexpected T_DOUBLE_ARROW #86

Chrysweel opened this issue Oct 9, 2012 · 3 comments

Comments

@Chrysweel
Copy link

I think that there is an internal error in the Bundle.

When I do : Composer Update
I get the following error:

PHP Parse error: syntax error, unexpected T_DOUBLE_ARROW in /var/www/workspace/sdfs2.0/vendor/avalanche123/imagine-bundle/Avalanche/Bundle/ImagineBundle/Controller/ImagineController.php on line 136

Parse error: syntax error, unexpected T_DOUBLE_ARROW in /var/www/workspace/sdfs2.0/vendor/avalanche123/imagine-bundle/Avalanche/Bundle/ImagineBundle/Controller/ImagineController.php on line 136

In my composer.json I have:

"require": {
    "symfony/framework-standard-edition": "2.1.*",
    "friendsofsymfony/facebook-bundle": "dev-master",
    "friendsofsymfony/user-bundle" : "*",
    "friendsofsymfony/comment-bundle" : "2.0.x",
    "friendsofsymfony/rest-bundle" : "dev-master",
    "jms/serializer-bundle": "0.9.0",
    "sonata-project/admin-bundle" : "dev-master",
    "sonata-project/doctrine-orm-admin-bundle" : "dev-master",    
    "sonata-project/user-bundle" : "dev-master",
    "knplabs/knp-paginator-bundle" : "dev-master",
    "avalanche123/imagine-bundle" : "dev-master",
    "sensio/distribution-bundle": "2.1.*",
        "sensio/framework-extra-bundle": "2.1.*",
        "sensio/generator-bundle": "2.1.*",
        "jms/security-extra-bundle": "1.2.*",
        "jms/di-extra-bundle": "1.1.*"

},
"scripts": {
    "post-install-cmd": [
       "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
       "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
       "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
       "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
    ],
    "post-update-cmd": [
       "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
       "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
       "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
       "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
    ]
},
"minimum-stability": "dev"
}

And in my appKernerl:

public function registerBundles()
    {
        $bundles = array(
        .....
        new Avalanche\Bundle\ImagineBundle\AvalancheImagineBundle(),

@ZhukV
Copy link

ZhukV commented Oct 9, 2012

Please fix BUG after update!

@lutzportela
Copy link

duplicate #85

@avalanche123
Copy link
Owner

fixed in #84

Bluestart83 pushed a commit to Bluestart83/AvalancheImagineBundle that referenced this issue Jun 10, 2013
…eneration

ensure that hardcoded filter formats are applied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants