@@ -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 | |
@@ -83,11 +83,11 @@ discard block |
||
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | if (array_key_exists('allow_public_status', $options)) { |
| 86 | - $project->setAllowPublicStatus((int) $options['allow_public_status']); |
|
| 86 | + $project->setAllowPublicStatus((int)$options['allow_public_status']); |
|
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | if (array_key_exists('archived', $options)) { |
| 90 | - $project->setArchived((bool) $options['archived']); |
|
| 90 | + $project->setArchived((bool)$options['archived']); |
|
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | if (array_key_exists('branch', $options)) { |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | * |
| 125 | 125 | * @param Project $project |
| 126 | 126 | */ |
| 127 | - protected function processAccessInformation(Project &$project) |
|
| 127 | + protected function processAccessInformation(Project&$project) |
|
| 128 | 128 | { |
| 129 | 129 | $matches = array(); |
| 130 | 130 | $reference = $project->getReference(); |