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

Adding support for Silex 2 #55

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

Conversation

beryllium
Copy link

Added Silex 2 support so I can bump OpenCFP up to Silex 2 (now that it's officially out). Also added phpunit to the composer.json (just because that's my preferred way to invoke it - I can back that out if that would be better). This does break Silex 1.0 compatibility, so it would probably be a good idea to bump the tag to 2.0 once committed. Resolves issue #54

beryllium added 4 commits June 4, 2016 11:26
…ntents before parsing; passing a filename is being deprecated
…gistered as a syntax error, which ConfigServiceProvider users won't be expecting and likely won't be concerned about.
@beryllium
Copy link
Author

Just an FYI: This also removes support for PHP 5.3 and 5.4

@stevelacey
Copy link

Seems to do the job for me 👍

@@ -11,8 +11,9 @@

namespace Igorw\Silex;

use Pimple\Container;
use Pimple\ServiceProviderInterface;
use Silex\Application;
Copy link

@chuanma chuanma Oct 19, 2016

Choose a reason for hiding this comment

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

I think we shouldn't depend on Silex\Application anymore. Note Silex\Application extends Pimple\Container.

We should remove this line and update any reference to ``Silex\Application`.

Also Pimple\ServiceProviderInterface doesn't define a boot() method. So should we also remove that method?

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.

3 participants