Completed
Push — master ( 6a996d...b41795 )
by Mathieu
13:00 queued 10:14
created
src/Charcoal/Ui/Dashboard/AbstractDashboard.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Charcoal\Ui\Dashboard;
4 4
 
5
-use InvalidArgumentException;
6
-
7 5
 // Intra-module (`charcoal-ui`) dependencies
8 6
 use Charcoal\Ui\AbstractUiItem;
9 7
 use Charcoal\Ui\Dashboard\DashboardInterface;
Please login to merge, or discard this patch.
src/Charcoal/Ui/ServiceProvider/DashboardServiceProvider.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Pimple\Container;
6 6
 use Pimple\ServiceProviderInterface;
7
-
8 7
 use Charcoal\Factory\GenericFactory as Factory;
9
-
10 8
 use Charcoal\Ui\Dashboard\DashboardBuilder;
11 9
 use Charcoal\Ui\Dashboard\DashboardInterface;
12 10
 use Charcoal\Ui\Dashboard\GenericDashboard;
Please login to merge, or discard this patch.
src/Charcoal/Ui/ServiceProvider/FormServiceProvider.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,13 +4,10 @@
 block discarded – undo
4 4
 
5 5
 use Pimple\Container;
6 6
 use Pimple\ServiceProviderInterface;
7
-
8 7
 use Charcoal\Factory\GenericFactory as Factory;
9
-
10 8
 use Charcoal\Ui\Form\FormBuilder;
11 9
 use Charcoal\Ui\Form\FormInterface;
12 10
 use Charcoal\Ui\Form\GenericForm;
13
-use Charcoal\Ui\FormGroup\FormGroupBuilder;
14 11
 use Charcoal\Ui\FormGroup\FormGroupInterface;
15 12
 use Charcoal\Ui\FormGroup\GenericFormGroup;
16 13
 use Charcoal\Ui\FormInput\FormInputBuilder;
Please login to merge, or discard this patch.
src/Charcoal/Ui/ServiceProvider/LayoutServiceProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Pimple\Container;
6 6
 use Pimple\ServiceProviderInterface;
7
-
8 7
 use Charcoal\Ui\Layout\LayoutBuilder;
9 8
 use Charcoal\Ui\Layout\LayoutFactory;
10 9
 
Please login to merge, or discard this patch.
src/Charcoal/Ui/Dashboard/DashboardTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
     public function widgets(callable $widgetCallback = null)
153 153
     {
154 154
         $widgets = $this->widgets;
155
-        uasort($widgets, [ $this, 'sortItemsByPriority' ]);
155
+        uasort($widgets, [$this, 'sortItemsByPriority']);
156 156
 
157 157
         $widgetCallback = isset($widgetCallback) ? $widgetCallback : $this->widgetCallback;
158 158
         foreach ($widgets as $widget) {
Please login to merge, or discard this patch.