]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix "Creation of dynamic property FeatureContext::$parts is deprecated in WebDav...
authorJoas Schilling <coding@schilljs.com>
Fri, 27 Oct 2023 05:45:25 +0000 (07:45 +0200)
committerJoas Schilling <coding@schilljs.com>
Fri, 26 Jan 2024 12:53:30 +0000 (13:53 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
build/integration/features/bootstrap/WebDav.php

index b919976e790d316cd315ca7633f394c8caa7d4bc..a832e26ec18a64f1621272abd3128ae3af04c130 100644 (file)
@@ -54,6 +54,8 @@ trait WebDav {
        private array $parsedResponse = [];
        private string $s3MultipartDestination;
        private string $uploadId;
+       /** @var string[] */
+       private array $parts = [];
 
        /**
         * @Given /^using dav path "([^"]*)"$/
@@ -475,28 +477,28 @@ trait WebDav {
                        </d:prop>
                        <d:literal>image/png</d:literal>
                </d:eq>
-       
+
                <d:eq>
                        <d:prop>
                                <d:getcontenttype/>
                        </d:prop>
                        <d:literal>image/jpeg</d:literal>
                </d:eq>
-       
+
                <d:eq>
                        <d:prop>
                                <d:getcontenttype/>
                        </d:prop>
                        <d:literal>image/heic</d:literal>
                </d:eq>
-       
+
                <d:eq>
                        <d:prop>
                                <d:getcontenttype/>
                        </d:prop>
                        <d:literal>video/mp4</d:literal>
                </d:eq>
-       
+
                <d:eq>
                        <d:prop>
                                <d:getcontenttype/>