@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHPCI - Continuous Integration for PHP. |
|
| 4 | - * |
|
| 5 | - * @copyright Copyright 2014, Block 8 Limited. |
|
| 6 | - * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md |
|
| 7 | - * |
|
| 8 | - * @link https://www.phptesting.org/ |
|
| 9 | - */ |
|
| 3 | + * PHPCI - Continuous Integration for PHP. |
|
| 4 | + * |
|
| 5 | + * @copyright Copyright 2014, Block 8 Limited. |
|
| 6 | + * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md |
|
| 7 | + * |
|
| 8 | + * @link https://www.phptesting.org/ |
|
| 9 | + */ |
|
| 10 | 10 | |
| 11 | 11 | namespace PHPCI\Service; |
| 12 | 12 | |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHPCI - Continuous Integration for PHP. |
|
| 4 | - * |
|
| 5 | - * @copyright Copyright 2014, Block 8 Limited. |
|
| 6 | - * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md |
|
| 7 | - * |
|
| 8 | - * @link https://www.phptesting.org/ |
|
| 9 | - */ |
|
| 3 | + * PHPCI - Continuous Integration for PHP. |
|
| 4 | + * |
|
| 5 | + * @copyright Copyright 2014, Block 8 Limited. |
|
| 6 | + * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md |
|
| 7 | + * |
|
| 8 | + * @link https://www.phptesting.org/ |
|
| 9 | + */ |
|
| 10 | 10 | |
| 11 | 11 | namespace PHPCI\Service; |
| 12 | 12 | |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHPCI - Continuous Integration for PHP. |
|
| 4 | - * |
|
| 5 | - * @copyright Copyright 2014, Block 8 Limited. |
|
| 6 | - * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md |
|
| 7 | - * |
|
| 8 | - * @link https://www.phptesting.org/ |
|
| 9 | - */ |
|
| 3 | + * PHPCI - Continuous Integration for PHP. |
|
| 4 | + * |
|
| 5 | + * @copyright Copyright 2014, Block 8 Limited. |
|
| 6 | + * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md |
|
| 7 | + * |
|
| 8 | + * @link https://www.phptesting.org/ |
|
| 9 | + */ |
|
| 10 | 10 | |
| 11 | 11 | namespace PHPCI\Service; |
| 12 | 12 | |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHPCI - Continuous Integration for PHP. |
|
| 4 | - * |
|
| 5 | - * @copyright Copyright 2014, Block 8 Limited. |
|
| 6 | - * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md |
|
| 7 | - * |
|
| 8 | - * @link https://www.phptesting.org/ |
|
| 9 | - */ |
|
| 3 | + * PHPCI - Continuous Integration for PHP. |
|
| 4 | + * |
|
| 5 | + * @copyright Copyright 2014, Block 8 Limited. |
|
| 6 | + * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md |
|
| 7 | + * |
|
| 8 | + * @link https://www.phptesting.org/ |
|
| 9 | + */ |
|
| 10 | 10 | |
| 11 | 11 | namespace PHPCI\Service; |
| 12 | 12 | |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHPCI - Continuous Integration for PHP. |
|
| 4 | - * |
|
| 5 | - * @copyright Copyright 2014, Block 8 Limited. |
|
| 6 | - * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md |
|
| 7 | - * |
|
| 8 | - * @link https://www.phptesting.org/ |
|
| 9 | - */ |
|
| 3 | + * PHPCI - Continuous Integration for PHP. |
|
| 4 | + * |
|
| 5 | + * @copyright Copyright 2014, Block 8 Limited. |
|
| 6 | + * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md |
|
| 7 | + * |
|
| 8 | + * @link https://www.phptesting.org/ |
|
| 9 | + */ |
|
| 10 | 10 | |
| 11 | 11 | namespace PHPCI\Service; |
| 12 | 12 | |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHPCI - Continuous Integration for PHP. |
|
| 4 | - * |
|
| 5 | - * @copyright Copyright 2014, Block 8 Limited. |
|
| 6 | - * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md |
|
| 7 | - * |
|
| 8 | - * @link https://www.phptesting.org/ |
|
| 9 | - */ |
|
| 3 | + * PHPCI - Continuous Integration for PHP. |
|
| 4 | + * |
|
| 5 | + * @copyright Copyright 2014, Block 8 Limited. |
|
| 6 | + * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md |
|
| 7 | + * |
|
| 8 | + * @link https://www.phptesting.org/ |
|
| 9 | + */ |
|
| 10 | 10 | |
| 11 | 11 | namespace PHPCI\Service; |
| 12 | 12 | |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHPCI - Continuous Integration for PHP. |
|
| 4 | - * |
|
| 5 | - * @copyright Copyright 2014, Block 8 Limited. |
|
| 6 | - * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md |
|
| 7 | - * |
|
| 8 | - * @link https://www.phptesting.org/ |
|
| 9 | - */ |
|
| 3 | + * PHPCI - Continuous Integration for PHP. |
|
| 4 | + * |
|
| 5 | + * @copyright Copyright 2014, Block 8 Limited. |
|
| 6 | + * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md |
|
| 7 | + * |
|
| 8 | + * @link https://www.phptesting.org/ |
|
| 9 | + */ |
|
| 10 | 10 | |
| 11 | 11 | namespace PHPCI\Service; |
| 12 | 12 | |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHPCI - Continuous Integration for PHP. |
|
| 4 | - * |
|
| 5 | - * @copyright Copyright 2014, Block 8 Limited. |
|
| 6 | - * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md |
|
| 7 | - * |
|
| 8 | - * @link https://www.phptesting.org/ |
|
| 9 | - */ |
|
| 3 | + * PHPCI - Continuous Integration for PHP. |
|
| 4 | + * |
|
| 5 | + * @copyright Copyright 2014, Block 8 Limited. |
|
| 6 | + * @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md |
|
| 7 | + * |
|
| 8 | + * @link https://www.phptesting.org/ |
|
| 9 | + */ |
|
| 10 | 10 | |
| 11 | 11 | namespace PHPCI\Service; |
| 12 | 12 | |
@@ -66,12 +66,12 @@ discard block |
||
| 66 | 66 | $query = 'SELECT * FROM `project` WHERE `title` = :title LIMIT :limit'; |
| 67 | 67 | $stmt = Database::getConnection($useConnection)->prepare($query); |
| 68 | 68 | $stmt->bindValue(':title', $value); |
| 69 | - $stmt->bindValue(':limit', (int) $limit, \PDO::PARAM_INT); |
|
| 69 | + $stmt->bindValue(':limit', (int)$limit, \PDO::PARAM_INT); |
|
| 70 | 70 | |
| 71 | 71 | if ($stmt->execute()) { |
| 72 | 72 | $res = $stmt->fetchAll(\PDO::FETCH_ASSOC); |
| 73 | 73 | |
| 74 | - $map = function ($item) { |
|
| 74 | + $map = function($item) { |
|
| 75 | 75 | return new Project($item); |
| 76 | 76 | }; |
| 77 | 77 | $rtn = array_map($map, $res); |
@@ -98,12 +98,12 @@ discard block |
||
| 98 | 98 | $query = 'SELECT * FROM `project` WHERE `group_id` = :group_id LIMIT :limit'; |
| 99 | 99 | $stmt = Database::getConnection($useConnection)->prepare($query); |
| 100 | 100 | $stmt->bindValue(':group_id', $value); |
| 101 | - $stmt->bindValue(':limit', (int) $limit, \PDO::PARAM_INT); |
|
| 101 | + $stmt->bindValue(':limit', (int)$limit, \PDO::PARAM_INT); |
|
| 102 | 102 | |
| 103 | 103 | if ($stmt->execute()) { |
| 104 | 104 | $res = $stmt->fetchAll(\PDO::FETCH_ASSOC); |
| 105 | 105 | |
| 106 | - $map = function ($item) { |
|
| 106 | + $map = function($item) { |
|
| 107 | 107 | return new Project($item); |
| 108 | 108 | }; |
| 109 | 109 | $rtn = array_map($map, $res); |