Skip to content

Conversation

@xabbuh
Copy link
Member

@xabbuh xabbuh commented Sep 19, 2025

Q A
Branch? 7.4
Bug fix? no
New feature? no
Deprecations? yes
Issues see #61617 (comment)
License MIT

@xabbuh
Copy link
Member Author

xabbuh commented Sep 19, 2025

the failures look related

Status: Needs Work

Copy link
Member

@GromNaN GromNaN left a comment

Choose a reason for hiding this comment

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

Could you also add tests for the deprecated feature?

@xabbuh xabbuh force-pushed the pr-61617 branch 2 times, most recently from 53ed983 to f6a14b0 Compare September 24, 2025 11:41
@xabbuh
Copy link
Member Author

xabbuh commented Sep 24, 2025

@GromNaN done

callback: [Symfony\Component\Validator\Tests\Fixtures\CallbackClass, callback]
```
After:
Copy link
Member

Choose a reason for hiding this comment

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

before /after are inverted, isn't it?

UPGRADE-7.4.md Outdated

```xml
<class name="Symfony\Component\Validator\Tests\Fixtures\NestedAttribute\Entity">
<option name="callback">
Copy link
Member

Choose a reason for hiding this comment

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

This is missing the <constraint name="Callback"> tag

UPGRADE-7.4.md Outdated
```yaml
Symfony\Component\Validator\Tests\Fixtures\NestedAttribute\Entity:
constraints:
- Callback: validateMeStatic
Copy link
Member

Choose a reason for hiding this comment

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

this is swapping the before and after cases


```xml
<class name="Symfony\Component\Validator\Tests\Fixtures\NestedAttribute\Entity">
<option name="callback">
Copy link
Member

Choose a reason for hiding this comment

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

This is missing the <constraint name="Callback"> tag

@xabbuh
Copy link
Member Author

xabbuh commented Sep 24, 2025

changelog and upgrade file fixed

@nicolas-grekas
Copy link
Member

Thank you @xabbuh.

@nicolas-grekas nicolas-grekas merged commit ce54488 into symfony:7.4 Sep 24, 2025
11 of 12 checks passed
@xabbuh xabbuh deleted the pr-61617 branch September 24, 2025 17:29
This was referenced Oct 27, 2025
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.

5 participants