Commit d8ac787
committed
minor symfony#61649 [DependencyInjection][Validator] Remove needless code (nicolas-grekas)
This PR was merged into the 7.4 branch.
Discussion
----------
[DependencyInjection][Validator] Remove needless code
| Q | A
| ------------- | ---
| Branch? | 7.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues | -
| License | MIT
I added the attribute in the validator component in symfony@0197b50#diff-eadef5e494fbfb85346e70992f4b18994df0b999b7d336c9cece5ab9e9a4a18aR30
But I didn't realize this was required because of falsy logic in AttributeAutoconfigurationPass, which we can remove. It's the engine's job to validate attribute's targets, not ours.
Commits
-------
70a5874 [DependencyInjection][Validator] Remove needless codeFile tree
2 files changed
+3
-19
lines changed- src/Symfony/Component
- DependencyInjection/Compiler
- Validator
2 files changed
+3
-19
lines changedLines changed: 3 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
76 | 62 | | |
77 | | - | |
78 | 63 | | |
79 | 64 | | |
80 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
0 commit comments