Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply fixes from StyleCI #1940

Merged
merged 1 commit into from
Jun 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Console/Commands/GitCommitContent.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Statamic\Console\Commands;

use Illuminate\Console\Command;
use Facades\Statamic\Git\Content;
use Illuminate\Console\Command;
use Statamic\Console\RunsInPlease;

class GitCommitContent extends Command
Expand Down
2 changes: 1 addition & 1 deletion src/Git/Content.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function statuses()
->filter
->totalCount;

return $statuses->isNotEmpty() ? $statuses : null;
return $statuses->isNotEmpty() ? $statuses : null;
}

/**
Expand Down
4 changes: 2 additions & 2 deletions tests/Git/GitContentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Tests\Git;

use Illuminate\Filesystem\Filesystem;
use Facades\Statamic\Git\Content;
use Illuminate\Filesystem\Filesystem;
use Statamic\Console\Processes\Git;
use Statamic\Console\Processes\Process;
use Statamic\Facades\Config;
Expand Down Expand Up @@ -183,7 +183,7 @@ public function it_can_run_custom_commands()
$this->files->put($logFile = $this->basePath('temp/log.txt'), '');

Config::set('statamic.git.commands', [
'echo "{{ name }} committed." >> ' . $logFile
'echo "{{ name }} committed." >> '.$logFile,
]);

Content::commit();
Expand Down