Skip to content

Commit 256040c

Browse files
committed
Apply CS Fixer
1 parent c3313ac commit 256040c

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

src/HordeLocalFileWriter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct(Filesystem $filesystem, string $baseDir, array $apps
3333
$this->filesystem = $filesystem;
3434
$this->configDir = $baseDir . '/var/config';
3535
$this->vendorDir = $baseDir . '/vendor';
36-
$this->vendorHordeDir = $this->vendorDir . DIRECTORY_SEPARATOR .'horde' . DIRECTORY_SEPARATOR . 'horde';
36+
$this->vendorHordeDir = $this->vendorDir . DIRECTORY_SEPARATOR . 'horde' . DIRECTORY_SEPARATOR . 'horde';
3737
$this->webDir = $baseDir . '/web';
3838
$this->apps = $apps;
3939
}

src/RegistrySnippetFileWriter.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,14 @@ class RegistrySnippetFileWriter
2626
* @param string[] $apps
2727
*/
2828
public function __construct(
29-
private Filesystem $filesystem,
29+
private Filesystem $filesystem,
3030
/**
3131
* The config dir for the registry
3232
*/
33-
private string $baseDir,
34-
array $apps,
33+
private string $baseDir,
34+
array $apps,
3535
private string $mode = 'symlink'
36-
)
37-
{
36+
) {
3837
/**
3938
* The config dir for the registry
4039
*/
@@ -99,7 +98,7 @@ public function run(): void
9998
} else {
10099
// A registry snippet should ensure the install dir is known
101100
$registryAppFilename = $this->configRegistryDir . '/02-location-' . $appName . '.php';
102-
$appInVendorDir= $this->baseDir . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . $appVendor . DIRECTORY_SEPARATOR . $appName . DIRECTORY_SEPARATOR;
101+
$appInVendorDir = $this->baseDir . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . $appVendor . DIRECTORY_SEPARATOR . $appName . DIRECTORY_SEPARATOR;
103102
$registryAppSnippet .=
104103
'$this->applications[\'' . $appName . '\'][\'fileroot\'] = \'' . $appInVendorDir . '\';' . PHP_EOL .
105104
'$this->applications[\'' . $appName . '\'][\'templates\'] = \'' . $appInVendorDir . 'templates' . DIRECTORY_SEPARATOR . '\';' . PHP_EOL .

test/ConfigLinkerTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@
1111
* @category Horde
1212
* @package HordeInstallerPlugin
1313
* @subpackage UnitTests
14+
* @coversNothing
1415
*/
1516
class ConfigLinkerTest extends TestCase
1617
{
1718
private ConfigLinker $linker;
1819
private string $fixture;
1920
public function setUp(): void
2021
{
21-
$this->fixture = __DIR__. '/fixture/ConfigLinker';
22+
$this->fixture = __DIR__ . '/fixture/ConfigLinker';
2223
$this->linker = new ConfigLinker($this->fixture);
2324
}
2425

test/RecursiveCopyTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@
1111
* @category Horde
1212
* @package HordeInstallerPlugin
1313
* @subpackage UnitTests
14+
* @coversNothing
1415
*/
1516
class RecursiveCopyTest extends TestCase
1617
{
1718
private RecursiveCopy $copy;
1819
private string $fixture;
1920
public function setUp(): void
2021
{
21-
$this->fixture = __DIR__. '/fixture/RecursiveCopy';
22+
$this->fixture = __DIR__ . '/fixture/RecursiveCopy';
2223
$this->copy = new RecursiveCopy($this->fixture . '/source', $this->fixture . '/dest');
2324
}
2425

@@ -34,7 +35,5 @@ public function testCopyTree()
3435
$this->assertFileExists($this->fixture . '/dest/sub1/sub2/egal.txt');
3536
}
3637

37-
public function tearDown(): void
38-
{
39-
}
38+
public function tearDown(): void {}
4039
}

0 commit comments

Comments
 (0)