@@ -6,12 +6,9 @@ |
||
6 | 6 | use Symfony\Component\Console\Input\InputInterface; |
7 | 7 | use Symfony\Component\Console\Input\InputOption; |
8 | 8 | use Symfony\Component\Console\Output\OutputInterface; |
9 | - |
|
10 | 9 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
11 | - |
|
12 | 10 | use Oro\Component\Layout\LayoutManager; |
13 | 11 | use Oro\Component\Layout\LayoutRegistryInterface; |
14 | - |
|
15 | 12 | use Oro\Bundle\LayoutBundle\Command\Util\DebugLayoutContext; |
16 | 13 | use Oro\Bundle\LayoutBundle\Command\Util\DebugOptionsResolver; |
17 | 14 |
@@ -5,13 +5,11 @@ |
||
5 | 5 | use Symfony\Component\DependencyInjection\ContainerInterface; |
6 | 6 | use Symfony\Component\HttpFoundation\Response; |
7 | 7 | use Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent; |
8 | - |
|
9 | 8 | use Oro\Component\Layout\Layout; |
10 | 9 | use Oro\Component\Layout\LayoutContext; |
11 | 10 | use Oro\Component\Layout\LayoutManager; |
12 | 11 | use Oro\Component\Layout\ContextInterface; |
13 | 12 | use Oro\Component\Layout\Exception\LogicException; |
14 | - |
|
15 | 13 | use Oro\Bundle\LayoutBundle\Annotation\Layout as LayoutAnnotation; |
16 | 14 | |
17 | 15 | /** |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use Oro\Component\Layout\ContextInterface; |
12 | 12 | use Oro\Component\Layout\DataAccessorInterface; |
13 | 13 | use Oro\Component\Layout\OptionValueBag; |
14 | - |
|
15 | 14 | use Oro\Bundle\LayoutBundle\Layout\Encoder\ConfigExpressionEncoderRegistry; |
16 | 15 | |
17 | 16 | /** |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\LayoutBundle\Layout\Block\Type; |
4 | 4 | |
5 | 5 | use Symfony\Component\OptionsResolver\OptionsResolverInterface; |
6 | - |
|
7 | 6 | use Oro\Component\Layout\BlockInterface; |
8 | 7 | use Oro\Component\Layout\BlockView; |
9 | 8 |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace Oro\Bundle\LayoutBundle\Layout\Form; |
4 | 4 | |
5 | 5 | use Symfony\Component\Form\FormInterface; |
6 | - |
|
7 | 6 | use Oro\Component\Layout\BlockBuilderInterface; |
8 | 7 | use Oro\Component\Layout\LayoutManipulatorInterface; |
9 | - |
|
10 | 8 | use Oro\Bundle\LayoutBundle\Layout\Block\Type\FormFieldType; |
11 | 9 | |
12 | 10 | class FormLayoutBuilder implements FormLayoutBuilderInterface |
@@ -2,10 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Oro\Bundle\LayoutBundle\Layout\Form; |
4 | 4 | |
5 | -use Symfony\Component\Form\FormInterface; |
|
6 | - |
|
7 | 5 | use Oro\Component\Layout\BlockBuilderInterface; |
8 | - |
|
9 | 6 | use Oro\Bundle\LayoutBundle\Layout\Block\Type\FieldsetType; |
10 | 7 | |
11 | 8 | class GroupingFormLayoutBuilder extends FormLayoutBuilder |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\LayoutBundle\Tests\Unit\Layout\Form; |
4 | 4 | |
5 | 5 | use Symfony\Component\Form\FormView; |
6 | - |
|
7 | 6 | use Oro\Bundle\LayoutBundle\Layout\Form\FormAccessor; |
8 | 7 | use Oro\Bundle\LayoutBundle\Layout\Form\FormAction; |
9 | 8 |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; |
6 | 6 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
7 | 7 | use Symfony\Component\Config\Definition\ConfigurationInterface; |
8 | - |
|
9 | 8 | use Oro\Bundle\ConfigBundle\DependencyInjection\SettingsBuilder; |
10 | 9 | |
11 | 10 | /** |
@@ -13,6 +13,7 @@ discard block |
||
13 | 13 | |
14 | 14 | /** |
15 | 15 | * {@inheritdoc} |
16 | + * @param \DateTime $value |
|
16 | 17 | */ |
17 | 18 | public function convertToDatabaseValue($value, AbstractPlatform $platform) |
18 | 19 | { |
@@ -28,6 +29,7 @@ discard block |
||
28 | 29 | |
29 | 30 | /** |
30 | 31 | * {@inheritdoc} |
32 | + * @param string $value |
|
31 | 33 | */ |
32 | 34 | public function convertToPHPValue($value, AbstractPlatform $platform) |
33 | 35 | { |