Completed
Pull Request — 3.1 (#348)
by Piotr
09:36 queued 07:40
created
spec/FSi/Bundle/AdminBundle/Display/Property/Formatter/BooleanSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace spec\FSi\Bundle\AdminBundle\Display\Property\Formatter;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class BooleanSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.
spec/FSi/Bundle/AdminBundle/Display/Property/Formatter/CallbackSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace spec\FSi\Bundle\AdminBundle\Display\Property\Formatter;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class CallbackSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.
FSiAdminBundle.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use FSi\Bundle\AdminBundle\DependencyInjection\Compiler\TwigGlobalsPass;
22 22
 use FSi\Bundle\AdminBundle\DependencyInjection\FSIAdminExtension;
23 23
 use FSi\Bundle\AdminBundle\Finder\AdminClassFinder;
24
-use Symfony\Component\DependencyInjection\Compiler\PassConfig;
25 24
 use Symfony\Component\DependencyInjection\ContainerBuilder;
26 25
 use Symfony\Component\HttpKernel\Bundle\Bundle;
27 26
 
Please login to merge, or discard this patch.
Display/PropertyAccessDisplay.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -43,6 +43,10 @@
 block discarded – undo
43 43
         $this->accessor = $this->createPropertyAccessor();
44 44
     }
45 45
 
46
+    /**
47
+     * @param string $path
48
+     * @param string $label
49
+     */
46 50
     public function add($path, ?string $label = null, array $valueFormatters = []): Display
47 51
     {
48 52
         $this->data[] = new Property(
Please login to merge, or discard this patch.
Display/SimpleDisplay.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 
21 21
     /**
22 22
      * {@inheritdoc}
23
+     * @param string $label
23 24
      */
24 25
     public function add($value, ?string $label = null, array $valueFormatters = []): Display
25 26
     {
Please login to merge, or discard this patch.
features/fixtures/project/src/FSi/FixturesBundle/Entity/News.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -104,6 +104,9 @@  discard block
 block discarded – undo
104 104
         return $this->createdAt;
105 105
     }
106 106
 
107
+    /**
108
+     * @param string $creatorEmail
109
+     */
107 110
     public function setCreatorEmail(?string $creatorEmail): void
108 111
     {
109 112
         $this->creatorEmail = $creatorEmail;
@@ -159,6 +162,9 @@  discard block
 block discarded – undo
159 162
         return $this->photoKey;
160 163
     }
161 164
 
165
+    /**
166
+     * @param string|null $photoKey
167
+     */
162 168
     public function setPhotoKey(?string $photoKey): void
163 169
     {
164 170
         $this->photoKey = $photoKey;
Please login to merge, or discard this patch.
spec/FSi/Bundle/AdminBundle/Admin/CRUD/DependentCRUDElementSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use FSi\Bundle\AdminBundle\Admin\CRUD\DataIndexerElement;
13 13
 use FSi\Bundle\AdminBundle\Admin\DependentElement;
14 14
 use FSi\Bundle\AdminBundle\Admin\Element;
15
-use FSi\Bundle\AdminBundle\Exception\RuntimeException;
16 15
 use FSi\Component\DataGrid\DataGridFactoryInterface;
17 16
 use FSi\Component\DataGrid\DataGridInterface;
18 17
 use FSi\Component\DataIndexer\DataIndexerInterface;
Please login to merge, or discard this patch.
spec/FSi/Bundle/AdminBundle/Admin/CRUD/DependentFormElementSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use FSi\Bundle\AdminBundle\Admin\CRUD\DataIndexerElement;
6 6
 use FSi\Bundle\AdminBundle\Admin\DependentElement;
7 7
 use FSi\Bundle\AdminBundle\Admin\Element;
8
-use FSi\Bundle\AdminBundle\Exception\RuntimeException;
9 8
 use FSi\Component\DataIndexer\DataIndexerInterface;
10 9
 use PhpSpec\ObjectBehavior;
11 10
 use Prophecy\Argument;
Please login to merge, or discard this patch.
spec/FSi/Bundle/AdminBundle/Admin/CRUD/DependentListElementSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use FSi\Bundle\AdminBundle\Admin\CRUD\DataIndexerElement;
6 6
 use FSi\Bundle\AdminBundle\Admin\DependentElement;
7 7
 use FSi\Bundle\AdminBundle\Admin\Element;
8
-use FSi\Bundle\AdminBundle\Exception\RuntimeException;
9 8
 use FSi\Component\DataGrid\DataGridFactoryInterface;
10 9
 use FSi\Component\DataIndexer\DataIndexerInterface;
11 10
 use FSi\Component\DataSource\DataSourceFactoryInterface;
Please login to merge, or discard this patch.