-
Notifications
You must be signed in to change notification settings - Fork 141
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
Update AppKernel.php #114
base: master
Are you sure you want to change the base?
Update AppKernel.php #114
Conversation
you need to update the testsuite to make it use the namespaced kernel though |
*/ | ||
protected static function getKernelClass() | ||
{ | ||
require_once __DIR__.'/../app/AppKernel.php'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
even better: configure the autoload_dev
in composer.json to be able to autoload this class (I think it is even already able to do it), making this requiring useless
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is even already able to do it
Seems to be true.
My local tests passed:
Test fails at travis in PHP 5.3 🤔 , seems to be the same behavior in master? |
@liuggio review please |
@Aliance thanks a lot! the problem is on “[“ on <5.4 PHP version :( |
@liuggio did you have enough time to watch out the problem? |
@liuggio hello. Sorry for being annoying but may be merge this pr? |
Sorry for the delay but this needs a major version, and this is not a killer feature :( |
@liuggio any news? |
@liuggio why does it need a major version ? This changes a class in the testsuite fixtures. This class is not autoloadable when using the bundle in projects. |
Without namespace IDE throws an error of duplicated class: