Changeset 60729 for trunk/tests/phpunit/tests/image/editorGd.php
- Timestamp:
- 09/11/2025 02:45:56 PM (4 months ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/image/editorGd.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/editorGd.php
r54401 r60729 555 555 556 556 $property = new ReflectionProperty( $gd_image_editor, 'image' ); 557 $property->setAccessible( true ); 557 if ( PHP_VERSION_ID < 80100 ) { 558 $property->setAccessible( true ); 559 } 558 560 559 561 $color_top_left = imagecolorat( $property->getValue( $gd_image_editor ), 0, 0 ); … … 574 576 575 577 $property = new ReflectionProperty( $gd_image_editor, 'image' ); 576 $property->setAccessible( true ); 578 if ( PHP_VERSION_ID < 80100 ) { 579 $property->setAccessible( true ); 580 } 577 581 578 582 $color_top_left = imagecolorat( $property->getValue( $gd_image_editor ), 0, 0 );
Note: See TracChangeset
for help on using the changeset viewer.