Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Feb 9, 2021

Q A
Branch? 5.x
Bug fix? no
New feature? yes
Deprecations? no
Tickets Fix #40136, fix #39356
License MIT
Doc PR no need to

Leverages composer/composer#9682 to ignore dev-packages when configuring the container.

@nicolas-grekas nicolas-grekas force-pushed the composer-installed branch 3 times, most recently from 99c5694 to 3d6ec73 Compare February 9, 2021 15:33
@nicolas-grekas nicolas-grekas changed the title [DependencyInjection] Add ContainerBuilder::isInstalled() to help with conditional configuration [DependencyInjection] Add ContainerBuilder::isAvailable() to help with conditional configuration Feb 9, 2021
@nicolas-grekas nicolas-grekas force-pushed the composer-installed branch 2 times, most recently from 4d42dfe to bf4ca77 Compare February 9, 2021 15:45
@nicolas-grekas nicolas-grekas changed the title [DependencyInjection] Add ContainerBuilder::isAvailable() to help with conditional configuration [DependencyInjection] Add ContainerBuilder::willBeAvailable() to help with conditional configuration Feb 9, 2021
@nicolas-grekas
Copy link
Member Author

nicolas-grekas commented Feb 9, 2021

I renamed the method willBeAvailable() to hint that this is for checking the availability of symbols at runtime, not compile time.

@stof
Copy link
Member

stof commented Feb 9, 2021

that's indeed a good idea. But then, please check my review even if it is on an outdated diff due to the renaming.

@nicolas-grekas nicolas-grekas force-pushed the composer-installed branch 4 times, most recently from 54bc097 to 6288dca Compare February 10, 2021 09:38
@nicolas-grekas nicolas-grekas force-pushed the composer-installed branch 3 times, most recently from c8331fe to 5fdc1fc Compare February 16, 2021 10:55
@nicolas-grekas nicolas-grekas force-pushed the composer-installed branch 2 times, most recently from 60612a7 to 6f6e66f Compare February 18, 2021 10:41
@chalasr
Copy link
Member

chalasr commented Feb 24, 2021

Rebase needed

@nicolas-grekas nicolas-grekas merged commit 1849b57 into symfony:5.x Feb 25, 2021
@nicolas-grekas nicolas-grekas deleted the composer-installed branch February 25, 2021 16:14
@fabpot fabpot mentioned this pull request Apr 18, 2021
GuilhemN added a commit to nelmio/NelmioApiDocBundle that referenced this pull request Jun 7, 2021
wouterj added a commit to wouterj/WouterJEloquentBundle that referenced this pull request Jun 13, 2021
wouterj added a commit to wouterj/WouterJEloquentBundle that referenced this pull request Jun 13, 2021
GuilhemN added a commit to nelmio/NelmioApiDocBundle that referenced this pull request Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants