function GdToolkitGifImageManipulationTest::providerOperationTestCases
Data provider for ::testManipulations().
Overrides GdToolkitImageManipulationTestBase::providerOperationTestCases
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Image/ GdToolkitGifImageManipulationTest.php, line 30
Class
- GdToolkitGifImageManipulationTest
- GD image toolkit image manipulation of GIF images.
Namespace
Drupal\KernelTests\Core\ImageCode
public static function providerOperationTestCases() : array {
$ret = parent::providerOperationTestCases();
if (PHP_VERSION_ID >= 80500 && array_key_exists('rotate_transparent_5', $ret)) {
$ret['rotate_transparent_5'][3]['corners'][0] = [
255,
93,
0,
46,
];
}
return $ret;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.