Passed
Push — master ( 8f1891...5522c8 )
by Josh
04:17
created
src/xpdo2/blend/mysql/blendmigrations.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1 1
 <?php
2
-require_once (dirname(dirname(__FILE__)) . '/blendmigrations.class.php');
2
+require_once (dirname(dirname(__FILE__)).'/blendmigrations.class.php');
3 3
 class BlendMigrations_mysql extends BlendMigrations {}
4 4
\ No newline at end of file
Please login to merge, or discard this patch.
src/xpdo2/blend/metadata.mysql.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 $xpdo_meta_map = array (
4
-  'xPDOSimpleObject' => 
5
-  array (
4
+    'xPDOSimpleObject' => 
5
+    array (
6 6
     0 => 'BlendMigrations',
7
-  ),
7
+    ),
8 8
 );
9 9
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$xpdo_meta_map = array (
3
+$xpdo_meta_map = array(
4 4
   'xPDOSimpleObject' => 
5
-  array (
5
+  array(
6 6
     0 => 'BlendMigrations',
7 7
   ),
8 8
 );
9 9
\ No newline at end of file
Please login to merge, or discard this patch.
src/Model/xPDO/metadata.mysql.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2
-$xpdo_meta_map = array (
2
+$xpdo_meta_map = array(
3 3
     'version' => '3.0',
4 4
     'namespace' => 'LCI\\Blend\\Model\\xPDO',
5 5
     'class_map' => 
6
-    array (
6
+    array(
7 7
         'xPDO\\Om\\xPDOSimpleObject' => 
8
-        array (
8
+        array(
9 9
             0 => 'LCI\\Blend\\Model\\xPDO\\BlendMigrations',
10 10
         ),
11 11
     ),
Please login to merge, or discard this patch.
src/Console/GenerateMigration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
                 if (defined('MODX_CORE_PATH')) {
74 74
                     $path = MODX_CORE_PATH;
75 75
                 } else {
76
-                    $path = dirname(dirname(dirname(dirname(__DIR__)))) . DIRECTORY_SEPARATOR;
76
+                    $path = dirname(dirname(dirname(dirname(__DIR__)))).DIRECTORY_SEPARATOR;
77 77
                 }
78 78
                 $path .= 'components/';
79 79
 
Please login to merge, or discard this patch.
src/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
 class Application extends ConsoleApplication
17 17
 {
18
-    protected static $logo = __DIR__ . '/art/blend.txt';
18
+    protected static $logo = __DIR__.'/art/blend.txt';
19 19
 
20 20
     protected static $name = 'Blend Console';
21 21
 
Please login to merge, or discard this patch.
bin/blend.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 /**
22 22
  * Ensure the timezone is set;
23 23
  */
24
-if (version_compare(phpversion(),'5.3.0') >= 0) {
24
+if (version_compare(phpversion(), '5.3.0') >= 0) {
25 25
     $tz = @ini_get('date.timezone');
26 26
     if (empty($tz)) {
27 27
         date_default_timezone_set(@date_default_timezone_get());
Please login to merge, or discard this patch.
src/Migrations/MigrationsCreator.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      */
97 97
     public function setMigrationsPath($path, $append = false)
98 98
     {
99
-        $this->migrations_path = rtrim($path, '\/\\') . DIRECTORY_SEPARATOR;
99
+        $this->migrations_path = rtrim($path, '\/\\').DIRECTORY_SEPARATOR;
100 100
 
101 101
         if (file_exists($path) && $append) {
102 102
             if (!file_exists($path.'database')) {
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      */
123 123
     public function setSeedsPath($path, $append = false)
124 124
     {
125
-        $this->seeds_path = rtrim($path, '\/\\') . DIRECTORY_SEPARATOR;
125
+        $this->seeds_path = rtrim($path, '\/\\').DIRECTORY_SEPARATOR;
126 126
 
127 127
         if (file_exists($path) && $append) {
128 128
             if (!file_exists($path.'database')) {
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
      * @param int $verbose
461 461
      * @param bool $error
462 462
      */
463
-    public function out($message, $verbose=Blender::VERBOSITY_NORMAL, $error = false)
463
+    public function out($message, $verbose = Blender::VERBOSITY_NORMAL, $error = false)
464 464
     {
465 465
         if ($this->getVerbose() >= $verbose) {
466 466
             if ($error) {
@@ -475,7 +475,7 @@  discard block
 block discarded – undo
475 475
      * @param string $message
476 476
      * @param int $verbose
477 477
      */
478
-    public function outError($message, $verbose=Blender::VERBOSITY_NORMAL)
478
+    public function outError($message, $verbose = Blender::VERBOSITY_NORMAL)
479 479
     {
480 480
         if ($this->getVerbose() >= $verbose) {
481 481
             $this->userInteractionHandler->tellUser($message, userInteractionHandler::MASSAGE_ERROR);
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -425,7 +425,7 @@
 block discarded – undo
425 425
         } else {
426 426
             try {
427 427
                 $write = file_put_contents($this->migrations_path.$class_name.'.php', $file_contents);
428
-                 $this->log_data = [
428
+                    $this->log_data = [
429 429
                     'name' => $class_name,
430 430
                     'type' => $this->getServerType(),
431 431
                     'description' => $this->getDescription(),
Please login to merge, or discard this patch.
src/xpdo2/blend/mysql/blendmigrations.map.inc.php 2 patches
Indentation   +50 added lines, -50 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 $xpdo_meta_map['BlendMigrations']= array (
3
-  'package' => 'blend',
4
-  'version' => '1.1',
5
-  'table' => 'blend_migrations',
6
-  'extends' => 'xPDOSimpleObject',
7
-  'fields' => 
8
-  array (
3
+    'package' => 'blend',
4
+    'version' => '1.1',
5
+    'table' => 'blend_migrations',
6
+    'extends' => 'xPDOSimpleObject',
7
+    'fields' => 
8
+    array (
9 9
     'project' => 'local',
10 10
     'name' => NULL,
11 11
     'version' => NULL,
@@ -16,78 +16,78 @@  discard block
 block discarded – undo
16 16
     'created_at' => 'CURRENT_TIMESTAMP',
17 17
     'processed_at' => NULL,
18 18
     'ran_sequence' => NULL,
19
-  ),
20
-  'fieldMeta' => 
21
-  array (
19
+    ),
20
+    'fieldMeta' => 
21
+    array (
22 22
     'project' =>
23 23
     array (
24
-      'dbtype' => 'varchar',
25
-      'precision' => '255',
26
-      'phptype' => 'string',
27
-      'null' => false,
28
-      'default' => 'local',
24
+        'dbtype' => 'varchar',
25
+        'precision' => '255',
26
+        'phptype' => 'string',
27
+        'null' => false,
28
+        'default' => 'local',
29 29
     ),
30 30
     'name' => 
31 31
     array (
32
-      'dbtype' => 'varchar',
33
-      'precision' => '255',
34
-      'phptype' => 'string',
35
-      'null' => false,
32
+        'dbtype' => 'varchar',
33
+        'precision' => '255',
34
+        'phptype' => 'string',
35
+        'null' => false,
36 36
     ),
37 37
     'version' => 
38 38
     array (
39
-      'dbtype' => 'varchar',
40
-      'precision' => '32',
41
-      'phptype' => 'string',
42
-      'null' => true,
39
+        'dbtype' => 'varchar',
40
+        'precision' => '32',
41
+        'phptype' => 'string',
42
+        'null' => true,
43 43
     ),
44 44
     'type' => 
45 45
     array (
46
-      'dbtype' => 'set',
47
-      'precision' => '\'master\',\'stagging\',\'dev\',\'local\'',
48
-      'phptype' => 'string',
49
-      'null' => false,
50
-      'default' => 'master',
46
+        'dbtype' => 'set',
47
+        'precision' => '\'master\',\'stagging\',\'dev\',\'local\'',
48
+        'phptype' => 'string',
49
+        'null' => false,
50
+        'default' => 'master',
51 51
     ),
52 52
     'description' => 
53 53
     array (
54
-      'dbtype' => 'text',
55
-      'phptype' => 'string',
56
-      'null' => true,
54
+        'dbtype' => 'text',
55
+        'phptype' => 'string',
56
+        'null' => true,
57 57
     ),
58 58
     'status' => 
59 59
     array (
60
-      'dbtype' => 'varchar',
61
-      'precision' => '16',
62
-      'phptype' => 'string',
63
-      'null' => false,
64
-      'default' => 'ready',
60
+        'dbtype' => 'varchar',
61
+        'precision' => '16',
62
+        'phptype' => 'string',
63
+        'null' => false,
64
+        'default' => 'ready',
65 65
     ),
66 66
     'author' =>
67 67
     array (
68
-      'dbtype' => 'varchar',
69
-      'precision' => '255',
70
-      'phptype' => 'string',
71
-      'null' => true,
68
+        'dbtype' => 'varchar',
69
+        'precision' => '255',
70
+        'phptype' => 'string',
71
+        'null' => true,
72 72
     ),
73 73
     'created_at' => 
74 74
     array (
75
-      'dbtype' => 'timestamp',
76
-      'phptype' => 'timestamp',
77
-      'null' => false,
78
-      'default' => 'CURRENT_TIMESTAMP',
75
+        'dbtype' => 'timestamp',
76
+        'phptype' => 'timestamp',
77
+        'null' => false,
78
+        'default' => 'CURRENT_TIMESTAMP',
79 79
     ),
80 80
     'processed_at' => 
81 81
     array (
82
-      'dbtype' => 'timestamp',
83
-      'phptype' => 'timestamp',
84
-      'null' => true,
82
+        'dbtype' => 'timestamp',
83
+        'phptype' => 'timestamp',
84
+        'null' => true,
85 85
     ),
86 86
     'ran_sequence' =>
87 87
     array(
88
-      'dbtype' => 'int',
89
-      'phptype' => 'int',
90
-      'null' => true
88
+        'dbtype' => 'int',
89
+        'phptype' => 'int',
90
+        'null' => true
91 91
     )
92
-  ),
92
+    ),
93 93
 );
Please login to merge, or discard this patch.
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2
-$xpdo_meta_map['BlendMigrations']= array (
2
+$xpdo_meta_map['BlendMigrations'] = array(
3 3
   'package' => 'blend',
4 4
   'version' => '1.1',
5 5
   'table' => 'blend_migrations',
6 6
   'extends' => 'xPDOSimpleObject',
7 7
   'fields' => 
8
-  array (
8
+  array(
9 9
     'project' => 'local',
10 10
     'name' => NULL,
11 11
     'version' => NULL,
@@ -18,9 +18,9 @@  discard block
 block discarded – undo
18 18
     'ran_sequence' => NULL,
19 19
   ),
20 20
   'fieldMeta' => 
21
-  array (
21
+  array(
22 22
     'project' =>
23
-    array (
23
+    array(
24 24
       'dbtype' => 'varchar',
25 25
       'precision' => '255',
26 26
       'phptype' => 'string',
@@ -28,21 +28,21 @@  discard block
 block discarded – undo
28 28
       'default' => 'local',
29 29
     ),
30 30
     'name' => 
31
-    array (
31
+    array(
32 32
       'dbtype' => 'varchar',
33 33
       'precision' => '255',
34 34
       'phptype' => 'string',
35 35
       'null' => false,
36 36
     ),
37 37
     'version' => 
38
-    array (
38
+    array(
39 39
       'dbtype' => 'varchar',
40 40
       'precision' => '32',
41 41
       'phptype' => 'string',
42 42
       'null' => true,
43 43
     ),
44 44
     'type' => 
45
-    array (
45
+    array(
46 46
       'dbtype' => 'set',
47 47
       'precision' => '\'master\',\'stagging\',\'dev\',\'local\'',
48 48
       'phptype' => 'string',
@@ -50,13 +50,13 @@  discard block
 block discarded – undo
50 50
       'default' => 'master',
51 51
     ),
52 52
     'description' => 
53
-    array (
53
+    array(
54 54
       'dbtype' => 'text',
55 55
       'phptype' => 'string',
56 56
       'null' => true,
57 57
     ),
58 58
     'status' => 
59
-    array (
59
+    array(
60 60
       'dbtype' => 'varchar',
61 61
       'precision' => '16',
62 62
       'phptype' => 'string',
@@ -64,21 +64,21 @@  discard block
 block discarded – undo
64 64
       'default' => 'ready',
65 65
     ),
66 66
     'author' =>
67
-    array (
67
+    array(
68 68
       'dbtype' => 'varchar',
69 69
       'precision' => '255',
70 70
       'phptype' => 'string',
71 71
       'null' => true,
72 72
     ),
73 73
     'created_at' => 
74
-    array (
74
+    array(
75 75
       'dbtype' => 'timestamp',
76 76
       'phptype' => 'timestamp',
77 77
       'null' => false,
78 78
       'default' => 'CURRENT_TIMESTAMP',
79 79
     ),
80 80
     'processed_at' => 
81
-    array (
81
+    array(
82 82
       'dbtype' => 'timestamp',
83 83
       'phptype' => 'timestamp',
84 84
       'null' => true,
Please login to merge, or discard this patch.
src/Model/xPDO/mysql/BlendMigrations.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@  discard block
 block discarded – undo
6 6
 class BlendMigrations extends \LCI\Blend\Model\xPDO\BlendMigrations
7 7
 {
8 8
 
9
-    public static $metaMap = array (
9
+    public static $metaMap = array(
10 10
         'package' => 'LCI\\Blend\\Model\\xPDO',
11 11
         'version' => '3.0',
12 12
         'table' => 'blend_migrations',
13 13
         'extends' => 'xPDO\\Om\\xPDOSimpleObject',
14 14
         'fields' => 
15
-        array (
15
+        array(
16 16
             'project' => 'local',
17 17
             'name' => NULL,
18 18
             'version' => NULL,
@@ -25,9 +25,9 @@  discard block
 block discarded – undo
25 25
             'ran_sequence' => NULL,
26 26
         ),
27 27
         'fieldMeta' => 
28
-        array (
28
+        array(
29 29
             'project' =>
30
-            array (
30
+            array(
31 31
                 'dbtype' => 'varchar',
32 32
                 'precision' => '255',
33 33
                 'phptype' => 'string',
@@ -35,21 +35,21 @@  discard block
 block discarded – undo
35 35
                 'default' => 'local',
36 36
             ),
37 37
             'name' => 
38
-            array (
38
+            array(
39 39
                 'dbtype' => 'varchar',
40 40
                 'precision' => '255',
41 41
                 'phptype' => 'string',
42 42
                 'null' => false,
43 43
             ),
44 44
             'version' => 
45
-            array (
45
+            array(
46 46
                 'dbtype' => 'varchar',
47 47
                 'precision' => '32',
48 48
                 'phptype' => 'string',
49 49
                 'null' => true,
50 50
             ),
51 51
             'type' => 
52
-            array (
52
+            array(
53 53
                 'dbtype' => 'set',
54 54
                 'precision' => '\'master\',\'stagging\',\'dev\',\'local\'',
55 55
                 'phptype' => 'string',
@@ -57,13 +57,13 @@  discard block
 block discarded – undo
57 57
                 'default' => 'master',
58 58
             ),
59 59
             'description' => 
60
-            array (
60
+            array(
61 61
                 'dbtype' => 'text',
62 62
                 'phptype' => 'string',
63 63
                 'null' => true,
64 64
             ),
65 65
             'status' => 
66
-            array (
66
+            array(
67 67
                 'dbtype' => 'varchar',
68 68
                 'precision' => '16',
69 69
                 'phptype' => 'string',
@@ -71,21 +71,21 @@  discard block
 block discarded – undo
71 71
                 'default' => 'ready',
72 72
             ),
73 73
             'author' => 
74
-            array (
74
+            array(
75 75
                 'dbtype' => 'varchar',
76 76
                 'precision' => '255',
77 77
                 'phptype' => 'string',
78 78
                 'null' => true,
79 79
             ),
80 80
             'created_at' => 
81
-            array (
81
+            array(
82 82
                 'dbtype' => 'timestamp',
83 83
                 'phptype' => 'timestamp',
84 84
                 'null' => false,
85 85
                 'default' => 'CURRENT_TIMESTAMP',
86 86
             ),
87 87
             'processed_at' => 
88
-            array (
88
+            array(
89 89
                 'dbtype' => 'timestamp',
90 90
                 'phptype' => 'timestamp',
91 91
                 'null' => true,
Please login to merge, or discard this patch.