Changeset 60729 for trunk/tests/phpunit/tests/image/editorImagick.php
- Timestamp:
- 09/11/2025 02:45:56 PM (5 months ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/image/editorImagick.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/editorImagick.php
r60667 r60729 441 441 442 442 $property = new ReflectionProperty( $imagick_image_editor, 'image' ); 443 $property->setAccessible( true ); 443 if ( PHP_VERSION_ID < 80100 ) { 444 $property->setAccessible( true ); 445 } 444 446 445 447 $color_top_left = $property->getValue( $imagick_image_editor )->getImagePixelColor( 0, 0 )->getColor(); … … 460 462 461 463 $property = new ReflectionProperty( $imagick_image_editor, 'image' ); 462 $property->setAccessible( true ); 464 if ( PHP_VERSION_ID < 80100 ) { 465 $property->setAccessible( true ); 466 } 463 467 464 468 $color_top_left = $property->getValue( $imagick_image_editor )->getImagePixelColor( 0, 0 )->getColor();
Note: See TracChangeset
for help on using the changeset viewer.