Completed
Push — master ( 98260d...5a7546 )
by Mathieu
03:43
created
src/Charcoal/Cms/AbstractEvent.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,12 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use DateTime;
6 6
 use DateTimeInterface;
7
-use Exception;
8 7
 use InvalidArgumentException;
9 8
 
10 9
 // PSR-7 (HTTP messaging) dependencies
11
-use Psr\Http\Message\RequestInterface;
12
-use Psr\Http\Message\ResponseInterface;
13 10
 
14 11
 // Module `charcoal-object` dependencies
15 12
 use Charcoal\Object\Content;
Please login to merge, or discard this patch.
src/Charcoal/Cms/AbstractNews.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -6,9 +6,6 @@
 block discarded – undo
6 6
 use DateTimeInterface;
7 7
 use InvalidArgumentException;
8 8
 
9
-use Psr\Http\Message\RequestInterface;
10
-use Psr\Http\Message\ResponseInterface;
11
-
12 9
 // Dependencies from `charcoal-translation`
13 10
 use Charcoal\Translation\TranslationString;
14 11
 
Please login to merge, or discard this patch.
src/Charcoal/Cms/AbstractSection.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,11 +5,9 @@
 block discarded – undo
5 5
 use InvalidArgumentException;
6 6
 
7 7
 // Module `charcoal-core` dependencies
8
-use Charcoal\Model\Collection;
9 8
 
10 9
 // Module `charcoal-translation` dependencies
11 10
 use Charcoal\Translation\TranslationString;
12
-
13 11
 use Charcoal\Loader\CollectionLoader;
14 12
 
15 13
 // Module `charcoal-base` dependencies
Please login to merge, or discard this patch.
src/Charcoal/Cms/Route/GenericRoute.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 InvalidArgumentException;
6 6
 use RuntimeException;
7
-
8 7
 use Pimple\Container;
9 8
 
10 9
 // From PSR-7 (HTTP Messaging)
Please login to merge, or discard this patch.
src/Charcoal/Cms/Route/SectionRoute.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,8 +74,8 @@
 block discarded – undo
74 74
 
75 75
         $section = $this->loadSectionFromPath($container);
76 76
 
77
-        $templateIdent      = (string)$section->templateIdent();
78
-        $templateController = (string)$section->templateIdent();
77
+        $templateIdent      = (string) $section->templateIdent();
78
+        $templateController = (string) $section->templateIdent();
79 79
 
80 80
         if (!$templateController) {
81 81
             return $response->withStatus(404);
Please login to merge, or discard this patch.