Completed
Branch testing (566e23)
by AJ
01:58
created
src/Controller/AppController.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,16 +17,14 @@
 block discarded – undo
17 17
 
18 18
 use App\Controller\AppController as BaseController;
19 19
 
20
-class AppController extends BaseController
21
-{
20
+class AppController extends BaseController {
22 21
 
23 22
     /**
24 23
      * Initialize AppController
25 24
      *
26 25
      * @return void
27 26
     */
28
-    public function initialize()
29
-    {
27
+    public function initialize() {
30 28
         parent::initialize();
31 29
         $this->loadComponent('Flash');
32 30
     }
Please login to merge, or discard this patch.
src/Shell/Helper/TableHelper.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,11 +18,9 @@
 block discarded – undo
18 18
 use Cake\Console\Shell;
19 19
 use Cake\Console\Helper;
20 20
 
21
-class TableHelper extends Helper
22
-{
21
+class TableHelper extends Helper {
23 22
 
24
-    public function output($data, $columns = 10, $terminal_width = 80)
25
-    {
23
+    public function output($data, $columns = 10, $terminal_width = 80) {
26 24
         while((count($data)%$columns != 0) && ($columns > 5)) {
27 25
             $columns--;    
28 26
         }
Please login to merge, or discard this patch.
tests/Fixture/ShopsFixture.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,9 +70,9 @@
 block discarded – undo
70 70
         'force_ssl' => ['type' => 'integer', 'length' => 1, 'default' => 'NULL', 'null' => true],
71 71
         '_constraints' => [
72 72
             'PRIMARY' => ['type' => 'primary', 'columns' => ['id']]
73
-         ],
73
+            ],
74 74
         '_indexes' => [
75
-             'domain' => ['type' => 'index', 'columns' => ['myshopify_domain']]
75
+                'domain' => ['type' => 'index', 'columns' => ['myshopify_domain']]
76 76
         ]
77 77
     ];
78 78
       
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@
 block discarded – undo
17 17
 
18 18
 use Cake\TestSuite\Fixture\TestFixture;
19 19
 
20
-class ShopsFixture extends TestFixture
21
-{
20
+class ShopsFixture extends TestFixture {
22 21
 
23 22
     public $fields = [
24 23
         'id' => ['type' => 'integer', 'length' => 11],
Please login to merge, or discard this patch.
tests/Fixture/AccessTokensFixture.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@
 block discarded – undo
17 17
 
18 18
 use Cake\TestSuite\Fixture\TestFixture;
19 19
 
20
-class AccessTokensFixture extends TestFixture
21
-{
20
+class AccessTokensFixture extends TestFixture {
22 21
  
23 22
     public $fields = [
24 23
         'id' => ['type' => 'integer', 'length' => 10, 'null' => false],
Please login to merge, or discard this patch.
tests/TestCase/Controller/InstallControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     public function testValidate() {
32 32
         $this->get('/shopify/install/');
33 33
         $this->assertResponseOk();
34
-        $this->get('/shopify/' . md5(rand(1,10)) . '/install/');
34
+        $this->get('/shopify/' . md5(rand(1, 10)) . '/install/');
35 35
         $this->assertResponseError();
36 36
     }
37 37
     
Please login to merge, or discard this patch.
tests/TestCase/Controller/Component/ShopifyAPIComponentTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,11 +26,11 @@
 block discarded – undo
26 26
 
27 27
 class ShopifyAPIComponentTest extends TestCase {
28 28
  
29
-     public $component = null;
30
-     public $controller = null;
31
-     public $fixtures = ['plugin.Multidimensional/Shopify.Shops', 'plugin.Multidimensional/Shopify.AccessTokens'];
29
+        public $component = null;
30
+        public $controller = null;
31
+        public $fixtures = ['plugin.Multidimensional/Shopify.Shops', 'plugin.Multidimensional/Shopify.AccessTokens'];
32 32
  
33
-     public function setUp() {
33
+        public function setUp() {
34 34
         parent::setUp();
35 35
         $request = new Request();
36 36
         $response = new Response();
Please login to merge, or discard this patch.
tests/TestCase/Controller/Component/ShopifyDatabaseComponentTest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,13 +26,13 @@
 block discarded – undo
26 26
 
27 27
 class ShopifyDatabaseComponentTest extends TestCase {
28 28
  
29
-     public $component = null;
30
-     public $controller = null;
29
+        public $component = null;
30
+        public $controller = null;
31 31
  
32
-     public $fixtures = ['plugin.Multidimensional/Shopify.Shops',
33
-                         'plugin.Multidimensional/Shopify.AccessTokens'];
32
+        public $fixtures = ['plugin.Multidimensional/Shopify.Shops',
33
+                            'plugin.Multidimensional/Shopify.AccessTokens'];
34 34
  
35
-     public function setUp() {
35
+        public function setUp() {
36 36
         parent::setUp();
37 37
         $request = new Request();
38 38
         $response = new Response();
Please login to merge, or discard this patch.