Skip to content

Make all properties of OutputFormat as @internal and to be made private in 9.0 #881

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

Closed
oliverklee opened this issue Feb 6, 2025 · 1 comment · Fixed by #886
Closed
Assignees

Comments

@oliverklee
Copy link
Collaborator

No description provided.

@oliverklee oliverklee added this to the 8.8.0 milestone Feb 6, 2025
@JakeQZ
Copy link
Collaborator

JakeQZ commented Feb 6, 2025

I've seen @deprecated used for this:

https://github.com/doctrine/instantiator/blob/1.5.x/src/Doctrine/Instantiator/Instantiator.php#L32

    /**
     * ...
     *
     * @deprecated This constant will be private in 2.0
     */

Don't know which is best practice.

@oliverklee oliverklee self-assigned this Feb 9, 2025
oliverklee added a commit that referenced this issue Feb 9, 2025
This communicates clearly that the properties may be
removed, renamed or made `private` at any point, and that
they should not be accessed directly, but using the accessors
instead.

Also add a type annotation that was missing.

Fixes #881
@JakeQZ JakeQZ closed this as completed in f7914f8 Feb 9, 2025
oliverklee added a commit that referenced this issue Feb 9, 2025
This communicates clearly that the properties may be
removed, renamed or made `private` at any point, and that
they should not be accessed directly, but using the accessors
instead.

Also add a type annotation that was missing.

Fixes #881

This is the V8.x backport of #886.
JakeQZ pushed a commit that referenced this issue Feb 9, 2025
This communicates clearly that the properties may be
removed, renamed or made `private` at any point, and that
they should not be accessed directly, but using the accessors
instead.

Also add a type annotation that was missing.

Fixes #881

This is the V8.x backport of #886.
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

Successfully merging a pull request may close this issue.

2 participants