@@ -191,7 +191,7 @@ |
||
| 191 | 191 | array( |
| 192 | 192 | 'pass' => false, |
| 193 | 193 | 'severity' => 'fail', |
| 194 | - 'message' => 'FOO' . PHP_EOL . 'BAR', |
|
| 194 | + 'message' => 'FOO'.PHP_EOL.'BAR', |
|
| 195 | 195 | ), |
| 196 | 196 | ), $result); |
| 197 | 197 | |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | protected function phpciSetup() |
| 28 | 28 | { |
| 29 | 29 | $this->setUpFromFile( |
| 30 | - __DIR__ . "/../../../../vendor/composer/installed.json" |
|
| 30 | + __DIR__."/../../../../vendor/composer/installed.json" |
|
| 31 | 31 | ); |
| 32 | 32 | } |
| 33 | 33 | |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | public function testGetInstalledPlugins_returnsObjects() |
| 19 | 19 | { |
| 20 | - $pluginDirPath = realpath(__DIR__ . "/../../../../PHPCI/Plugin/"); |
|
| 20 | + $pluginDirPath = realpath(__DIR__."/../../../../PHPCI/Plugin/"); |
|
| 21 | 21 | $test = FilesPluginInformation::newFromDir($pluginDirPath); |
| 22 | 22 | $pluginInfos = $test->getInstalledPlugins(); |
| 23 | 23 | $this->assertContainsOnlyInstancesOf('stdClass', $pluginInfos); |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | |
| 26 | 26 | public function testGetPluginClasses_returnsStrings() |
| 27 | 27 | { |
| 28 | - $pluginDirPath = realpath(__DIR__ . "/../../../../PHPCI/Plugin/"); |
|
| 28 | + $pluginDirPath = realpath(__DIR__."/../../../../PHPCI/Plugin/"); |
|
| 29 | 29 | $test = FilesPluginInformation::newFromDir($pluginDirPath); |
| 30 | 30 | $pluginInfos = $test->getPluginClasses(); |
| 31 | 31 | $this->assertContainsOnly('string', $pluginInfos); |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | * @link https://www.phptesting.org/ |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | -return function (PHPCI\Plugin\Util\Factory $factory) { |
|
| 11 | +return function(PHPCI\Plugin\Util\Factory $factory) { |
|
| 12 | 12 | $factory->registerResource( |
| 13 | 13 | // This function will be called when the resource is needed. |
| 14 | 14 | function() { |
@@ -74,6 +74,6 @@ |
||
| 74 | 74 | $commandTester = $this->getCommandTester(); |
| 75 | 75 | $commandTester->execute(array()); |
| 76 | 76 | |
| 77 | - $this->assertEquals('User account created!' . PHP_EOL, $commandTester->getDisplay()); |
|
| 77 | + $this->assertEquals('User account created!'.PHP_EOL, $commandTester->getDisplay()); |
|
| 78 | 78 | } |
| 79 | 79 | } |
@@ -1,11 +1,11 @@ |
||
| 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 | - * @link http://www.phptesting.org/ |
|
| 8 | - */ |
|
| 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 | + * @link http://www.phptesting.org/ |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | namespace Tests\PHPCI\Command; |
| 11 | 11 | |
@@ -1,11 +1,11 @@ |
||
| 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 | - * @link http://www.phptesting.org/ |
|
| 8 | - */ |
|
| 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 | + * @link http://www.phptesting.org/ |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | namespace PHPCI\Service\Tests; |
| 11 | 11 | |
@@ -35,8 +35,8 @@ |
||
| 35 | 35 | { |
| 36 | 36 | $this->mockProjectStore = $this->getMock('PHPCI\Store\ProjectStore'); |
| 37 | 37 | $this->mockProjectStore->expects($this->any()) |
| 38 | - ->method('save') |
|
| 39 | - ->will($this->returnArgument(0)); |
|
| 38 | + ->method('save') |
|
| 39 | + ->will($this->returnArgument(0)); |
|
| 40 | 40 | |
| 41 | 41 | $this->testedService = new ProjectService($this->mockProjectStore); |
| 42 | 42 | } |
@@ -34,8 +34,8 @@ |
||
| 34 | 34 | { |
| 35 | 35 | $this->mockUserStore = $this->getMock('PHPCI\Store\UserStore'); |
| 36 | 36 | $this->mockUserStore->expects($this->any()) |
| 37 | - ->method('save') |
|
| 38 | - ->will($this->returnArgument(0)); |
|
| 37 | + ->method('save') |
|
| 38 | + ->will($this->returnArgument(0)); |
|
| 39 | 39 | |
| 40 | 40 | $this->testedService = new UserService($this->mockUserStore); |
| 41 | 41 | } |