Skip to content

Commit d83582a

Browse files
committed
fixes CS
1 parent c0f0ad2 commit d83582a

25 files changed

+31
-20
lines changed

Button.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,6 @@ public function isSynchronized()
336336

337337
/**
338338
* Unsupported method.
339-
*
340-
* @return null Always returns null
341339
*/
342340
public function getTransformationFailure()
343341
{

ChoiceList/Loader/ChoiceLoaderInterface.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ public function loadChoiceList($value = null);
4848
* The callable receives the choice as first and the array key as the second
4949
* argument.
5050
*
51-
* @param string[] $values An array of choice values. Non-existing
52-
* values in this array are ignored
53-
* @param null|callable $value The callable generating the choice values
51+
* @param string[] $values An array of choice values. Non-existing
52+
* values in this array are ignored
53+
* @param null|callable $value The callable generating the choice values
5454
*
5555
* @return array An array of choices
5656
*/
@@ -66,9 +66,9 @@ public function loadChoicesForValues(array $values, $value = null);
6666
* The callable receives the choice as first and the array key as the second
6767
* argument.
6868
*
69-
* @param array $choices An array of choices. Non-existing choices in
70-
* this array are ignored
71-
* @param null|callable $value The callable generating the choice values
69+
* @param array $choices An array of choices. Non-existing choices in
70+
* this array are ignored
71+
* @param null|callable $value The callable generating the choice values
7272
*
7373
* @return string[] An array of choice values
7474
*/

ChoiceList/View/ChoiceGroupView.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
class ChoiceGroupView implements \IteratorAggregate
2020
{
2121
/**
22-
* The label of the group
22+
* The label of the group.
2323
*
2424
* @var string
2525
*/
2626
public $label;
2727

2828
/**
29-
* The choice views in the group
29+
* The choice views in the group.
3030
*
3131
* @var ChoiceGroupView[]|ChoiceView[]
3232
*/
@@ -35,7 +35,7 @@ class ChoiceGroupView implements \IteratorAggregate
3535
/**
3636
* Creates a new choice group view.
3737
*
38-
* @param string $label The label of the group.
38+
* @param string $label The label of the group.
3939
* @param ChoiceGroupView[]|ChoiceView[] $choices The choice views in the
4040
* group.
4141
*/

Deprecated/FormEvents.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
/**
1717
* @deprecated since version 2.7, to be removed in 3.0.
18+
*
1819
* @internal
1920
*/
2021
final class FormEvents

Extension/Core/DataMapper/CheckboxListMapper.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Symfony\Component\Form\ChoiceList\ChoiceListInterface;
1515
use Symfony\Component\Form\DataMapperInterface;
16-
use Symfony\Component\Form\Exception;
1716
use Symfony\Component\Form\Exception\TransformationFailedException;
1817

1918
/**

Extension/Core/View/ChoiceView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
@trigger_error('The '.__NAMESPACE__.'\ChoiceView class is deprecated since version 2.7 and will be removed in 3.0. Use Symfony\Component\Form\ChoiceList\View\ChoiceView instead.', E_USER_DEPRECATED);
1515

16-
/**
16+
/*
1717
* Represents a choice in templates.
1818
*
1919
* @author Bernhard Schussek <bschussek@gmail.com>

Extension/Csrf/CsrfProvider/CsrfProviderAdapter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
* is expected.
2323
*
2424
* @since 2.4
25+
*
2526
* @author Bernhard Schussek <bschussek@gmail.com>
2627
*
2728
* @deprecated since version 2.4, to be removed in 3.0.

Extension/Csrf/CsrfProvider/CsrfTokenManagerAdapter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* Adapter for using the new token generator with the old interface.
1919
*
2020
* @since 2.4
21+
*
2122
* @author Bernhard Schussek <bschussek@gmail.com>
2223
*
2324
* @deprecated since version 2.4, to be removed in 3.0.

Extension/DataCollector/DataCollectorExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* Extension for collecting data of the forms on a page.
1919
*
2020
* @since 2.4
21+
*
2122
* @author Robert Schönthal <robert.schoenthal@gmail.com>
2223
* @author Bernhard Schussek <bschussek@gmail.com>
2324
*/

Extension/DataCollector/EventListener/DataCollectorListener.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
* and {@link FormEvents::POST_SUBMIT} events.
2222
*
2323
* @since 2.4
24+
*
2425
* @author Bernhard Schussek <bschussek@gmail.com>
2526
*/
2627
class DataCollectorListener implements EventSubscriberInterface

0 commit comments

Comments
 (0)