Skip to content

Connection::connect triggers deprecation when connect is called from protected scope #6442

Open
@ghost

Description

Bug Report

Q A
Version 3.8

Summary

Class Connection is not final and method connect() is public in 3.8 and protected in 4.0.
I extend Connection class and call parent::connect(). This will still be a valid call in 4.0.
Right now I have my logs flooded with the message User Deprecated: Public access to Connection::connect() is deprecated..

Current behaviour

How to reproduce

Expected behaviour

Do not trigger deprecation when called from protected scope.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions