Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings when running on Laravel 9.x and PHP 8 #180

Open
Al-bambino opened this issue Aug 25, 2022 · 3 comments
Open

Warnings when running on Laravel 9.x and PHP 8 #180

Al-bambino opened this issue Aug 25, 2022 · 3 comments

Comments

@Al-bambino
Copy link

This is a warning that I get when I run php artisan while having this package:


PHP Warning:  "resource" is not a supported builtin type and will be interpreted as a class name. Write "\Safe\resource" or import the class with "use" to suppress this warning in /var/www/html/vendor/thecodingmachine/safe/generated/sockets.php on line 797
PHP Warning:  "integer" will be interpreted as a class name. Did you mean "int"? Write "\Safe\integer" or import the class with "use" to suppress this warning in /var/www/html/vendor/thecodingmachine/safe/generated/swoole.php on line 17

When I remove laravel-notification-channels/webpush the warnings stop.

It's caused by this package: web-token/jwt-util-ecc on version 2.x

@dennissvu
Copy link

+1

@MarioPerini
Copy link

Same issue here, updated to PHP 8.1 solved it for me.

@MarioPerini
Copy link

Issue comes back on php 8.1 by an update of laravel/framework to 9.49.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants