Skip to content

Commit 40861df

Browse files
Alpha-ordering for "use" statements
1 parent 15579a6 commit 40861df

File tree

74 files changed

+143
-143
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+143
-143
lines changed

ButtonBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
namespace Symfony\Component\Form;
1313

1414
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
15-
use Symfony\Component\Form\Exception\InvalidArgumentException;
1615
use Symfony\Component\Form\Exception\BadMethodCallException;
16+
use Symfony\Component\Form\Exception\InvalidArgumentException;
1717

1818
/**
1919
* A builder for {@link Button} instances.

CallbackTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Component\Form;
1313

14-
use Symfony\Component\Form\Exception\UnexpectedTypeException;
1514
use Symfony\Component\Form\Exception\TransformationFailedException;
15+
use Symfony\Component\Form\Exception\UnexpectedTypeException;
1616

1717
class CallbackTransformer implements DataTransformerInterface
1818
{

ChoiceList/Factory/DefaultChoiceListFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Component\Form\ChoiceList\Factory;
1313

14-
use Symfony\Component\Form\ChoiceList\ArrayKeyChoiceList;
1514
use Symfony\Component\Form\ChoiceList\ArrayChoiceList;
15+
use Symfony\Component\Form\ChoiceList\ArrayKeyChoiceList;
1616
use Symfony\Component\Form\ChoiceList\ChoiceListInterface;
1717
use Symfony\Component\Form\ChoiceList\LazyChoiceList;
1818
use Symfony\Component\Form\ChoiceList\LegacyChoiceListAdapter;

Extension/Core/ChoiceList/ChoiceList.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313

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

16-
use Symfony\Component\Form\FormConfigBuilder;
17-
use Symfony\Component\Form\Exception\UnexpectedTypeException;
18-
use Symfony\Component\Form\Exception\InvalidConfigurationException;
1916
use Symfony\Component\Form\Exception\InvalidArgumentException;
17+
use Symfony\Component\Form\Exception\InvalidConfigurationException;
18+
use Symfony\Component\Form\Exception\UnexpectedTypeException;
2019
use Symfony\Component\Form\Extension\Core\View\ChoiceView;
20+
use Symfony\Component\Form\FormConfigBuilder;
2121

2222
/**
2323
* A choice list for choices of arbitrary data types.

Extension/Core/ChoiceList/ObjectChoiceList.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313

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

16-
use Symfony\Component\Form\Exception\StringCastException;
1716
use Symfony\Component\Form\Exception\InvalidArgumentException;
18-
use Symfony\Component\PropertyAccess\PropertyPath;
17+
use Symfony\Component\Form\Exception\StringCastException;
1918
use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
2019
use Symfony\Component\PropertyAccess\PropertyAccess;
2120
use Symfony\Component\PropertyAccess\PropertyAccessorInterface;
21+
use Symfony\Component\PropertyAccess\PropertyPath;
2222

2323
/**
2424
* A choice list for object choices.

Extension/Core/DataTransformer/ChoiceToValueTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
namespace Symfony\Component\Form\Extension\Core\DataTransformer;
1313

14+
use Symfony\Component\Form\ChoiceList\ChoiceListInterface;
1415
use Symfony\Component\Form\DataTransformerInterface;
1516
use Symfony\Component\Form\Exception\TransformationFailedException;
16-
use Symfony\Component\Form\ChoiceList\ChoiceListInterface;
1717

1818
/**
1919
* @author Bernhard Schussek <bschussek@gmail.com>

Extension/Core/DataTransformer/ChoicesToValuesTransformer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
namespace Symfony\Component\Form\Extension\Core\DataTransformer;
1313

14-
use Symfony\Component\Form\Exception\TransformationFailedException;
15-
use Symfony\Component\Form\DataTransformerInterface;
1614
use Symfony\Component\Form\ChoiceList\ChoiceListInterface;
15+
use Symfony\Component\Form\DataTransformerInterface;
16+
use Symfony\Component\Form\Exception\TransformationFailedException;
1717

1818
/**
1919
* @author Bernhard Schussek <bschussek@gmail.com>

Extension/Core/EventListener/FixUrlProtocolListener.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
namespace Symfony\Component\Form\Extension\Core\EventListener;
1313

14-
use Symfony\Component\Form\FormEvents;
15-
use Symfony\Component\Form\FormEvent;
1614
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
15+
use Symfony\Component\Form\FormEvent;
16+
use Symfony\Component\Form\FormEvents;
1717

1818
/**
1919
* Adds a protocol to a URL if it doesn't already have one.

Extension/Core/EventListener/MergeCollectionListener.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
namespace Symfony\Component\Form\Extension\Core\EventListener;
1313

1414
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
15-
use Symfony\Component\Form\FormEvents;
16-
use Symfony\Component\Form\FormEvent;
1715
use Symfony\Component\Form\Exception\UnexpectedTypeException;
16+
use Symfony\Component\Form\FormEvent;
17+
use Symfony\Component\Form\FormEvents;
1818

1919
/**
2020
* @author Bernhard Schussek <bschussek@gmail.com>

Extension/Core/EventListener/ResizeFormListener.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
namespace Symfony\Component\Form\Extension\Core\EventListener;
1313

14-
use Symfony\Component\Form\FormEvents;
15-
use Symfony\Component\Form\FormEvent;
16-
use Symfony\Component\Form\Exception\UnexpectedTypeException;
1714
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
15+
use Symfony\Component\Form\Exception\UnexpectedTypeException;
16+
use Symfony\Component\Form\FormEvent;
17+
use Symfony\Component\Form\FormEvents;
1818
use Symfony\Component\Form\FormInterface;
1919

2020
/**

0 commit comments

Comments
 (0)