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

[FrameworkBundle][Lock] Allow to disable lock without defining a resource #48119

Merged
merged 1 commit into from Nov 5, 2022

Conversation

MatTheCat
Copy link
Contributor

@MatTheCat MatTheCat commented Nov 5, 2022

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets N/A
License MIT
Doc PR N/A

While answering #48115 I noticed a resource is mandatory in lock’s configuration even if it’s disabled because of requiresAtLeastOneElement. I replaced it with a validation rule which takes enabled into account.

@carsonbot
Copy link

carsonbot commented Nov 5, 2022

Hey!

Thanks for your PR. You are targeting branch "6.2" but it seems your PR description refers to branch "4.4".
Could you update the PR description or change target branch? This helps core maintainers a lot.

Cheers!

Carsonbot

@MatTheCat MatTheCat changed the base branch from 6.2 to 4.4 Nov 5, 2022
@nicolas-grekas
Copy link
Member

nicolas-grekas commented Nov 5, 2022

Good catch, thanks @MatTheCat.

@nicolas-grekas nicolas-grekas merged commit 5548611 into symfony:4.4 Nov 5, 2022
10 checks passed
@MatTheCat MatTheCat deleted the disable_lock branch Nov 5, 2022
@fabpot fabpot mentioned this pull request Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants