Skip to content

PHP 8.4 Support: Deprecations #397

@shehi

Description

@shehi

Following deprecation warnings popped up during package:discover operation in a Laravel project:

[2025-01-04 20:19:26] local.WARNING: Pusher\Pusher::__construct(): Implicitly marking parameter $client as nullable is deprecated, the explicit nullable type must be used instead in /var/www/vendor/pusher/pusher-php-server/src/Pusher.php on line 63  
[2025-01-04 20:19:26] local.WARNING: Pusher\Pusher::build_auth_query_params(): Implicitly marking parameter $auth_timestamp as nullable is deprecated, the explicit nullable type must be used instead in /var/www/vendor/pusher/pusher-php-server/src/Pusher.php on line 283  
[2025-01-04 20:19:26] local.WARNING: Pusher\Pusher::authorizeChannel(): Implicitly marking parameter $custom_data as nullable is deprecated, the explicit nullable type must be used instead in /var/www/vendor/pusher/pusher-php-server/src/Pusher.php on line 887  
[2025-01-04 20:19:26] local.WARNING: Pusher\Pusher::socketAuth(): Implicitly marking parameter $custom_data as nullable is deprecated, the explicit nullable type must be used instead in /var/www/vendor/pusher/pusher-php-server/src/Pusher.php on line 952  
[2025-01-04 20:19:26] local.WARNING: Pusher\Pusher::socket_auth(): Implicitly marking parameter $custom_data as nullable is deprecated, the explicit nullable type must be used instead in /var/www/vendor/pusher/pusher-php-server/src/Pusher.php on line 960  
[2025-01-04 20:19:26] local.WARNING: Pusher\PusherInterface::socketAuth(): Implicitly marking parameter $custom_data as nullable is deprecated, the explicit nullable type must be used instead in /var/www/vendor/pusher/pusher-php-server/src/PusherInterface.php on line 133  
[2025-01-04 20:19:26] local.WARNING: Pusher\PusherInterface::socket_auth(): Implicitly marking parameter $custom_data as nullable is deprecated, the explicit nullable type must be used instead in /var/www/vendor/pusher/pusher-php-server/src/PusherInterface.php on line 232 

Fully compliant PHP 8.4 release would be great! Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions