After ChessKid production server upgrade this Deprecated: Automatic conversion of false to array is deprecated warning came up in Sentry.
Autovivification on false is going to be deprecated, details about it can be found here https://wiki.php.net/rfc/autovivification_false
$_lastMove property is initially set as false on very top of the class and the implemented fix just checks is the property an array, in case it is not, it sets/creates an array.
After ChessKid production server upgrade this
Deprecated: Automatic conversion of false to array is deprecated
warning came up in Sentry. Autovivification on false is going to be deprecated, details about it can be found here https://wiki.php.net/rfc/autovivification_false$_lastMove
property is initially set asfalse
on very top of the class and the implemented fix just checks is the property an array, in case it is not, it sets/creates an array.