Skip to content
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

Require @internal annotation on Psalm\Internal symbols #7268

Merged
merged 3 commits into from Jan 3, 2022

Conversation

weirdan
Copy link
Collaborator

@weirdan weirdan commented Jan 3, 2022

Background: Roave/BackwardCompatibilityCheck#382

This PR adds a plugin that enforces that all classlikes under Psalm\Internal namespace are marked @internal. The plugin also acts as a fixer (when it's used with psalter).

@weirdan weirdan added the release:internal The PR will be included in 'Internal changes' section of the release notes label Jan 3, 2022
@weirdan weirdan added this to the Psalm 5 milestone Jan 3, 2022
@weirdan weirdan requested a review from orklah January 3, 2022 06:44
@weirdan weirdan merged commit e157a6e into vimeo:master Jan 3, 2022
@weirdan weirdan deleted the internal-is-internal branch January 3, 2022 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:internal The PR will be included in 'Internal changes' section of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants