File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,10 @@ public function open($path)
6666 if ($ loader ->isLocalFile ()) {
6767 if (DIRECTORY_SEPARATOR === '\\' && PHP_INT_SIZE === 8 && defined ('PHP_VERSION_ID ' ) && PHP_VERSION_ID >= 70100 && PHP_VERSION_ID < 70200 ) {
6868 // Passing the file name to the Imagick constructor may break PHP 7.1 64 bit on Windows - see https://github.com/mkoppanen/imagick/issues/252
69- $ imagick = new \Imagick ($ loader ->getPath ());
70- } else {
7169 $ imagick = new \Imagick ();
7270 $ imagick ->readImageBlob ($ loader ->getData (), $ path );
71+ } else {
72+ $ imagick = new \Imagick ($ path );
7373 }
7474 } else {
7575 $ imagick = new \Imagick ();
Original file line number Diff line number Diff line change @@ -182,9 +182,6 @@ public function testLayerArrayAccessOutOfBoundsExceptions($offset)
182182 $ layers [$ offset ] = $ secondImage ;
183183 }
184184
185- /**
186- * @doesNotPerformAssertions
187- */
188185 public function testAnimateEmpty ()
189186 {
190187 try {
@@ -209,7 +206,6 @@ public function testAnimateEmpty()
209206
210207 /**
211208 * @dataProvider provideAnimationParameters
212- * @doesNotPerformAssertions
213209 *
214210 * @param mixed $delay
215211 * @param mixed $loops
You can’t perform that action at this time.
0 commit comments