Completed
Pull Request — master (#131)
by De Cramer
05:13 queued 02:26
created
src/eXpansion/Framework/PlayersBundle/Model/Map/PlayerTableMap.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -178,11 +178,11 @@  discard block
 block discarded – undo
178 178
     public function buildRelations()
179 179
     {
180 180
         $this->addRelation('Record', '\\eXpansion\\Bundle\\LocalRecords\\Model\\Record', RelationMap::ONE_TO_MANY, array (
181
-  0 =>
182
-  array (
181
+    0 =>
182
+    array (
183 183
     0 => ':player_id',
184 184
     1 => ':id',
185
-  ),
185
+    ),
186 186
 ), null, null, 'Records', false);
187 187
     } // buildRelations()
188 188
 
@@ -381,8 +381,8 @@  discard block
 block discarded – undo
381 381
      * @throws PropelException Any exceptions caught during processing will be
382 382
      *                         rethrown wrapped into a PropelException.
383 383
      */
384
-     public static function doDelete($values, ConnectionInterface $con = null)
385
-     {
384
+        public static function doDelete($values, ConnectionInterface $con = null)
385
+        {
386 386
         if (null === $con) {
387 387
             $con = Propel::getServiceContainer()->getWriteConnection(PlayerTableMap::DATABASE_NAME);
388 388
         }
Please login to merge, or discard this patch.
src/eXpansion/Framework/PlayersBundle/Model/Base/Player.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -904,7 +904,7 @@  discard block
 block discarded – undo
904 904
             throw new PropelException('Cannot insert a value for auto-increment primary key (' . PlayerTableMap::COL_ID . ')');
905 905
         }
906 906
 
907
-         // check the columns in natural order for more readable SQL queries
907
+            // check the columns in natural order for more readable SQL queries
908 908
         if ($this->isColumnModified(PlayerTableMap::COL_ID)) {
909 909
             $modifiedColumns[':p' . $index++]  = 'id';
910 910
         }
@@ -1224,25 +1224,25 @@  discard block
 block discarded – undo
1224 1224
         }
1225 1225
     }
1226 1226
 
1227
-     /**
1228
-     * Populate the current object from a string, using a given parser format
1229
-     * <code>
1230
-     * $book = new Book();
1231
-     * $book->importFrom('JSON', '{"Id":9012,"Title":"Don Juan","ISBN":"0140422161","Price":12.99,"PublisherId":1234,"AuthorId":5678}');
1232
-     * </code>
1233
-     *
1234
-     * You can specify the key type of the array by additionally passing one
1235
-     * of the class type constants TableMap::TYPE_PHPNAME, TableMap::TYPE_CAMELNAME,
1236
-     * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM.
1237
-     * The default key type is the column's TableMap::TYPE_PHPNAME.
1238
-     *
1239
-     * @param mixed $parser A AbstractParser instance,
1240
-     *                       or a format name ('XML', 'YAML', 'JSON', 'CSV')
1241
-     * @param string $data The source data to import from
1242
-     * @param string $keyType The type of keys the array uses.
1243
-     *
1244
-     * @return $this|\eXpansion\Framework\PlayersBundle\Model\Player The current object, for fluid interface
1245
-     */
1227
+        /**
1228
+         * Populate the current object from a string, using a given parser format
1229
+         * <code>
1230
+         * $book = new Book();
1231
+         * $book->importFrom('JSON', '{"Id":9012,"Title":"Don Juan","ISBN":"0140422161","Price":12.99,"PublisherId":1234,"AuthorId":5678}');
1232
+         * </code>
1233
+         *
1234
+         * You can specify the key type of the array by additionally passing one
1235
+         * of the class type constants TableMap::TYPE_PHPNAME, TableMap::TYPE_CAMELNAME,
1236
+         * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM.
1237
+         * The default key type is the column's TableMap::TYPE_PHPNAME.
1238
+         *
1239
+         * @param mixed $parser A AbstractParser instance,
1240
+         *                       or a format name ('XML', 'YAML', 'JSON', 'CSV')
1241
+         * @param string $data The source data to import from
1242
+         * @param string $keyType The type of keys the array uses.
1243
+         *
1244
+         * @return $this|\eXpansion\Framework\PlayersBundle\Model\Player The current object, for fluid interface
1245
+         */
1246 1246
     public function importFrom($parser, $data, $keyType = TableMap::TYPE_PHPNAME)
