Commit eb366b9
committed
bug #14887 [Form] Swap new ChoiceView constructor arguments to ease migrating from the deprecated one (nicolas-grekas)
This PR was merged into the 2.7 branch.
Discussion
----------
[Form] Swap new ChoiceView constructor arguments to ease migrating from the deprecated one
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #14193
| License | MIT
| Doc PR | -
Commits
-------
909d2b9 [Form] Swap new ChoiceView constructor arguments to ease migrating from the deprecated oneFile tree
Expand file treeCollapse file tree
17 files changed
+106
-123
lines changedOpen diff view settings
Filter options
- src/Symfony
- Bridge
- Doctrine
- Tests/Form/Type
- Twig
- Tests/Extension
- Component/Form
- ChoiceList
- Factory
- View
- Extension/Core/Type
- Tests
- ChoiceList/Factory
- Extension/Core/Type
Expand file treeCollapse file tree
17 files changed
+106
-123
lines changedOpen diff view settings
Collapse file
+2-18Lines changed: 2 additions & 18 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
171 | 171 | |
172 | 172 | |
173 | 173 | |
174 | | - |
175 | | - |
176 | | - |
177 | | - |
178 | | - |
179 | | - |
180 | | - |
181 | | - |
182 | | - |
183 | | - |
184 | | - |
185 | | - |
186 | | - |
187 | | - |
188 | | - |
189 | | - |
190 | | - |
191 | | - |
| 174 | + |
| 175 | + |
192 | 176 | |
193 | 177 | |
194 | 178 | |
|
Collapse file
src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php+13-13Lines changed: 13 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
134 | 134 | |
135 | 135 | |
136 | 136 | |
137 | | - |
| 137 | + |
138 | 138 | |
139 | 139 | |
140 | 140 | |
| ||
150 | 150 | |
151 | 151 | |
152 | 152 | |
153 | | - |
| 153 | + |
154 | 154 | |
155 | 155 | |
156 | 156 | |
| ||
169 | 169 | |
170 | 170 | |
171 | 171 | |
172 | | - |
| 172 | + |
173 | 173 | |
174 | 174 | |
175 | 175 | |
| ||
513 | 513 | |
514 | 514 | |
515 | 515 | |
516 | | - |
| 516 | + |
517 | 517 | |
518 | 518 | |
519 | 519 | |
| ||
541 | 541 | |
542 | 542 | |
543 | 543 | |
544 | | - |
545 | | - |
| 544 | + |
| 545 | + |
546 | 546 | |
547 | 547 | |
548 | | - |
| 548 | + |
549 | 549 | |
550 | | - |
| 550 | + |
551 | 551 | |
552 | 552 | |
553 | 553 | |
| ||
566 | 566 | |
567 | 567 | |
568 | 568 | |
569 | | - |
570 | | - |
| 569 | + |
| 570 | + |
571 | 571 | |
572 | 572 | |
573 | 573 | |
| ||
586 | 586 | |
587 | 587 | |
588 | 588 | |
589 | | - |
590 | | - |
| 589 | + |
| 590 | + |
591 | 591 | |
592 | 592 | |
593 | 593 | |
| ||
883 | 883 | |
884 | 884 | |
885 | 885 | |
886 | | - |
| 886 | + |
887 | 887 | |
888 | 888 | |
889 | 889 | |
|
Collapse file
src/Symfony/Bridge/Doctrine/composer.json
Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/composer.json+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | | - |
| 26 | + |
27 | 27 | |
28 | 28 | |
29 | 29 | |
|
Collapse file
src/Symfony/Bridge/Twig/Tests/Extension/FormExtensionDivLayoutTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Twig/Tests/Extension/FormExtensionDivLayoutTest.php+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
136 | 136 | |
137 | 137 | |
138 | 138 | |
139 | | - |
| 139 | + |
140 | 140 | |
141 | 141 | |
142 | 142 | |
|
Collapse file
src/Symfony/Bridge/Twig/composer.json
Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Twig/composer.json+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | | - |
| 26 | + |
27 | 27 | |
28 | 28 | |
29 | 29 | |
|
Collapse file
src/Symfony/Component/Form/ChoiceList/Factory/DefaultChoiceListFactory.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/ChoiceList/Factory/DefaultChoiceListFactory.php+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
144 | 144 | |
145 | 145 | |
146 | 146 | |
147 | | - |
| 147 | + |
148 | 148 | |
149 | 149 | |
150 | 150 | |
| ||
245 | 245 | |
246 | 246 | |
247 | 247 | |
| 248 | + |
| 249 | + |
248 | 250 | |
249 | 251 | |
250 | | - |
251 | | - |
252 | 252 | |
253 | 253 | |
254 | 254 | |
|
Collapse file
src/Symfony/Component/Form/ChoiceList/View/ChoiceView.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/ChoiceList/View/ChoiceView.php+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
78 | 78 | |
79 | 79 | |
80 | 80 | |
81 | | - |
82 | | - |
83 | 81 | |
| 82 | + |
| 83 | + |
84 | 84 | |
85 | 85 | |
86 | | - |
| 86 | + |
87 | 87 | |
88 | 88 | |
89 | 89 | |
|
Collapse file
src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php+2-3Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
17 | 16 | |
18 | 17 | |
19 | 18 | |
| ||
71 | 70 | |
72 | 71 | |
73 | 72 | |
74 | | - |
| 73 | + |
75 | 74 | |
76 | 75 | |
77 | 76 | |
| ||
436 | 435 | |
437 | 436 | |
438 | 437 | |
439 | | - |
| 438 | + |
440 | 439 | |
441 | 440 | |
442 | 441 | |
|
Collapse file
src/Symfony/Component/Form/Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php+28-28Lines changed: 28 additions & 28 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
320 | 320 | |
321 | 321 | |
322 | 322 | |
323 | | - |
324 | | - |
325 | | - |
326 | | - |
| 323 | + |
| 324 | + |
| 325 | + |
| 326 | + |
327 | 327 | |
328 | 328 | |
329 | 329 | |
| ||
347 | 347 | |
348 | 348 | |
349 | 349 | |
350 | | - |
351 | | - |
352 | | - |
353 | | - |
| 350 | + |
| 351 | + |
| 352 | + |
| 353 | + |
354 | 354 | |
355 | 355 | |
356 | 356 | |
| ||
751 | 751 | |
752 | 752 | |
753 | 753 | |
754 | | - |
755 | | - |
| 754 | + |
| 755 | + |
756 | 756 | |
757 | 757 | |
758 | 758 | |
| ||
827 | 827 | |
828 | 828 | |
829 | 829 | |
830 | | - |
831 | | - |
| 830 | + |
| 831 | + |
832 | 832 | |
833 | | - |
834 | | - |
| 833 | + |
| 834 | + |
835 | 835 | |
836 | 836 | |
837 | 837 | |
| ||
840 | 840 | |
841 | 841 | |
842 | 842 | |
843 | | - |
844 | | - |
| 843 | + |
| 844 | + |
845 | 845 | |
846 | | - |
847 | | - |
| 846 | + |
| 847 | + |
848 | 848 | |
849 | 849 | |
850 | 850 | |
| ||
853 | 853 | |
854 | 854 | |
855 | 855 | |
856 | | - |
857 | | - |
| 856 | + |
| 857 | + |
858 | 858 | |
859 | 859 | |
860 | | - |
861 | | - |
862 | 860 | |
| 861 | + |
| 862 | + |
863 | 863 | |
864 | 864 | |
865 | 865 | |
866 | | - |
867 | | - |
868 | 866 | |
| 867 | + |
| 868 | + |
869 | 869 | |
870 | 870 | |
871 | 871 | |
| ||
878 | 878 | |
879 | 879 | |
880 | 880 | |
881 | | - |
| 881 | + |
882 | 882 | |
883 | 883 | |
884 | 884 | |
885 | | - |
| 885 | + |
886 | 886 | |
887 | 887 | |
888 | 888 | |
889 | 889 | |
890 | | - |
| 890 | + |
891 | 891 | |
892 | 892 | |
893 | 893 | |
894 | | - |
| 894 | + |
895 | 895 | |
896 | 896 | |
897 | 897 | |
|
Collapse file
src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php+17-17Lines changed: 17 additions & 17 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1556 | 1556 | |
1557 | 1557 | |
1558 | 1558 | |
1559 | | - |
1560 | | - |
1561 | | - |
1562 | | - |
| 1559 | + |
| 1560 | + |
| 1561 | + |
| 1562 | + |
1563 | 1563 | |
1564 | 1564 | |
1565 | 1565 | |
| ||
1573 | 1573 | |
1574 | 1574 | |
1575 | 1575 | |
1576 | | - |
1577 | | - |
| 1576 | + |
| 1577 | + |
1578 | 1578 | |
1579 | 1579 | |
1580 | | - |
1581 | | - |
| 1580 | + |
| 1581 | + |
1582 | 1582 | |
1583 | 1583 | |
1584 | 1584 | |
| ||
1592 | 1592 | |
1593 | 1593 | |
1594 | 1594 | |
1595 | | - |
1596 | | - |
| 1595 | + |
| 1596 | + |
1597 | 1597 | |
1598 | 1598 | |
1599 | | - |
| 1599 | + |
1600 | 1600 | |
1601 | 1601 | |
1602 | 1602 | |
1603 | 1603 | |
1604 | | - |
| 1604 | + |
1605 | 1605 | |
1606 | 1606 | |
1607 | | - |
| 1607 | + |
1608 | 1608 | |
1609 | 1609 | |
1610 | 1610 | |
| ||
1624 | 1624 | |
1625 | 1625 | |
1626 | 1626 | |
1627 | | - |
1628 | | - |
1629 | | - |
1630 | | - |
| 1627 | + |
| 1628 | + |
| 1629 | + |
| 1630 | + |
1631 | 1631 | |
1632 | 1632 | |
1633 | 1633 | |
|
0 commit comments