@@ -4,7 +4,7 @@ |
||
4 | 4 | { |
5 | 5 | public function _before(CliGuy $I) |
6 | 6 | { |
7 | - $I->amInPath(codecept_data_dir().'sandbox'); |
|
7 | + $I->amInPath(codecept_data_dir() . 'sandbox'); |
|
8 | 8 | } |
9 | 9 | |
10 | 10 | public function toCreateDir(CliGuy $I) |
@@ -8,6 +8,6 @@ |
||
8 | 8 | ->run(); |
9 | 9 | $I->dontSeeFileFound('box', 'sandbox'); |
10 | 10 | $I->dontSeeFileFound('robo.txt', 'sandbox'); |
11 | -$I->dontSeeFileFound('a.txt' , 'sandbox'); |
|
11 | +$I->dontSeeFileFound('a.txt', 'sandbox'); |
|
12 | 12 | |
13 | 13 |
@@ -11,8 +11,8 @@ |
||
11 | 11 | $initialFileSize = filesize($sampleCss); |
12 | 12 | |
13 | 13 | $I->taskMinify($sampleCss) |
14 | - ->to('minifiedSample.css') |
|
15 | - ->run(); |
|
14 | + ->to('minifiedSample.css') |
|
15 | + ->run(); |
|
16 | 16 | |
17 | 17 | $I->seeFileFound($outputCss); |
18 | 18 | $minifiedFileSize = filesize($outputCss); |
@@ -3,7 +3,7 @@ |
||
3 | 3 | $I = new CliGuy($scenario); |
4 | 4 | |
5 | 5 | $I->wantTo('minify a css file'); |
6 | -$I->amInPath(codecept_data_dir().'sandbox'); |
|
6 | +$I->amInPath(codecept_data_dir() . 'sandbox'); |
|
7 | 7 | |
8 | 8 | $sampleCss = dirname(__DIR__) . '/_data/sample.css'; |
9 | 9 | $outputCss = 'minifiedSample.css'; |
@@ -2,9 +2,9 @@ |
||
2 | 2 | $I = new CliGuy($scenario); |
3 | 3 | |
4 | 4 | $I->wantTo('flatten dir with FlattenDir task including parents'); |
5 | -$I->amInPath(codecept_data_dir().'sandbox'); |
|
5 | +$I->amInPath(codecept_data_dir() . 'sandbox'); |
|
6 | 6 | $I->taskFlattenDir('some/deeply/nested/*.re') |
7 | - ->includeParents(array(1,1)) |
|
7 | + ->includeParents(array(1, 1)) |
|
8 | 8 | ->parentDir('some') |
9 | 9 | ->to('flattened') |
10 | 10 | ->run(); |
@@ -1,6 +1,5 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use AspectMock\Test as test; |
|
4 | 3 | use Robo\Robo; |
5 | 4 | |
6 | 5 | class RsyncTest extends \Codeception\TestCase\Test |
@@ -1,6 +1,5 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use AspectMock\Test as test; |
|
4 | 3 | use Robo\Robo; |
5 | 4 | |
6 | 5 | class RsyncTest extends \Codeception\TestCase\Test |
@@ -3,7 +3,7 @@ |
||
3 | 3 | $I = new CliGuy($scenario); |
4 | 4 | |
5 | 5 | $I->wantTo('minify a css file'); |
6 | -$I->amInPath(codecept_data_dir().'sandbox'); |
|
6 | +$I->amInPath(codecept_data_dir() . 'sandbox'); |
|
7 | 7 | |
8 | 8 | $sampleCss = dirname(__DIR__) . '/_data/sample.css'; |
9 | 9 | $outputCss = 'minifiedSample.css'; |
@@ -3,7 +3,7 @@ |
||
3 | 3 | $I = new CliGuy($scenario); |
4 | 4 | |
5 | 5 | $I->wantTo('minify a css file'); |
6 | -$I->amInPath(codecept_data_dir().'sandbox'); |
|
6 | +$I->amInPath(codecept_data_dir() . 'sandbox'); |
|
7 | 7 | |
8 | 8 | $sampleCss = dirname(__DIR__) . '/_data/sample.css'; |
9 | 9 | $outputCss = 'minifiedSample.css'; |
@@ -3,7 +3,7 @@ |
||
3 | 3 | $I = new CliGuy($scenario); |
4 | 4 | |
5 | 5 | $I->wantTo('minify a css file'); |
6 | -$I->amInPath(codecept_data_dir().'sandbox'); |
|
6 | +$I->amInPath(codecept_data_dir() . 'sandbox'); |
|
7 | 7 | |
8 | 8 | $sampleCss = dirname(__DIR__) . '/_data/sample.css'; |
9 | 9 | $outputCss = 'minifiedSample.css'; |