mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixed PHP 8.2 deprecation notices in CakeEvent class. (#43)
* Fixed PHP 8.2 deprecation notices in CakeEvent class.
This commit is contained in:
parent
b5ebe993ad
commit
de95041969
2 changed files with 28 additions and 0 deletions
|
@ -55,6 +55,10 @@ It means that composer will look at `master` branch of repository configured und
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
### 2023-06-02
|
||||||
|
|
||||||
|
- Fixed PHP 8.2 deprecation notices in CakeEvent: `Creation of dynamic property ... is deprecated.`
|
||||||
|
|
||||||
### 2023-02-19
|
### 2023-02-19
|
||||||
|
|
||||||
- Fixed PHP 8.1 MySQL test suite.
|
- Fixed PHP 8.1 MySQL test suite.
|
||||||
|
|
|
@ -23,6 +23,30 @@
|
||||||
*/
|
*/
|
||||||
class CakeEvent {
|
class CakeEvent {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PHP 8.2 deprecation notice: added to avoid `Creation of dynamic property ... is deprecated.`
|
||||||
|
* @var mixed|true
|
||||||
|
*/
|
||||||
|
public mixed $break;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PHP 8.2 deprecation notice: added to avoid `Creation of dynamic property ... is deprecated.`
|
||||||
|
* @var mixed|true
|
||||||
|
*/
|
||||||
|
public mixed $modParams;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PHP 8.2 deprecation notice: added to avoid `Creation of dynamic property ... is deprecated.`
|
||||||
|
* @var array|mixed
|
||||||
|
*/
|
||||||
|
public mixed $breakOn;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PHP 8.2 deprecation notice: added to avoid `Creation of dynamic property ... is deprecated.`
|
||||||
|
* @var array|mixed
|
||||||
|
*/
|
||||||
|
public mixed $omitSubject;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Name of the event
|
* Name of the event
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue