Issue #3156887 by andypost, mondrake, ayushmishra206, alexpott, Ayesh,...
Issue #3156887 by andypost, mondrake, ayushmishra206, alexpott, Ayesh, longwave: \Drupal\system\Plugin\ImageToolkit\GDToolkit needs to support \GdImage objects for PHP 8 compatibility
@@ -428,8 +428,13 @@ public function testManipulations() {
/**
* Tests that GD resources are freed from memory.
*
* @todo Remove the method for PHP 8.0+ https://www.drupal.org/node/3179058
*/
publicfunctiontestResourceDestruction(){
if(PHP_VERSION_ID>=80000){
$this->markTestSkipped('In PHP8 resources are no longer used. \GdImage objects are used instead. These will be garbage collected like the regular objects they are.');
}
// Test that an Image object going out of scope releases its GD resource.