Skip to content
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

DIC: Use of "RequestStack" instead "Request" (Symfony 2.4) #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

DIC: Use of "RequestStack" instead "Request" (Symfony 2.4) #10

wants to merge 3 commits into from

Conversation

grizzlylab
Copy link

  • Do not use the scope "request" anymore.
  • Use "RequestStack" instead "Request" in AkismetReal.php.
  • Update composer.json to require Symfony 2.4.

 * Do not use the scope "request" anymore.
 * Use "RequestStack" instead "Request" in AkismetReal.php.
- Update composer.json to require Symfony 2.4.
"kriswallsmith/buzz" : "*"

"kriswallsmith/buzz" : "*",
"symfony/symfony": "2.4.*"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not 2.4.* but ~2.4 to allow newer versions (2.5 for instance).

And requiring symfony/symfony forbids people to install components and bundles they need only instead of the fullstack framework. Ideally, only projects should depend on symfony/symfony. Reusable packages should require the individual packages, to keep the flexikility for projects

@stof
Copy link

stof commented May 15, 2014

It would be better to keep the support of the 2.3 LTS in the bundle too.

@grizzlylab
Copy link
Author

About Symfony 2.3 LTS, Ornicar should set two branches (one for 2.3 LTS and one dev-master for ~2.4) right ?

@stof
Copy link

stof commented May 15, 2014

Well, maintaining 2 branches of a bundle is more work. Given that @ornicar is not really active in the PHP community anymore, it would be a bad setup to double the maintenance work by dealing with 2 maintained branches.

It is possible to support both 2.3 and 2.4 at the same time in the code here (Symfony itself does it in some listeners)

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

Successfully merging this pull request may close these issues.

2 participants