@@ -37,7 +37,7 @@ |
||
| 37 | 37 | continue; |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - if (! preg_match("/{$this->filePattern}/", $file->getFilename())) { |
|
| 40 | + if (!preg_match("/{$this->filePattern}/", $file->getFilename())) { |
|
| 41 | 41 | continue; |
| 42 | 42 | } |
| 43 | 43 | |
@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | abstract class FileSystemTest extends PHPUnit_Framework_TestCase |
| 4 | 4 | { |
| 5 | 5 | |
| 6 | - protected $path = __DIR__ . '/temp'; |
|
| 6 | + protected $path = __DIR__ . '/temp'; |
|
| 7 | 7 | |
| 8 | 8 | protected function createTempFolder() |
| 9 | 9 | { |
@@ -20,13 +20,13 @@ discard block |
||
| 20 | 20 | |
| 21 | 21 | public function setup() |
| 22 | 22 | { |
| 23 | - parent::setup(); |
|
| 23 | + parent::setup(); |
|
| 24 | 24 | $this->createTempFolder(); |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | public function teardown() |
| 28 | 28 | { |
| 29 | - parent::teardown(); |
|
| 29 | + parent::teardown(); |
|
| 30 | 30 | $this->removeTempFolder(); |
| 31 | 31 | } |
| 32 | 32 | } |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | abstract class FileSystemTest extends PHPUnit_Framework_TestCase |
| 4 | 4 | { |
| 5 | 5 | |
| 6 | - protected $path = __DIR__ . '/temp'; |
|
| 6 | + protected $path = __DIR__.'/temp'; |
|
| 7 | 7 | |
| 8 | 8 | protected function createTempFolder() |
| 9 | 9 | { |
@@ -7,7 +7,7 @@ discard block |
||
| 7 | 7 | */ |
| 8 | 8 | public function it_can_get_a_php_file_from_a_folder() |
| 9 | 9 | { |
| 10 | - file_put_contents("{$this->path}/foobar.php", 'foobar.txt'); |
|
| 10 | + file_put_contents("{$this->path}/foobar.php", 'foobar.txt'); |
|
| 11 | 11 | $files = $this->fileCollector |
| 12 | 12 | ->get('.php') |
| 13 | 13 | ->from($this->path); |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | public function setup() |
| 20 | 20 | { |
| 21 | - parent::setup(); |
|
| 21 | + parent::setup(); |
|
| 22 | 22 | $this->fileCollector = new Bmitch\Envsync\Collectors\FileCollector; |
| 23 | 23 | } |
| 24 | 24 | } |