Skip to content

Commit 7f48435

Browse files
committed
Fix indentation
1 parent b396416 commit 7f48435

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"source": "https://github.com/madmatt/silverstripe-encrypt-at-rest"
1717
},
1818
"require": {
19-
"php": "^8.0",
19+
"php": "^8.0",
2020
"silverstripe/framework": "^4.9.0",
2121
"defuse/php-encryption": "^2.2"
2222
},

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</exclude>
1010
</coverage>
1111
<php>
12-
<!-- An example key for testing purposes, created with vendor/bin/generate-defuse-key -->
12+
<!-- An example key for testing purposes, created with vendor/bin/generate-defuse-key -->
1313
<env name="ENCRYPT_AT_REST_KEY" value="def000001ae7b3baf85422b623b0c0236d5c5c389049b4a277a413a2481fd4ebbc153cdf3c52bd3f97e599ca5094e04e52c3cebbab039d7514fa2e449794fdd1217c0ce9" />
1414
</php>
1515
<testsuite name="silverstripe-encrypt-at-rest">

tests/AtRestCryptoServiceTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ public function testEncryptFile($filename, $contents, $visibility)
7474
? $assetStore->getProtectedFilesystem()->getAdapter()
7575
: $assetStore->getPublicFilesystem()->getAdapter();
7676

77-
// Check for existence of $adaptor->prefixPath() showing we are using SS5.0+
78-
$prefixPath = 'applyPathPrefix';
79-
if (method_exists($adapter, 'prefixPath')) {
80-
$prefixPath = 'prefixPath';
81-
}
77+
// Check for existence of $adaptor->prefixPath() showing we are using SS5.0+
78+
$prefixPath = 'applyPathPrefix';
79+
if (method_exists($adapter, 'prefixPath')) {
80+
$prefixPath = 'prefixPath';
81+
}
8282

8383
$file = File::create();
8484
$file->setFromString($originalText, $originalFilename);

0 commit comments

Comments
 (0)