Closed grizzlylab closed 3 years ago
@TomasVotruba Hi this PR intends to resolve the issue (https://github.com/KnpLabs/DoctrineBehaviors/issues/558) when we create an Entity being validated by the validator service of Symfony. Our object/entity has still no date, so we get the error "get null instead DateTimeInterface".
You will notice that I had a strange behavior when executing "composer fix-cs" as recommended in your 3 steps contribution section (README.md) : all classes where prefixed with final which leads to break this bundle. The only thing I found to make the pipeline pass is to disable the FinalClassFixer which is probably not a good thing.
Can you help me for this ?
Hi, thanks for the PR! Looks good :+1:
The only thing I found to make the pipeline pass is to disable the FinalClassFixer which is probably not a good thing.
This rule is now deprecated, so it can be removed from ecs.php
We handle this use case by Rector in better way.
@TomasVotruba I removed the parameter from ecs.php. Is it ok to be merged ? Do you prefer one or two commits ?
Looks good to me, thank you 😊
Time for a new release? :)
To fix this issue : https://github.com/KnpLabs/DoctrineBehaviors/issues/558