Skip to content

PHP 8.2 deprecations #676

Closed
Closed
@davidbehler

Description

@davidbehler

Not sure what the right format for issues is. Let me know if you need more/different information.

What's the issue?
When using this package with PHP 8.2, I get the following E_DEPRECATED notices:

Creation of dynamic property WhichBrowser\Analyser\Header\Useragent::$data is deprecated
Creation of dynamic property WhichBrowser\Analyser\Header\Useragent::$options is deprecated

How can this be fixed?
It should be as easy as adding the $data and $options to the class definition. There might be other classes that need to be updated despite the WhichBrowser\Analyser\Header\Useragentone.

Do you want me to send a pull request or is an update for 8.2 already in the works?

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