Function visibility
Running
➜ find . -name "*.php" | xargs -n 1 php8.2 -l | grep -v "No syntax errors detected"
Code scanner warnings:
PHP Warning: The magic method Civi\CiviMobileAPI\PushNotification\Utils\PushNotificationHelper::__wakeup() must have public visibility in
./civimobileapi/Civi/CiviMobileAPI/PushNotification/Utils/PushNotificationHelper.php on line 37
PHP Warning: The magic method Civi\CiviMobileAPI\PushNotification\Utils\ParticipantManager::__wakeup() must have public visibility in
./civimobileapi/Civi/CiviMobileAPI/PushNotification/Utils/ParticipantManager.php on line 55
PHP Warning: The magic method CRM_CiviMobileAPI_Utils_VersionController::__wakeup() must have public visibility in
./civimobileapi/CRM/CiviMobileAPI/Utils/VersionController.php on line 139