Test Setup Failed
Push — main ( 7bb2c5...c5b0e8 )
by Daniel
03:55
created
src/Component/Art/CachedArtResponseProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
             ->withHeader('Cache-Control', sprintf('public, max-age=%d', $this->config->getClientCacheMaxAge()))
66 66
             ->withHeader('Last-Modified', (string) $lastModified?->format(DATE_RFC7231))
67 67
             ->withHeader('Content-Type', $artContent['mimeType'])
68
-            ->withHeader('Content-Disposition', 'filename='.$filename)
68
+            ->withHeader('Content-Disposition', 'filename=' . $filename)
69 69
             ->withBody(
70 70
                 $this->psr17Factory->createStream($artContent['content'])
71 71
             );
Please login to merge, or discard this patch.
src/Component/SubSonic/ArtistListDataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
                 'id' => (string) $artistId,
50 50
                 'name' => (string) $artist->getTitle(),
51 51
                 'artistImageUrl' => '',
52
-                'coverArtId' => 'artist-'.$artistId,
52
+                'coverArtId' => 'artist-' . $artistId,
53 53
                 'albumCount' => $artist->getAlbumCount(),
54 54
                 'starred' => null,
55 55
             ];
Please login to merge, or discard this patch.
src/Component/SubSonic/AuthenticationProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         // use the provided salt to hash the token
37 37
         if (
38 38
             $accessKeyFromStorage === null ||
39
-            $token !== md5($accessKeyFromStorage.$salt)
39
+            $token !== md5($accessKeyFromStorage . $salt)
40 40
         ) {
41 41
             throw new AuthenticationFailedException();
42 42
         }
Please login to merge, or discard this patch.
src/Component/SubSonic/Services.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     LicenseDataProvider::class => autowire(),
17 17
     ArtistListDataProviderInterface::class => autowire(),
18 18
     AuthenticationProvider::class => autowire(),
19
-    HyperSonicInterface::class => function (ContainerInterface $c): HyperSonicInterface {
19
+    HyperSonicInterface::class => function(ContainerInterface $c): HyperSonicInterface {
20 20
         return HyperSonic::init(
21 21
             new FeatureSetFactory(),
22 22
             $c->get(AuthenticationProvider::class),
Please login to merge, or discard this patch.