Skip to content

Commit af14c49

Browse files
committed
Does this pass?
1 parent 86fe776 commit af14c49

File tree

5 files changed

+1
-13
lines changed

5 files changed

+1
-13
lines changed

src/Configurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function normalize()
6161

6262
$this->preparePhpCsFixer();
6363

64-
Process::run(['vendor/bin/php-cs-fixer', 'fix', $path, '--rules', $rules]);
64+
Process::run([getcwd().'/vendor/bin/php-cs-fixer', 'fix', $path, '--rules', $rules]);
6565

6666
return $this;
6767
}

tests/ConfiguratorTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Tests;
44

5-
use Facades\Statamic\Console\Processes\Process;
65
use Statamic\Facades\Path;
76
use Statamic\Migrator\Configurator;
87

@@ -15,8 +14,6 @@ public function setUp(): void
1514
$this->files->copy(__DIR__.'/Fixtures/config/configurator-test.php', $this->path());
1615

1716
$this->configurator = Configurator::file('statamic/configurator-test.php');
18-
19-
Process::swap(new \Statamic\Console\Processes\Process(__DIR__.'/../'));
2017
}
2118

2219
protected function path()

tests/MigrateAssetContainerTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Tests;
44

5-
use Facades\Statamic\Console\Processes\Process;
65
use Statamic\Facades\Path;
76
use Statamic\Migrator\Configurator;
87
use Statamic\Migrator\YAML;
@@ -15,8 +14,6 @@ public function setUp(): void
1514
parent::setUp();
1615

1716
$this->configurator = Configurator::file('filesystems.php');
18-
19-
Process::swap(new \Statamic\Console\Processes\Process(__DIR__.'/../'));
2017
}
2118

2219
protected function paths()

tests/MigrateSettingsTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Tests;
44

5-
use Facades\Statamic\Console\Processes\Process;
65
use Illuminate\Support\Facades\File;
76

87
class MigrateSettingsTest extends TestCase
@@ -20,8 +19,6 @@ public function setUp(): void
2019
{
2120
parent::setUp();
2221

23-
Process::swap(new \Statamic\Console\Processes\Process(__DIR__.'/../'));
24-
2522
$this->files->copy(__DIR__.'/Fixtures/routes/web.php', $this->paths('routesFile'));
2623
}
2724

tests/MigrateSiteTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Tests;
44

5-
use Facades\Statamic\Console\Processes\Process;
65
use Statamic\Facades\Path;
76
use Statamic\Migrator\Configurator;
87
use Statamic\Migrator\YAML;
@@ -55,8 +54,6 @@ protected function setUp(): void
5554
$this->files->copyDirectory(__DIR__.'/Fixtures/site', base_path('site'));
5655
$this->files->copyDirectory(__DIR__.'/Fixtures/assets', base_path('assets'));
5756
$this->files->copy(__DIR__.'/Fixtures/routes/web.php', $this->paths('routesFile'));
58-
59-
Process::swap(new \Statamic\Console\Processes\Process(__DIR__.'/../'));
6057
}
6158

6259
/** @test */

0 commit comments

Comments
 (0)