Skip to content

Commit 2881df9

Browse files
committed
rename FileAdapter to FilesystemAdapter
1 parent 6c70cde commit 2881df9

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/Brainbits/Blocking/Adapter/FileAdapter.php renamed to src/Brainbits/Blocking/Adapter/FilesystemAdapter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
use Brainbits\Blocking\Block;
1414

1515
/**
16-
* File block adapter
16+
* Filesystem block adapter
1717
* Uses files for storing block information
1818
*
1919
* @author Stephan Wentz <sw@brainbits.net>
2020
*/
21-
class FileAdapter implements AdapterInterface
21+
class FilesystemAdapter implements AdapterInterface
2222
{
2323
/**
2424
* @var string

tests/Brainbits/Block/Adapter/FileAdapterTest.php renamed to tests/Brainbits/Block/Adapter/FilesystemAdapterTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
use Brainbits\Blocking\Identifier\Identifier;
1515

1616
/**
17-
* File adapter test
17+
* Filesystem adapter test
1818
*
1919
* @author Stephan Wentz <sw@brainbits.net>
2020
*/
21-
class FileAdapterTest extends TestCase
21+
class FilesystemAdapterTest extends TestCase
2222
{
2323
/**
2424
* @var FileAdapter
@@ -35,7 +35,7 @@ public function setUp()
3535
vfsStream::setup('blockDir');
3636

3737
$this->root = vfsStream::url('blockDir');
38-
$this->adapter = new FileAdapter($this->root);
38+
$this->adapter = new FilesystemAdapter($this->root);
3939
$this->ownerMock = $this->getMockBuilder('Brainbits\Blocking\Owner\OwnerInterface')
4040
->disableOriginalConstructor()
4141
->getMock();

0 commit comments

Comments
 (0)