Commit 2a5fc73
committed
fix: resolve PHP deprecation of
> Prior to PHP 8.0.0, imagedestroy() freed any memory associated with the image resource.
> As of 8.0.0, the GD extension uses objects instead of resources, and objects cannot be explicitly closed.
With PHP 8.5 this is deprecated and causes a deprecation warning!
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>imagedestroy
1 parent 2b7415e commit 2a5fc73
2 files changed
Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
269 | 268 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | 269 | | |
275 | 270 | | |
276 | 271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
512 | 511 | | |
513 | 512 | | |
514 | 513 | | |
| |||
926 | 925 | | |
927 | 926 | | |
928 | 927 | | |
929 | | - | |
930 | 928 | | |
931 | 929 | | |
932 | 930 | | |
| |||
988 | 986 | | |
989 | 987 | | |
990 | 988 | | |
991 | | - | |
992 | 989 | | |
993 | 990 | | |
994 | 991 | | |
| |||
1009 | 1006 | | |
1010 | 1007 | | |
1011 | 1008 | | |
1012 | | - | |
1013 | 1009 | | |
1014 | 1010 | | |
1015 | 1011 | | |
| |||
0 commit comments