Completed
Branch testing (99a3aa)
by AJ
02:01
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.
src/Controller/Component/ShopifyAPIComponent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,13 +70,13 @@
 block discarded – undo
70 70
      * @param string $method
71 71
      * @param string $path
72 72
      */
73
-    public function call($method, $path, $params=array()) {
73
+    public function call($method, $path, $params = array()) {
74 74
         
75 75
         if (!$this->_isReady()) {
76 76
             return false;
77 77
         }
78 78
         
79
-        if (!in_array($method, array('POST','PUT','GET','DELETE'))) {
79
+        if (!in_array($method, array('POST', 'PUT', 'GET', 'DELETE'))) {
80 80
             return false;    
81 81
         }
82 82
         
Please login to merge, or discard this patch.
src/Shell/ShopifyInstallShell.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
             
100 100
         $this->out('');
101 101
         
102
-        if (($first_run) || (strtolower($this->in('Update Database?', ['y', 'n'])) == 'y')) {            
102
+        if (($first_run) || (strtolower($this->in('Update Database?', ['y', 'n'])) == 'y')) {
103 103
     
104 104
             $this->out('');
105 105
     
Please login to merge, or discard this patch.