File tree Expand file tree Collapse file tree 3 files changed +0
-5
lines changed
Expand file tree Collapse file tree 3 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -1137,9 +1137,6 @@ public function resizeCopy(int $maxSize): IImage {
11371137 * Destroys the current image and resets the object
11381138 */
11391139 public function destroy (): void {
1140- if ($ this ->valid ()) {
1141- imagedestroy ($ this ->resource );
1142- }
11431140 $ this ->resource = false ;
11441141 }
11451142
Original file line number Diff line number Diff line change @@ -117,7 +117,6 @@ public function testObjectStoreMultiBucket(): void {
117117
118118 $ class = new \ReflectionClass ($ storage );
119119 $ prop = $ class ->getProperty ('objectStore ' );
120- $ prop ->setAccessible (true );
121120 /** @var S3 $objectStore */
122121 $ objectStore = $ prop ->getValue ($ storage );
123122 $ this ->assertEquals ('nextcloud0 ' , $ objectStore ->getBucket ());
Original file line number Diff line number Diff line change @@ -1539,7 +1539,6 @@ public static function hookPathProvider(): array {
15391539 public function testHookPaths ($ root , $ path , $ shouldEmit ): void {
15401540 $ filesystemReflection = new \ReflectionClass (Filesystem::class);
15411541 $ defaultRootValue = $ filesystemReflection ->getProperty ('defaultInstance ' );
1542- $ defaultRootValue ->setAccessible (true );
15431542 $ oldRoot = $ defaultRootValue ->getValue ();
15441543 $ defaultView = new View ('/foo/files ' );
15451544 $ defaultRootValue ->setValue (null , $ defaultView );
You can’t perform that action at this time.
0 commit comments