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

Honor bundles configuration in controller injectors warmer #270

Merged
merged 1 commit into from
Sep 27, 2017
Merged

Honor bundles configuration in controller injectors warmer #270

merged 1 commit into from
Sep 27, 2017

Conversation

gremo
Copy link
Contributor

@gremo gremo commented Jan 26, 2017

This should solve #269 and #248.

@greg0ire
Copy link
Contributor

ping @GuilhemN please review

@GuilhemN
Copy link
Collaborator

Sorry I won't have the time to review this. Please do and if you approve it, I'll merge it.

KernelInterface $kernel,
ControllerResolver $resolver,
array $blackListedControllerFiles,
$scanAllBundles,
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be optional and default to true

ControllerResolver $resolver,
array $blackListedControllerFiles,
$scanAllBundles,
array $scanBundles
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be optional and default to array(). That way, the constructor is still callable like it was before.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm going to push the changes. Out of curiosity, why provinding default values just to make the constructor callable like before? Service is created and managed by Symfony DI, so why bother?

Copy link
Contributor

Choose a reason for hiding this comment

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

Because who knows who might use it without sf DI?

@greg0ire
Copy link
Contributor

LGTM @GuilhemN

@OskarStark
Copy link

Travis failed 😢

@greg0ire
Copy link
Contributor

@OskarStark it failed before and is apparently not a blocker.

@gremo
Copy link
Contributor Author

gremo commented Sep 27, 2017

Is there something I can do to get this merged?

@greg0ire
Copy link
Contributor

Pray your god and/or @GuilhemN

@GuilhemN
Copy link
Collaborator

Travis failed 😢

Yes, we have to fix them but i'm lacking time...

Pray your god and/or @GuilhemN

Ahah 😄 I'd be glad to you as collaborator since I can't put much time in this repository but unfortunately I don't have the admin rights 😕

@GuilhemN GuilhemN merged commit 55c3f87 into schmittjoh:master Sep 27, 2017
@GuilhemN
Copy link
Collaborator

Thank you @gremo and @greg0ire !

@OskarStark
Copy link

@GuilhemN can you create a release?

@greg0ire
Copy link
Contributor

I don't know much about this bundle or even use it, but that should not stop me from providing some help if you so desperately need it :) I'll try to have a look at pending PRs

@greg0ire
Copy link
Contributor

Please don't tag yet, this seems to be buggy: #287

@GuilhemN
Copy link
Collaborator

I don't know much about this bundle or even use it, but that should not stop me from providing some help if you so desperately need it :) I'll try to have a look at pending PRs

I'm in a french "prépa" since the beginning of the month so I'm really running out of time 😄 thanks for taking care of this bundle, but of course don't feel forced to do anything ☺

@schmittjoh could you add @greg0ire as collaborator please?

@greg0ire
Copy link
Contributor

I'm in a french "prépa"

I went through that myself! See you in 2 / 3 years then I guess :P
Good luck with it!

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.

4 participants