Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
palpalani authored and actions-user committed Nov 20, 2020
1 parent eeb8137 commit 5529c3a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/RectorTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

namespace palPalani\GrumPhpRectorTask;

use GrumPHP\Collection\FilesCollection;
use GrumPHP\Collection\ProcessArgumentsCollection;
use GrumPHP\Runner\TaskResult;
use GrumPHP\Task\Context\RunContext;
use GrumPHP\Task\AbstractExternalTask;
use GrumPHP\Collection\FilesCollection;
use GrumPHP\Runner\TaskResultInterface;
use GrumPHP\Task\Context\ContextInterface;
use GrumPHP\Task\Context\GitPreCommitContext;
use GrumPHP\Collection\ProcessArgumentsCollection;
use Symfony\Component\OptionsResolver\OptionsResolver;

final class RectorTask extends AbstractExternalTask
Expand Down Expand Up @@ -89,6 +89,7 @@ private function addPaths(
): void {
if ($context instanceof GitPreCommitContext && $config['files_on_pre_commit']) {
$arguments->addFiles($files);

return;
}

Expand Down

0 comments on commit 5529c3a

Please sign in to comment.