Skip to content

Config static calls on non-static methods. #1

@dasper

Description

@dasper

Config class is being called statically when the methods are not static and have no default configurations.

In PHP 7, calling non-static methods statically is deprecated, and will generate an E_DEPRECATED warning. Support for calling non-static methods statically may be removed in the future.

Also, I am not sure if Config should be configured to be called statically since you need to supply values for the configuration so not many, if any, would be out of object context. I can work on a pull request but I am unsure of the direction you are wanting to take with the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions