Fixed PHP 8.2 deprecation notices in CakeEvent class. (#43)

* Fixed PHP 8.2 deprecation notices in CakeEvent class.
This commit is contained in:
Kamil Wylegala 2023-06-02 23:18:08 +02:00 committed by GitHub
parent b5ebe993ad
commit de95041969
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View file

@ -55,6 +55,10 @@ It means that composer will look at `master` branch of repository configured und
## Changelog
### 2023-06-02
- Fixed PHP 8.2 deprecation notices in CakeEvent: `Creation of dynamic property ... is deprecated.`
### 2023-02-19
- Fixed PHP 8.1 MySQL test suite.

View file

@ -23,6 +23,30 @@
*/
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
*