mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-19 14:21:35 +02:00
Fix deprecation notice on "Creation of dynamic property" for PHP 8.2.
This commit is contained in:
@@ -38,7 +38,7 @@ $config = array(
|
||||
|
||||
|
||||
// Version of cimage and img.php
|
||||
define("CIMAGE_VERSION", "v0.8.5 (2022-11-17)");
|
||||
define("CIMAGE_VERSION", "v0.8.6 (2023-10-27)");
|
||||
|
||||
// For CRemoteImage
|
||||
define("CIMAGE_USER_AGENT", "CImage/" . CIMAGE_VERSION);
|
||||
@@ -1143,6 +1143,7 @@ class CAsciiArt
|
||||
* @example http://dbwebb.se/opensource/cimage
|
||||
* @link https://github.com/mosbth/cimage
|
||||
*/
|
||||
#[AllowDynamicProperties]
|
||||
class CImage
|
||||
{
|
||||
|
||||
|
@@ -38,7 +38,7 @@ $config = array(
|
||||
|
||||
|
||||
// Version of cimage and img.php
|
||||
define("CIMAGE_VERSION", "v0.8.5 (2022-11-17)");
|
||||
define("CIMAGE_VERSION", "v0.8.6 (2023-10-27)");
|
||||
|
||||
// For CRemoteImage
|
||||
define("CIMAGE_USER_AGENT", "CImage/" . CIMAGE_VERSION);
|
||||
@@ -1143,6 +1143,7 @@ class CAsciiArt
|
||||
* @example http://dbwebb.se/opensource/cimage
|
||||
* @link https://github.com/mosbth/cimage
|
||||
*/
|
||||
#[AllowDynamicProperties]
|
||||
class CImage
|
||||
{
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user