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

Add custom value provider for types #61

Merged

Conversation

frankdekker
Copy link
Member

@frankdekker frankdekker commented Sep 16, 2024

Methods that use a final class as setter/getter can't be mocked and hence fail when a value is trying to be provided. Add configuration option to allow a custom value provider based on class-string

@frankdekker frankdekker requested a review from a team as a code owner September 16, 2024 11:06
@frankdekker frankdekker requested a review from bram123 September 16, 2024 11:06
src/Constraint/ConstraintConfig.php Outdated Show resolved Hide resolved
src/Constraint/ConstraintConfig.php Outdated Show resolved Hide resolved
tests/Integration/AccessorPairAsserterTest.php Outdated Show resolved Hide resolved
@frankdekker frankdekker merged commit 973706c into 123inkt:master Sep 16, 2024
7 checks passed
@frankdekker frankdekker deleted the Add-custom-value-provider-for-types branch September 16, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants