Test Failed
Push — master ( dc68d1...1f5199 )
by Mathieu
02:31
created
src/Charcoal/Admin/Widget/Cms/SectionTableTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Charcoal\Admin\Widget\Cms;
4 4
 
5
-use Exception;
6 5
 use RuntimeException;
7 6
 
8 7
 // From 'charcoal-core'
Please login to merge, or discard this patch.
src/Charcoal/Cms/AbstractSection.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 InvalidArgumentException;
6 6
 
7 7
 // From 'charcoal-core'
8
-use Charcoal\Model\Collection;
9 8
 use Charcoal\Loader\CollectionLoader;
10 9
 
11 10
 // From 'charcoal-object'
Please login to merge, or discard this patch.
src/Charcoal/Cms/Section/BlocksSection.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,10 +10,8 @@
 block discarded – undo
10 10
 use Charcoal\Cms\Mixin\Traits\BlocksSectionTrait;
11 11
 
12 12
 // dependencies from `charcoal-core`
13
-use Charcoal\Loader\CollectionLoader;
14 13
 
15 14
 // dependencies from `pimple`
16
-use Pimple\Container;
17 15
 
18 16
 // dependencies from Psr-7
19 17
 use \RuntimeException;
Please login to merge, or discard this patch.
src/Charcoal/Cms/Service/Loader/SectionLoader.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 Charcoal\Loader\CollectionLoader;
6 6
 use Charcoal\Object\ObjectRoute;
7
-use Exception;
8 7
 
9 8
 use \Charcoal\Translator\TranslatorAwareTrait;
10 9
 /**
Please login to merge, or discard this patch.
src/Charcoal/Cms/ServiceProvider/CmsServiceProvider.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,13 +12,11 @@
 block discarded – undo
12 12
 use Pimple\ServiceProviderInterface;
13 13
 
14 14
 // Local dependencies
15
-use Charcoal\Cms\Config;
16 15
 
17 16
 // Cms Loaders
18 17
 use Charcoal\Cms\Service\Loader\SectionLoader;
19 18
 
20 19
 // dependencies from `charcoal-core`
21
-use Charcoal\Model\AbstractModel;
22 20
 
23 21
 // dependencies from `charcoal-cms`
24 22
 use Charcoal\Cms\SectionInterface;
Please login to merge, or discard this patch.
src/Charcoal/Cms/AbstractEvent.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -7,8 +7,6 @@  discard block
 block discarded – undo
7 7
 use InvalidArgumentException;
8 8
 
9 9
 // From PSR-7
10
-use Psr\Http\Message\RequestInterface;
11
-use Psr\Http\Message\ResponseInterface;
12 10
 
13 11
 // From 'charcoal-object'
14 12
 use Charcoal\Object\Content;
@@ -26,7 +24,6 @@  discard block
 block discarded – undo
26 24
 use Charcoal\Cms\MetatagInterface;
27 25
 use Charcoal\Cms\SearchableInterface;
28 26
 use Charcoal\Cms\TemplateableInterface;
29
-
30 27
 use Charcoal\Cms\MetatagTrait;
31 28
 use Charcoal\Cms\SearchableTrait;
32 29
 use Charcoal\Cms\TemplateableTrait;
Please login to merge, or discard this patch.
src/Charcoal/Cms/AbstractNews.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -7,8 +7,6 @@  discard block
 block discarded – undo
7 7
 use InvalidArgumentException;
8 8
 
9 9
 // From PSR-7
10
-use Psr\Http\Message\RequestInterface;
11
-use Psr\Http\Message\ResponseInterface;
12 10
 
13 11
 // From 'charcoal-object'
14 12
 use Charcoal\Object\Content;
@@ -30,10 +28,8 @@  discard block
 block discarded – undo
30 28
 use Charcoal\Cms\TemplateableInterface;
31 29
 
32 30
 // Local dependencies
33
-use Charcoal\Cms\Support\Helpers\DateHelper;
34 31
 
35 32
 // Pimple dependencies
36
-use Pimple\Container;
37 33
 
38 34
 /**
39 35
  * News
Please login to merge, or discard this patch.