mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-04 23:27:43 +02:00
Fix deprecation notice on "Creation of dynamic property" for PHP 8.2.
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
* @example http://dbwebb.se/opensource/cimage
|
* @example http://dbwebb.se/opensource/cimage
|
||||||
* @link https://github.com/mosbth/cimage
|
* @link https://github.com/mosbth/cimage
|
||||||
*/
|
*/
|
||||||
|
#[AllowDynamicProperties]
|
||||||
class CImage
|
class CImage
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@@ -6,6 +6,13 @@ Revision history
|
|||||||
[](https://scrutinizer-ci.com/g/mosbth/cimage/build-status/master)
|
[](https://scrutinizer-ci.com/g/mosbth/cimage/build-status/master)
|
||||||
--->
|
--->
|
||||||
|
|
||||||
|
v0.8.6 (2023-10-27)
|
||||||
|
-------------------------------------
|
||||||
|
|
||||||
|
* Fix deprecation notice on "Creation of dynamic property" for PHP 8.2.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
v0.8.5 (2022-11-17)
|
v0.8.5 (2022-11-17)
|
||||||
-------------------------------------
|
-------------------------------------
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
// Version of cimage and img.php
|
// 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
|
// For CRemoteImage
|
||||||
define("CIMAGE_USER_AGENT", "CImage/" . CIMAGE_VERSION);
|
define("CIMAGE_USER_AGENT", "CImage/" . CIMAGE_VERSION);
|
||||||
|
@@ -15,6 +15,15 @@ services:
|
|||||||
- "8090:80"
|
- "8090:80"
|
||||||
volumes: [ ".:/home/anax/repo" ]
|
volumes: [ ".:/home/anax/repo" ]
|
||||||
|
|
||||||
|
php82:
|
||||||
|
image: anax/dev:php82
|
||||||
|
volumes: [ ".:/home/anax/repo" ]
|
||||||
|
|
||||||
|
php82-apache:
|
||||||
|
image: anax/dev:php82-apache
|
||||||
|
ports: [ "11082:80" ]
|
||||||
|
volumes: [ ".:/home/anax/repo" ]
|
||||||
|
|
||||||
php81:
|
php81:
|
||||||
image: anax/dev:php81
|
image: anax/dev:php81
|
||||||
volumes: [ ".:/home/anax/repo" ]
|
volumes: [ ".:/home/anax/repo" ]
|
||||||
|
@@ -38,7 +38,7 @@ $config = array(
|
|||||||
|
|
||||||
|
|
||||||
// Version of cimage and img.php
|
// 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
|
// For CRemoteImage
|
||||||
define("CIMAGE_USER_AGENT", "CImage/" . CIMAGE_VERSION);
|
define("CIMAGE_USER_AGENT", "CImage/" . CIMAGE_VERSION);
|
||||||
@@ -1143,6 +1143,7 @@ class CAsciiArt
|
|||||||
* @example http://dbwebb.se/opensource/cimage
|
* @example http://dbwebb.se/opensource/cimage
|
||||||
* @link https://github.com/mosbth/cimage
|
* @link https://github.com/mosbth/cimage
|
||||||
*/
|
*/
|
||||||
|
#[AllowDynamicProperties]
|
||||||
class CImage
|
class CImage
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@@ -38,7 +38,7 @@ $config = array(
|
|||||||
|
|
||||||
|
|
||||||
// Version of cimage and img.php
|
// 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
|
// For CRemoteImage
|
||||||
define("CIMAGE_USER_AGENT", "CImage/" . CIMAGE_VERSION);
|
define("CIMAGE_USER_AGENT", "CImage/" . CIMAGE_VERSION);
|
||||||
@@ -1143,6 +1143,7 @@ class CAsciiArt
|
|||||||
* @example http://dbwebb.se/opensource/cimage
|
* @example http://dbwebb.se/opensource/cimage
|
||||||
* @link https://github.com/mosbth/cimage
|
* @link https://github.com/mosbth/cimage
|
||||||
*/
|
*/
|
||||||
|
#[AllowDynamicProperties]
|
||||||
class CImage
|
class CImage
|
||||||
{
|
{
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user