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

Warning errors on PHP 8.1 #382

Closed
cortier opened this issue Aug 23, 2022 · 4 comments
Closed

Warning errors on PHP 8.1 #382

cortier opened this issue Aug 23, 2022 · 4 comments

Comments

@cortier
Copy link

cortier commented Aug 23, 2022

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 .../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 ../vendor/thecodingmachine/safe/generated/swoole.php on line 17
@Kharhamel
Copy link
Collaborator

this is probably linked to #380

@Kharhamel
Copy link
Collaborator

I don't see an "integer" type in swoole.php. Maybe this was fixed in previous MR. What version of safe do you use?

@fauzie
Copy link

fauzie commented Sep 6, 2022

I got this warning on v0.1.16
Installed this package as dependency from web-token/jwt-util-ecc

@Kharhamel
Copy link
Collaborator

Kharhamel commented Sep 21, 2022

If this comes from a package then I cannot do much. You should ask the package owner to update his projects dependencies

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