1247 1247
     {
1248 1248
         if (!$parser instanceof AbstractParser) {
Please login to merge, or discard this patch.
src/eXpansion/Framework/PlayersBundle/Model/Base/PlayerQuery.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,6 @@
 block discarded – undo
70 70
  * @method     ChildPlayer findOneByWins(int $wins) Return the first ChildPlayer filtered by the wins column
71 71
  * @method     ChildPlayer findOneByOnlineTime(int $online_time) Return the first ChildPlayer filtered by the online_time column
72 72
  * @method     ChildPlayer findOneByLastOnline(string $last_online) Return the first ChildPlayer filtered by the last_online column *
73
-
74 73
  * @method     ChildPlayer requirePk($key, ConnectionInterface $con = null) Return the ChildPlayer by primary key and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
75 74
  * @method     ChildPlayer requireOne(ConnectionInterface $con = null) Return the first ChildPlayer matching the query and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
76 75
  *
Please login to merge, or discard this patch.
src/eXpansion/Bundle/LocalRecords/Model/Map/RecordTableMap.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -189,11 +189,11 @@  discard block
 block discarded – undo
189 189
     public function buildRelations()
190 190
     {
191 191
         $this->addRelation('Player', '\\eXpansion\\Framework\\PlayersBundle\\Model\\Player', RelationMap::MANY_TO_ONE, array (
192
-  0 =>
193
-  array (
192
+    0 =>
193
+    array (
194 194
     0 => ':player_id',
195 195
     1 => ':id',
196
-  ),
196
+    ),
197 197
 ), null, null, null, false);
198 198
     } // buildRelations()
199 199
 
@@ -409,8 +409,8 @@  discard block
 block discarded – undo
409 409
      * @throws PropelException Any exceptions caught during processing will be
410 410
      *                         rethrown wrapped into a PropelException.
411 411
      */
412
-     public static function doDelete($values, ConnectionInterface $con = null)
413
-     {
412
+        public static function doDelete($values, ConnectionInterface $con = null)
413
+        {
414 414
         if (null === $con) {
415 415
             $con = Propel::getServiceContainer()->getWriteConnection(RecordTableMap::DATABASE_NAME);
416 416
         }
Please login to merge, or discard this patch.
src/eXpansion/Bundle/LocalRecords/Model/Base/RecordQuery.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,6 @@
 block discarded – undo
76 76
  * @method     ChildRecord findOneByPlayerId(int $player_id) Return the first ChildRecord filtered by the player_id column
77 77
  * @method     ChildRecord findOneByCreatedAt(string $created_at) Return the first ChildRecord filtered by the created_at column
78 78
  * @method     ChildRecord findOneByUpdatedAt(string $updated_at) Return the first ChildRecord filtered by the updated_at column *
79
-
80 79
  * @method     ChildRecord requirePk($key, ConnectionInterface $con = null) Return the ChildRecord by primary key and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
81 80
  * @method     ChildRecord requireOne(ConnectionInterface $con = null) Return the first ChildRecord matching the query and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
82 81
  *
Please login to merge, or discard this patch.
src/eXpansion/Bundle/LocalRecords/Model/Base/Record.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -999,7 +999,7 @@  discard block
 block discarded – undo
999 999
             throw new PropelException('Cannot insert a value for auto-increment primary key (' . RecordTableMap::COL_ID . ')');
1000 1000
         }
1001 1001
 
1002
-         // check the columns in natural order for more readable SQL queries
1002
+            // check the columns in natural order for more readable SQL queries
1003 1003
         if ($this->isColumnModified(RecordTableMap::COL_ID)) {
1004 1004
             $modifiedColumns[':p' . $index++]  = 'id';
1005 1005
         }
@@ -1355,25 +1355,25 @@  discard block
 block discarded – undo
1355 1355
         }
1356 1356
     }
1357 1357
 
1358
-     /**
1359
-     * Populate the current object from a string, using a given parser format
1360
-     * <code>
1361
-     * $book = new Book();
1362
-     * $book->importFrom('JSON', '{"Id":9012,"Title":"Don Juan","ISBN":"0140422161","Price":12.99,"PublisherId":1234,"AuthorId":5678}');
1363
-     * </code>
1364
-     *
1365
-     * You can specify the key type of the array by additionally passing one
1366
-     * of the class type constants TableMap::TYPE_PHPNAME, TableMap::TYPE_CAMELNAME,
1367
-     * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM.
1368
-     * The default key type is the column's TableMap::TYPE_PHPNAME.
1369
-     *
1370
-     * @param mixed $parser A AbstractParser instance,
1371
-     *                       or a format name ('XML', 'YAML', 'JSON', 'CSV')
1372
-     * @param string $data The source data to import from
1373
-     * @param string $keyType The type of keys the array uses.
1374
-     *
1375
-     * @return $this|\eXpansion\Bundle\LocalRecords\Model\Record The current object, for fluid interface
1376
-     */
1358
+        /**
1359
+         * Populate the current object from a string, using a given parser format
1360
+         * <code>
1361
+         * $book = new Book();
1362
+         * $book->importFrom('JSON', '{"Id":9012,"Title":"Don Juan","ISBN":"0140422161","Price":12.99,"PublisherId":1234,"AuthorId":5678}');
1363
+         * </code>
1364
+         *
1365
+         * You can specify the key type of the array by additionally passing one
1366
+         * of the class type constants TableMap::TYPE_PHPNAME, TableMap::TYPE_CAMELNAME,
1367
+         * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM.
1368
+         * The default key type is the column's TableMap::TYPE_PHPNAME.
1369
+         *
1370
+         * @param mixed $parser A AbstractParser instance,
1371
+         *                       or a format name ('XML', 'YAML', 'JSON', 'CSV')
1372
+         * @param string $data The source data to import from
1373
+         * @param string $keyType The type of keys the array uses.
1374
+         *
1375
+         * @return $this|\eXpansion\Bundle\LocalRecords\Model\Record The current object, for fluid interface
1376
+         */
1377 1377
     public function importFrom($parser, $data, $keyType = TableMap::TYPE_PHPNAME)
1378 1378
     {
1379 1379
         if (!$parser instanceof AbstractParser) {
Please login to merge, or discard this patch.