Completed
Push — master ( 33443d...de9a4e )
by Sam
03:47
created
migrations/PropelMigration_1455268734.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function getUpSQL()
39 39
     {
40
-        return array (
40
+        return array(
41 41
   'tvheadend_status_manager' => '
42 42
 PRAGMA foreign_keys = OFF;
43 43
 
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      */
71 71
     public function getDownSQL()
72 72
     {
73
-        return array (
73
+        return array(
74 74
   'tvheadend_status_manager' => '
75 75
 PRAGMA foreign_keys = OFF;
76 76
 
Please login to merge, or discard this patch.
migrations/PropelMigration_1455269307.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function getUpSQL()
39 39
     {
40
-        return array (
40
+        return array(
41 41
   'tvheadend_status_manager' => '
42 42
 PRAGMA foreign_keys = OFF;
43 43
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function getDownSQL()
58 58
     {
59
-        return array (
59
+        return array(
60 60
   'tvheadend_status_manager' => '
61 61
 PRAGMA foreign_keys = OFF;
62 62
 
Please login to merge, or discard this patch.
migrations/PropelMigration_1455269455.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function getUpSQL()
39 39
     {
40
-        return array (
40
+        return array(
41 41
   'tvheadend_status_manager' => '
42 42
 PRAGMA foreign_keys = OFF;
43 43
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public function getDownSQL()
81 81
     {
82
-        return array (
82
+        return array(
83 83
   'tvheadend_status_manager' => '
84 84
 PRAGMA foreign_keys = OFF;
85 85
 
Please login to merge, or discard this patch.
migrations/PropelMigration_1455269809.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function getUpSQL()
39 39
     {
40
-        return array (
40
+        return array(
41 41
   'tvheadend_status_manager' => '
42 42
 PRAGMA foreign_keys = OFF;
43 43
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public function getDownSQL()
81 81
     {
82
-        return array (
82
+        return array(
83 83
   'tvheadend_status_manager' => '
84 84
 PRAGMA foreign_keys = OFF;
85 85
 
Please login to merge, or discard this patch.
src/cli/Database/Base/Input.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
         $propertyNames = [];
361 361
         $serializableProperties = array_diff($cls->getProperties(), $cls->getProperties(\ReflectionProperty::IS_STATIC));
362 362
 
363
-        foreach($serializableProperties as $property) {
363
+        foreach ($serializableProperties as $property) {
364 364
             $propertyNames[] = $property->getName();
365 365
         }
366 366
 
@@ -744,7 +744,7 @@  discard block
 block discarded – undo
744 744
             $con = Propel::getServiceContainer()->getWriteConnection(InputTableMap::DATABASE_NAME);
745 745
         }
746 746
 
747
-        $con->transaction(function () use ($con) {
747
+        $con->transaction(function() use ($con) {
748 748
             $deleteQuery = ChildInputQuery::create()
749 749
                 ->filterByPrimaryKey($this->getPrimaryKey());
750 750
             $ret = $this->preDelete($con);
@@ -779,7 +779,7 @@  discard block
 block discarded – undo
779 779
             $con = Propel::getServiceContainer()->getWriteConnection(InputTableMap::DATABASE_NAME);
780 780
         }
781 781
 
782
-        return $con->transaction(function () use ($con) {
782
+        return $con->transaction(function() use ($con) {
783 783
             $isInsert = $this->isNew();
784 784
             $ret = $this->preSave($con);
785 785
             if ($isInsert) {
@@ -1074,7 +1074,7 @@  discard block
 block discarded – undo
1074 1074
                         $key = 'Instance';
1075 1075
                 }
1076 1076
 
1077
-                $result[$key] = $this->aInstance->toArray($keyType, $includeLazyLoadColumns,  $alreadyDumpedObjects, true);
1077
+                $result[$key] = $this->aInstance->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true);
1078 1078
             }
1079 1079
             if (null !== $this->collSubscriptions) {
1080 1080
 
@@ -1519,7 +1519,7 @@  discard block
 block discarded – undo
1519 1519
     public function getSubscriptions(Criteria $criteria = null, ConnectionInterface $con = null)
1520 1520
     {
1521 1521
         $partial = $this->collSubscriptionsPartial && !$this->isNew();
1522
-        if (null === $this->collSubscriptions || null !== $criteria  || $partial) {
1522
+        if (null === $this->collSubscriptions || null !== $criteria || $partial) {
1523 1523
             if ($this->isNew() && null === $this->collSubscriptions) {
1524 1524
                 // return empty collection
1525 1525
                 $this->initSubscriptions();
@@ -1657,7 +1657,7 @@  discard block
 block discarded – undo
1657 1657
      */
1658 1658
     protected function doAddSubscription(ChildSubscription $subscription)
1659 1659
     {
1660
-        $this->collSubscriptions[]= $subscription;
1660
+        $this->collSubscriptions[] = $subscription;
1661 1661
         $subscription->setInput($this);
1662 1662
     }
1663 1663
 
@@ -1674,7 +1674,7 @@  discard block
 block discarded – undo
1674 1674
                 $this->subscriptionsScheduledForDeletion = clone $this->collSubscriptions;
1675 1675
                 $this->subscriptionsScheduledForDeletion->clear();
1676 1676
             }
1677
-            $this->subscriptionsScheduledForDeletion[]= $subscription;
1677
+            $this->subscriptionsScheduledForDeletion[] = $subscription;
1678 1678
             $subscription->setInput(null);
1679 1679
         }
1680 1680
 
Please login to merge, or discard this patch.
src/cli/Database/Base/Instance.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -369,7 +369,7 @@  discard block
 block discarded – undo
369 369
         $propertyNames = [];
370 370
         $serializableProperties = array_diff($cls->getProperties(), $cls->getProperties(\ReflectionProperty::IS_STATIC));
371 371
 
372
-        foreach($serializableProperties as $property) {
372
+        foreach ($serializableProperties as $property) {
373 373
             $propertyNames[] = $property->getName();
374 374
         }
375 375
 
@@ -545,7 +545,7 @@  discard block
 block discarded – undo
545 545
             $con = Propel::getServiceContainer()->getWriteConnection(InstanceTableMap::DATABASE_NAME);
546 546
         }
547 547
 
548
-        $con->transaction(function () use ($con) {
548
+        $con->transaction(function() use ($con) {
549 549
             $deleteQuery = ChildInstanceQuery::create()
550 550
                 ->filterByPrimaryKey($this->getPrimaryKey());
551 551
             $ret = $this->preDelete($con);
@@ -580,7 +580,7 @@  discard block
 block discarded – undo
580 580
             $con = Propel::getServiceContainer()->getWriteConnection(InstanceTableMap::DATABASE_NAME);
581 581
         }
582 582
 
583
-        return $con->transaction(function () use ($con) {
583
+        return $con->transaction(function() use ($con) {
584 584
             $isInsert = $this->isNew();
585 585
             $ret = $this->preSave($con);
586 586
             if ($isInsert) {
@@ -741,7 +741,7 @@  discard block
 block discarded – undo
741 741
 
742 742
          // check the columns in natural order for more readable SQL queries
743 743
         if ($this->isColumnModified(InstanceTableMap::COL_NAME)) {
744
-            $modifiedColumns[':p' . $index++]  = 'name';
744
+            $modifiedColumns[':p' . $index++] = 'name';
745 745
         }
746 746
 
747 747
         $sql = sprintf(
@@ -1281,7 +1281,7 @@  discard block
 block discarded – undo
1281 1281
     public function getUsers(Criteria $criteria = null, ConnectionInterface $con = null)
1282 1282
     {
1283 1283
         $partial = $this->collUsersPartial && !$this->isNew();
1284
-        if (null === $this->collUsers || null !== $criteria  || $partial) {
1284
+        if (null === $this->collUsers || null !== $criteria || $partial) {
1285 1285
             if ($this->isNew() && null === $this->collUsers) {
1286 1286
                 // return empty collection
1287 1287
                 $this->initUsers();
@@ -1419,7 +1419,7 @@  discard block
 block discarded – undo
1419 1419
      */
1420 1420
     protected function doAddUser(ChildUser $user)
1421 1421
     {
1422
-        $this->collUsers[]= $user;
1422
+        $this->collUsers[] = $user;
1423 1423
         $user->setInstance($this);
1424 1424
     }
1425 1425
 
@@ -1436,7 +1436,7 @@  discard block
 block discarded – undo
1436 1436
                 $this->usersScheduledForDeletion = clone $this->collUsers;
1437 1437
                 $this->usersScheduledForDeletion->clear();
1438 1438
             }
1439
-            $this->usersScheduledForDeletion[]= clone $user;
1439
+            $this->usersScheduledForDeletion[] = clone $user;
1440 1440
             $user->setInstance(null);
1441 1441
         }
1442 1442
 
@@ -1506,7 +1506,7 @@  discard block
 block discarded – undo
1506 1506
     public function getConnections(Criteria $criteria = null, ConnectionInterface $con = null)
1507 1507
     {
1508 1508
         $partial = $this->collConnectionsPartial && !$this->isNew();
1509
-        if (null === $this->collConnections || null !== $criteria  || $partial) {
1509
+        if (null === $this->collConnections || null !== $criteria || $partial) {
1510 1510
             if ($this->isNew() && null === $this->collConnections) {
1511 1511
                 // return empty collection
1512 1512
                 $this->initConnections();
@@ -1644,7 +1644,7 @@  discard block
 block discarded – undo
1644 1644
      */
1645 1645
     protected function doAddConnection(ChildConnection $connection)
1646 1646
     {
1647
-        $this->collConnections[]= $connection;
1647
+        $this->collConnections[] = $connection;
1648 1648
         $connection->setInstance($this);
1649 1649
     }
1650 1650
 
@@ -1661,7 +1661,7 @@  discard block
 block discarded – undo
1661 1661
                 $this->connectionsScheduledForDeletion = clone $this->collConnections;
1662 1662
                 $this->connectionsScheduledForDeletion->clear();
1663 1663
             }
1664
-            $this->connectionsScheduledForDeletion[]= clone $connection;
1664
+            $this->connectionsScheduledForDeletion[] = clone $connection;
1665 1665
             $connection->setInstance(null);
1666 1666
         }
1667 1667
 
@@ -1756,7 +1756,7 @@  discard block
 block discarded – undo
1756 1756
     public function getInputs(Criteria $criteria = null, ConnectionInterface $con = null)
1757 1757
     {
1758 1758
         $partial = $this->collInputsPartial && !$this->isNew();
1759
-        if (null === $this->collInputs || null !== $criteria  || $partial) {
1759
+        if (null === $this->collInputs || null !== $criteria || $partial) {
1760 1760
             if ($this->isNew() && null === $this->collInputs) {
1761 1761
                 // return empty collection
1762 1762
                 $this->initInputs();
@@ -1894,7 +1894,7 @@  discard block
 block discarded – undo
1894 1894
      */
1895 1895
     protected function doAddInput(ChildInput $input)
1896 1896
     {
1897
-        $this->collInputs[]= $input;
1897
+        $this->collInputs[] = $input;
1898 1898
         $input->setInstance($this);
1899 1899
     }
1900 1900
 
@@ -1911,7 +1911,7 @@  discard block
 block discarded – undo
1911 1911
                 $this->inputsScheduledForDeletion = clone $this->collInputs;
1912 1912
                 $this->inputsScheduledForDeletion->clear();
1913 1913
             }
1914
-            $this->inputsScheduledForDeletion[]= clone $input;
1914
+            $this->inputsScheduledForDeletion[] = clone $input;
1915 1915
             $input->setInstance(null);
1916 1916
         }
1917 1917
 
@@ -1981,7 +1981,7 @@  discard block
 block discarded – undo
1981 1981
     public function getChannels(Criteria $criteria = null, ConnectionInterface $con = null)
1982 1982
     {
1983 1983
         $partial = $this->collChannelsPartial && !$this->isNew();
1984
-        if (null === $this->collChannels || null !== $criteria  || $partial) {
1984
+        if (null === $this->collChannels || null !== $criteria || $partial) {
1985 1985
             if ($this->isNew() && null === $this->collChannels) {
1986 1986
                 // return empty collection
1987 1987
                 $this->initChannels();
@@ -2119,7 +2119,7 @@  discard block
 block discarded – undo
2119 2119
      */
2120 2120
     protected function doAddChannel(ChildChannel $channel)
2121 2121
     {
2122
-        $this->collChannels[]= $channel;
2122
+        $this->collChannels[] = $channel;
2123 2123
         $channel->setInstance($this);
2124 2124
     }
2125 2125
 
@@ -2136,7 +2136,7 @@  discard block
 block discarded – undo
2136 2136
                 $this->channelsScheduledForDeletion = clone $this->collChannels;
2137 2137
                 $this->channelsScheduledForDeletion->clear();
2138 2138
             }
2139
-            $this->channelsScheduledForDeletion[]= clone $channel;
2139
+            $this->channelsScheduledForDeletion[] = clone $channel;
2140 2140
             $channel->setInstance(null);
2141 2141
         }
2142 2142
 
@@ -2206,7 +2206,7 @@  discard block
 block discarded – undo
2206 2206
     public function getSubscriptions(Criteria $criteria = null, ConnectionInterface $con = null)
2207 2207
     {
2208 2208
         $partial = $this->collSubscriptionsPartial && !$this->isNew();
2209
-        if (null === $this->collSubscriptions || null !== $criteria  || $partial) {
2209
+        if (null === $this->collSubscriptions || null !== $criteria || $partial) {
2210 2210
             if ($this->isNew() && null === $this->collSubscriptions) {
2211 2211
                 // return empty collection
2212 2212
                 $this->initSubscriptions();
@@ -2344,7 +2344,7 @@  discard block
 block discarded – undo
2344 2344
      */
2345 2345
     protected function doAddSubscription(ChildSubscription $subscription)
2346 2346
     {
2347
-        $this->collSubscriptions[]= $subscription;
2347
+        $this->collSubscriptions[] = $subscription;
2348 2348
         $subscription->setInstance($this);
2349 2349
     }
2350 2350
 
@@ -2361,7 +2361,7 @@  discard block
 block discarded – undo
2361 2361
                 $this->subscriptionsScheduledForDeletion = clone $this->collSubscriptions;
2362 2362
                 $this->subscriptionsScheduledForDeletion->clear();
2363 2363
             }
2364
-            $this->subscriptionsScheduledForDeletion[]= clone $subscription;
2364
+            $this->subscriptionsScheduledForDeletion[] = clone $subscription;
2365 2365
             $subscription->setInstance(null);
2366 2366
         }
2367 2367
 
Please login to merge, or discard this patch.
src/cli/Database/Base/Subscription.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -385,7 +385,7 @@  discard block
 block discarded – undo
385 385
         $propertyNames = [];
386 386
         $serializableProperties = array_diff($cls->getProperties(), $cls->getProperties(\ReflectionProperty::IS_STATIC));
387 387
 
388
-        foreach($serializableProperties as $property) {
388
+        foreach ($serializableProperties as $property) {
389 389
             $propertyNames[] = $property->getName();
390 390
         }
391 391
 
@@ -900,7 +900,7 @@  discard block
 block discarded – undo
900 900
             $con = Propel::getServiceContainer()->getWriteConnection(SubscriptionTableMap::DATABASE_NAME);
901 901
         }
902 902
 
903
-        $con->transaction(function () use ($con) {
903
+        $con->transaction(function() use ($con) {
904 904
             $deleteQuery = ChildSubscriptionQuery::create()
905 905
                 ->filterByPrimaryKey($this->getPrimaryKey());
906 906
             $ret = $this->preDelete($con);
@@ -935,7 +935,7 @@  discard block
 block discarded – undo
935 935
             $con = Propel::getServiceContainer()->getWriteConnection(SubscriptionTableMap::DATABASE_NAME);
936 936
         }
937 937
 
938
-        return $con->transaction(function () use ($con) {
938
+        return $con->transaction(function() use ($con) {
939 939
             $isInsert = $this->isNew();
940 940
             $ret = $this->preSave($con);
941 941
             if ($isInsert) {
@@ -1278,7 +1278,7 @@  discard block
 block discarded – undo
1278 1278
                         $key = 'Instance';
1279 1279
                 }
1280 1280
 
1281
-                $result[$key] = $this->aInstance->toArray($keyType, $includeLazyLoadColumns,  $alreadyDumpedObjects, true);
1281
+                $result[$key] = $this->aInstance->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true);
1282 1282
             }
1283 1283
             if (null !== $this->aInput) {
1284 1284
 
@@ -1293,7 +1293,7 @@  discard block
 block discarded – undo
1293 1293
                         $key = 'Input';
1294 1294
                 }
1295 1295
 
1296
-                $result[$key] = $this->aInput->toArray($keyType, $includeLazyLoadColumns,  $alreadyDumpedObjects, true);
1296
+                $result[$key] = $this->aInput->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true);
1297 1297
             }
1298 1298
             if (null !== $this->aUser) {
1299 1299
 
@@ -1308,7 +1308,7 @@  discard block
 block discarded – undo
1308 1308
                         $key = 'User';
1309 1309
                 }
1310 1310
 
1311
-                $result[$key] = $this->aUser->toArray($keyType, $includeLazyLoadColumns,  $alreadyDumpedObjects, true);
1311
+                $result[$key] = $this->aUser->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true);
1312 1312
             }
1313 1313
             if (null !== $this->aChannel) {
1314 1314
 
@@ -1323,7 +1323,7 @@  discard block
 block discarded – undo
1323 1323
                         $key = 'Channel';
1324 1324
                 }
1325 1325
 
1326
-                $result[$key] = $this->aChannel->toArray($keyType, $includeLazyLoadColumns,  $alreadyDumpedObjects, true);
1326
+                $result[$key] = $this->aChannel->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true);
1327 1327
             }
1328 1328
         }
1329 1329
 
Please login to merge, or discard this patch.
src/cli/Database/Map/InputTableMap.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -117,12 +117,12 @@  discard block
 block discarded – undo
117 117
      * first dimension keys are the type constants
118 118
      * e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
119 119
      */
120
-    protected static $fieldNames = array (
121
-        self::TYPE_PHPNAME       => array('Uuid', 'InstanceName', 'Started', 'Input', 'Network', 'Mux', 'Weight', ),
122
-        self::TYPE_CAMELNAME     => array('uuid', 'instanceName', 'started', 'input', 'network', 'mux', 'weight', ),
123
-        self::TYPE_COLNAME       => array(InputTableMap::COL_UUID, InputTableMap::COL_INSTANCE_NAME, InputTableMap::COL_STARTED, InputTableMap::COL_INPUT, InputTableMap::COL_NETWORK, InputTableMap::COL_MUX, InputTableMap::COL_WEIGHT, ),
124
-        self::TYPE_FIELDNAME     => array('uuid', 'instance_name', 'started', 'input', 'network', 'mux', 'weight', ),
125
-        self::TYPE_NUM           => array(0, 1, 2, 3, 4, 5, 6, )
120
+    protected static $fieldNames = array(
121
+        self::TYPE_PHPNAME       => array('Uuid', 'InstanceName', 'Started', 'Input', 'Network', 'Mux', 'Weight',),
122
+        self::TYPE_CAMELNAME     => array('uuid', 'instanceName', 'started', 'input', 'network', 'mux', 'weight',),
123
+        self::TYPE_COLNAME       => array(InputTableMap::COL_UUID, InputTableMap::COL_INSTANCE_NAME, InputTableMap::COL_STARTED, InputTableMap::COL_INPUT, InputTableMap::COL_NETWORK, InputTableMap::COL_MUX, InputTableMap::COL_WEIGHT,),
124
+        self::TYPE_FIELDNAME     => array('uuid', 'instance_name', 'started', 'input', 'network', 'mux', 'weight',),
125
+        self::TYPE_NUM           => array(0, 1, 2, 3, 4, 5, 6,)
126 126
     );
127 127
 
128 128
     /**
@@ -131,12 +131,12 @@  discard block
 block discarded – undo
131 131
      * first dimension keys are the type constants
132 132
      * e.g. self::$fieldKeys[self::TYPE_PHPNAME]['Id'] = 0
133 133
      */
134
-    protected static $fieldKeys = array (
135
-        self::TYPE_PHPNAME       => array('Uuid' => 0, 'InstanceName' => 1, 'Started' => 2, 'Input' => 3, 'Network' => 4, 'Mux' => 5, 'Weight' => 6, ),
136
-        self::TYPE_CAMELNAME     => array('uuid' => 0, 'instanceName' => 1, 'started' => 2, 'input' => 3, 'network' => 4, 'mux' => 5, 'weight' => 6, ),
137
-        self::TYPE_COLNAME       => array(InputTableMap::COL_UUID => 0, InputTableMap::COL_INSTANCE_NAME => 1, InputTableMap::COL_STARTED => 2, InputTableMap::COL_INPUT => 3, InputTableMap::COL_NETWORK => 4, InputTableMap::COL_MUX => 5, InputTableMap::COL_WEIGHT => 6, ),
138
-        self::TYPE_FIELDNAME     => array('uuid' => 0, 'instance_name' => 1, 'started' => 2, 'input' => 3, 'network' => 4, 'mux' => 5, 'weight' => 6, ),
139
-        self::TYPE_NUM           => array(0, 1, 2, 3, 4, 5, 6, )
134
+    protected static $fieldKeys = array(
135
+        self::TYPE_PHPNAME       => array('Uuid' => 0, 'InstanceName' => 1, 'Started' => 2, 'Input' => 3, 'Network' => 4, 'Mux' => 5, 'Weight' => 6,),
136
+        self::TYPE_CAMELNAME     => array('uuid' => 0, 'instanceName' => 1, 'started' => 2, 'input' => 3, 'network' => 4, 'mux' => 5, 'weight' => 6,),
137
+        self::TYPE_COLNAME       => array(InputTableMap::COL_UUID => 0, InputTableMap::COL_INSTANCE_NAME => 1, InputTableMap::COL_STARTED => 2, InputTableMap::COL_INPUT => 3, InputTableMap::COL_NETWORK => 4, InputTableMap::COL_MUX => 5, InputTableMap::COL_WEIGHT => 6,),
138
+        self::TYPE_FIELDNAME     => array('uuid' => 0, 'instance_name' => 1, 'started' => 2, 'input' => 3, 'network' => 4, 'mux' => 5, 'weight' => 6,),
139
+        self::TYPE_NUM           => array(0, 1, 2, 3, 4, 5, 6,)
140 140
     );
141 141
 
142 142
     /**
@@ -170,16 +170,16 @@  discard block
 block discarded – undo
170 170
      */
171 171
     public function buildRelations()
172 172
     {
173
-        $this->addRelation('Instance', '\\Jalle19\\StatusManager\\Database\\Instance', RelationMap::MANY_TO_ONE, array (
173
+        $this->addRelation('Instance', '\\Jalle19\\StatusManager\\Database\\Instance', RelationMap::MANY_TO_ONE, array(
174 174
   0 =>
175
-  array (
175
+  array(
176 176
     0 => ':instance_name',
177 177
     1 => ':name',
178 178
   ),
179 179
 ), null, null, null, false);
180
-        $this->addRelation('Subscription', '\\Jalle19\\StatusManager\\Database\\Subscription', RelationMap::ONE_TO_MANY, array (
180
+        $this->addRelation('Subscription', '\\Jalle19\\StatusManager\\Database\\Subscription', RelationMap::ONE_TO_MANY, array(
181 181
   0 =>
182
-  array (
182
+  array(
183 183
     0 => ':input_uuid',
184 184
     1 => ':uuid',
185 185
   ),
@@ -447,7 +447,7 @@  discard block
 block discarded – undo
447 447
 
448 448
         // use transaction because $criteria could contain info
449 449
         // for more than one table (I guess, conceivably)
450
-        return $con->transaction(function () use ($con, $query) {
450
+        return $con->transaction(function() use ($con, $query) {
451 451
             return $query->doInsert($con);
452 452
         });
453 453
     }
Please login to merge, or discard this patch.
src/cli/Database/Map/InstanceTableMap.php 1 patch
Spacing   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -87,12 +87,12 @@  discard block
 block discarded – undo
87 87
      * first dimension keys are the type constants
88 88
      * e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
89 89
      */
90
-    protected static $fieldNames = array (
91
-        self::TYPE_PHPNAME       => array('Name', ),
92
-        self::TYPE_CAMELNAME     => array('name', ),
93
-        self::TYPE_COLNAME       => array(InstanceTableMap::COL_NAME, ),
94
-        self::TYPE_FIELDNAME     => array('name', ),
95
-        self::TYPE_NUM           => array(0, )
90
+    protected static $fieldNames = array(
91
+        self::TYPE_PHPNAME       => array('Name',),
92
+        self::TYPE_CAMELNAME     => array('name',),
93
+        self::TYPE_COLNAME       => array(InstanceTableMap::COL_NAME,),
94
+        self::TYPE_FIELDNAME     => array('name',),
95
+        self::TYPE_NUM           => array(0,)
96 96
     );
97 97
 
98 98
     /**
@@ -101,12 +101,12 @@  discard block
 block discarded – undo
101 101
      * first dimension keys are the type constants
102 102
      * e.g. self::$fieldKeys[self::TYPE_PHPNAME]['Id'] = 0
103 103
      */
104
-    protected static $fieldKeys = array (
105
-        self::TYPE_PHPNAME       => array('Name' => 0, ),
106
-        self::TYPE_CAMELNAME     => array('name' => 0, ),
107
-        self::TYPE_COLNAME       => array(InstanceTableMap::COL_NAME => 0, ),
108
-        self::TYPE_FIELDNAME     => array('name' => 0, ),
109
-        self::TYPE_NUM           => array(0, )
104
+    protected static $fieldKeys = array(
105
+        self::TYPE_PHPNAME       => array('Name' => 0,),
106
+        self::TYPE_CAMELNAME     => array('name' => 0,),
107
+        self::TYPE_COLNAME       => array(InstanceTableMap::COL_NAME => 0,),
108
+        self::TYPE_FIELDNAME     => array('name' => 0,),
109
+        self::TYPE_NUM           => array(0,)
110 110
     );
111 111
 
112 112
     /**
@@ -134,37 +134,37 @@  discard block
 block discarded – undo
134 134
      */
135 135
     public function buildRelations()
136 136
     {
137
-        $this->addRelation('User', '\\Jalle19\\StatusManager\\Database\\User', RelationMap::ONE_TO_MANY, array (
137
+        $this->addRelation('User', '\\Jalle19\\StatusManager\\Database\\User', RelationMap::ONE_TO_MANY, array(
138 138
   0 =>
139
-  array (
139
+  array(
140 140
     0 => ':instance_name',
141 141
     1 => ':name',
142 142
   ),
143 143
 ), null, null, 'Users', false);
144
-        $this->addRelation('Connection', '\\Jalle19\\StatusManager\\Database\\Connection', RelationMap::ONE_TO_MANY, array (
144
+        $this->addRelation('Connection', '\\Jalle19\\StatusManager\\Database\\Connection', RelationMap::ONE_TO_MANY, array(
145 145
   0 =>
146
-  array (
146
+  array(
147 147
     0 => ':instance_name',
148 148
     1 => ':name',
149 149
   ),
150 150
 ), null, null, 'Connections', false);
151
-        $this->addRelation('Input', '\\Jalle19\\StatusManager\\Database\\Input', RelationMap::ONE_TO_MANY, array (
151
+        $this->addRelation('Input', '\\Jalle19\\StatusManager\\Database\\Input', RelationMap::ONE_TO_MANY, array(
152 152
   0 =>
153
-  array (
153
+  array(
154 154
     0 => ':instance_name',
155 155
     1 => ':name',
156 156
   ),
157 157
 ), null, null, 'Inputs', false);
158
-        $this->addRelation('Channel', '\\Jalle19\\StatusManager\\Database\\Channel', RelationMap::ONE_TO_MANY, array (
158
+        $this->addRelation('Channel', '\\Jalle19\\StatusManager\\Database\\Channel', RelationMap::ONE_TO_MANY, array(
159 159
   0 =>
160
-  array (
160
+  array(
161 161
     0 => ':instance_name',
162 162
     1 => ':name',
163 163
   ),
164 164
 ), null, null, 'Channels', false);
165
-        $this->addRelation('Subscription', '\\Jalle19\\StatusManager\\Database\\Subscription', RelationMap::ONE_TO_MANY, array (
165
+        $this->addRelation('Subscription', '\\Jalle19\\StatusManager\\Database\\Subscription', RelationMap::ONE_TO_MANY, array(
166 166
   0 =>
167
-  array (
167
+  array(
168 168
     0 => ':instance_name',
169 169
     1 => ':name',
170 170
   ),
@@ -420,7 +420,7 @@  discard block
 block discarded – undo
420 420
 
421 421
         // use transaction because $criteria could contain info
422 422
         // for more than one table (I guess, conceivably)
423
-        return $con->transaction(function () use ($con, $query) {
423
+        return $con->transaction(function() use ($con, $query) {
424 424
             return $query->doInsert($con);
425 425
         });
426 426
     }
Please login to merge, or discard this patch.