1
0
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:
Mikael Roos
2023-10-27 10:20:16 +02:00
parent 1056f0a5ee
commit b44be78f06
7 changed files with 23 additions and 4 deletions

View File

@@ -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
{

View File

@@ -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