Skip to content

Commit

Permalink
delete: FileInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbruce committed Nov 28, 2021
1 parent 087ea22 commit 48bea9f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 22 deletions.
1 change: 0 additions & 1 deletion site-dynamic-php/src/Documents/FullNav.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use JoshBruce\SiteDynamic\Environment;

use JoshBruce\SiteDynamic\FileSystem\Finder;
use JoshBruce\SiteDynamic\FileSystem\FileInterface;
use JoshBruce\SiteDynamic\FileSystem\PlainTextFile;

class FullNav
Expand Down
4 changes: 1 addition & 3 deletions site-dynamic-php/src/FileSystem/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@

namespace JoshBruce\SiteDynamic\FileSystem;

use JoshBruce\SiteDynamic\FileSystem\FileInterface;

use SplFileInfo;

use JoshBruce\SiteDynamic\FileSystem\FileTrait;

class File implements FileInterface
class File
{
use FileTrait;

Expand Down
14 changes: 0 additions & 14 deletions site-dynamic-php/src/FileSystem/FileInterface.php

This file was deleted.

1 change: 0 additions & 1 deletion site-dynamic-php/src/FileSystem/FileTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

use SplFileInfo;

// use JoshBruce\SiteDynamic\FileSystem\FileInterface;
use JoshBruce\SiteDynamic\FileSystem\File;
use JoshBruce\SiteDynamic\FileSystem\PlainTextFile;
use JoshBruce\SiteDynamic\FileSystem\FileMimetype;
Expand Down
4 changes: 1 addition & 3 deletions site-dynamic-php/src/FileSystem/PlainTextFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

namespace JoshBruce\SiteDynamic\FileSystem;

use JoshBruce\SiteDynamic\FileSystem\FileInterface;

use DateTime;
use SplFileInfo;

Expand All @@ -17,7 +15,7 @@

use JoshBruce\SiteDynamic\FileSystem\FileTrait;

class PlainTextFile implements FileInterface
class PlainTextFile
{
use FileTrait;

Expand Down

0 comments on commit 48bea9f

Please sign in to comment.