Skip to content


Subversion checkout URL

You can clone with
Download ZIP
An extension to Symfony2 FrameworkBundle that adds annotation configuration for Controller classes

bug #366 Fix a BC notice when route path is empty in sf 2.7 (iltar)

This PR was merged into the 3.0.x-dev branch.


Fix a BC notice when route path is empty in sf 2.7

This PR fixes Issue #364 via the suggestion of @weaverryan. When `@Route(service="app.test")` is called, Symfony 2.7 will trigger a deprecation notice because it has no `path`, which in turns calls a deprecated getter after that. Now `setService` will call `setPath` if it wasn't set yet and fill it with an empty string to avoid the getter from being called.


0558fbd Fix a BC notice when path is empty in sf2.7
latest commit 28265b487c
@fabpot fabpot authored


This bundle provides a way to configure your controllers with annotations.

Read about it on its official homepage.

As of v3.0.0 of the bundle, the release cycle is de-synchronized from the framework's. It means you can just require "sensio/framework-extra-bundle": "~3.0" in your composer.json and Composer will automatically pick the latest version of the bundle that works with your current version of Symfony. The minimum version of Symfony2 for this workflow is 2.3.

Something went wrong with that request. Please try again.