Completed
Branch #338-Save_posting_before_movin... (90c6c5)
by Schlaefer
02:36
created
src/Lib/Model/Table/AppTable.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Cake\Database\Expression\QueryExpression;
7 7
 use Cake\Event\Event;
8 8
 use Cake\Event\EventManager;
9
-use Cake\ORM\Entity;
10 9
 use Cake\ORM\Table;
11 10
 use Saito\Event\SaitoEventManager;
12 11
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -125,6 +125,7 @@
 block discarded – undo
125 125
 
126 126
     /**
127 127
      * {@inheritdoc}
128
+     * @param string $key
128 129
      */
129 130
     public function getConfig($key = null, $default = null)
130 131
     {
Please login to merge, or discard this patch.
src/Lib/Saito/Smiley/SmileyLoader.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 Saito\Smiley;
4 4
 
5 5
 use Cake\Cache\Cache;
6
-use Cake\Core\Configure;
7 6
 use Cake\ORM\TableRegistry;
8 7
 
9 8
 class SmileyLoader
Please login to merge, or discard this patch.
src/Lib/Saito/Test/IntegrationTestCase.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 namespace Saito\Test;
14 14
 
15 15
 use App\Test\Fixture\UserFixture;
16
-
17 16
 use Cake\Core\Configure;
18 17
 use Cake\Event\Event;
19 18
 use Cake\Event\EventManager;
Please login to merge, or discard this patch.
src/Lib/Saito/Test/Model/Table/SaitoTableTestCase.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 Cake\ORM\Table;
6 6
 use Cake\ORM\TableRegistry;
7
-use Saito\App\Registry;
8 7
 use Saito\Test\SaitoTestCase;
9
-use Saito\User\SaitoUser;
10 8
 
11 9
 abstract class SaitoTableTestCase extends SaitoTestCase
12 10
 {
Please login to merge, or discard this patch.
src/Lib/Saito/Test/SecurityMockTrait.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Saito\Test;
4 4
 
5
-use Cake\Event\Event;
6
-use Cake\Event\EventManager;
7
-
8 5
 trait SecurityMockTrait
9 6
 {
10 7
 
Please login to merge, or discard this patch.
src/Lib/Saito/User/Upload/AvatarFilenameListener.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
3 3
 namespace Saito\User\Upload;
4 4
 
5 5
 use App\Model\Entity\User;
6
-use Cake\Core\Configure;
7 6
 use Cake\Event\Event;
8 7
 use Cake\Event\EventListenerInterface;
9 8
 use Cake\Filesystem\Folder;
10
-use Cake\ORM\Entity;
11 9
 use Cake\Utility\Text;
12 10
 use Proffer\Lib\ProfferPath;
13 11
 
Please login to merge, or discard this patch.
src/Model/Table/SettingsTable.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      * Fast version of Set::combine($results, '{n}.Setting.name',
119 119
      * '{n}.Setting.value');
120 120
      *
121
-     * @param array $results results
121
+     * @param Query $results results
122 122
      * @return array
123 123
      */
124 124
     protected function _compactKeyValue($results)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,6 @@
 block discarded – undo
15 15
 use App\Lib\Model\Table\AppSettingTable;
16 16
 use Cake\Cache\Cache;
17 17
 use Cake\Core\Configure;
18
-use Cake\ORM\Query;
19
-use Saito\App\Registry;
20 18
 use \Stopwatch\Lib\Stopwatch;
21 19
 
22 20
 class SettingsTable extends AppSettingTable
Please login to merge, or discard this patch.
config/Seeds/SmiliesSeed.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     public function run()
20 20
     {
21 21
         $data =
22
-          [
22
+            [
23 23
             [
24 24
                 'id' => 1,
25 25
                 'sort' => 1,
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
                 'sort' => 17,
106 106
                 'icon' => 'angry',
107 107
             ]
108
-          ];
108
+            ];
109 109
 
110 110
         $table = $this->table('smilies');
111 111
         $table->insert($data)->save();
Please login to merge, or discard this patch.
plugins/SaitoSearch/tests/TestCase/Controller/SearchesControllerTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 use Saito\Exception\SaitoForbiddenException;
16 16
 use Saito\Test\IntegrationTestCase;
17 17
 
18
- /*
18
+    /*
19 19
 class SearchesMockController extends SearchesController
20 20
 {
21 21
 
Please login to merge, or discard this patch.