Skip to content

Commit b2bc785

Browse files
chore: make php-cs happy
Signed-off-by: Josh <[email protected]>
1 parent e476a22 commit b2bc785

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/lib/Files/Type/DetectionTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function testDetectMimeTypeCustom(string $ext, string $mime): void {
123123
try {
124124
// Create a default / shipped mapping file (dist)
125125
file_put_contents($tmpDir . '/mimetypemapping.dist.json', json_encode([]));
126-
126+
127127
// Create new custom mapping file that should be picked up by Detection
128128
file_put_contents($tmpDir . '/mimetypemapping.json', json_encode([$ext => [$mime]]));
129129

@@ -158,15 +158,15 @@ public function testDetectMimeTypePreservesLeadingZeroKeys(): void {
158158
// Create new custom mapping file with potentially problematic keys
159159
$mappings = [
160160
'001' => ['application/x-zeroone', null],
161-
'1' => ['application/x-one', null],
161+
'1' => ['application/x-one', null],
162162
];
163163
file_put_contents($tmpDir . '/mimetypemapping.json', json_encode($mappings));
164164

165165
/** @var IURLGenerator $urlGenerator */
166166
$urlGenerator = $this->getMockBuilder(IURLGenerator::class)
167167
->disableOriginalConstructor()
168168
->getMock();
169-
169+
170170
/** @var LoggerInterface $logger */
171171
$logger = $this->createMock(LoggerInterface::class);
172172

@@ -175,7 +175,7 @@ public function testDetectMimeTypePreservesLeadingZeroKeys(): void {
175175

176176
$this->assertArrayHasKey('001', $mappings, 'Expected mapping to contain key "001"');
177177
$this->assertArrayHasKey('1', $mappings, 'Expected mapping to contain key "1"');
178-
178+
179179
$this->assertEquals('application/x-zeroone', $detection->detectPath('foo.001'));
180180
$this->assertEquals('application/x-one', $detection->detectPath('foo.1'));
181181
} finally {

0 commit comments

Comments
 (0)