Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Feature: constant visibility #170

Merged
merged 1 commit into from
Oct 5, 2019
Merged

Feature: constant visibility #170

merged 1 commit into from
Oct 5, 2019

Conversation

michalbundyra
Copy link
Member

As we support already only PHP 7.1+ we can define visibility for constants.

Added tests and updated current tests.
Default visibility is public.

As we support already only PHP 7.1+ we can define visibility for constants.
@michalbundyra
Copy link
Member Author

@Ocramius will you consider this PR as BC break?

Copy link
Member

@weierophinney weierophinney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Considering that the only versions of PHP this library supports also support constant visibility, and that the default when no visibility is provided is public, this seems like a BC-safe feature addition.

@michalbundyra michalbundyra added this to the 3.4.0 milestone Aug 28, 2019
@michalbundyra
Copy link
Member Author

@Ocramius can I have also your review and opinion, please?

Copy link
Member

@froschdesign froschdesign left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@Ocramius Ocramius self-assigned this Oct 5, 2019
@Ocramius Ocramius merged commit a589c72 into zendframework:develop Oct 5, 2019
michalbundyra added a commit that referenced this pull request Oct 5, 2019
michalbundyra added a commit that referenced this pull request Oct 5, 2019
@michalbundyra michalbundyra deleted the feature/constant-visibility branch October 5, 2019 22:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants