Skip to content

Replace 'visibility_required' with 'modifier_keywords' - #32

Open
ColonelMoutarde wants to merge 2 commits into
BedrockStreaming:masterfrom
ColonelMoutarde:patch-1
Open

ColonelMoutarde wants to merge 2 commits into
BedrockStreaming:masterfrom
ColonelMoutarde:patch-1

Conversation

@ColonelMoutarde

Copy link
Copy Markdown

This rule is deprecated and will be removed in the next major version

You should use modifier_keywords instead.
https://cs.symfony.com/doc/rules/class_notation/visibility_required.html

@ColonelMoutarde
ColonelMoutarde requested a review from a team as a code owner December 1, 2025 07:55

@e-zannelli e-zannelli left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Shouldn't we depend on php-cs-fixer ^3.88 then?

Comment thread src/BedrockStreaming.php Outdated
Comment thread src/BedrockStreaming.php Outdated
@FloFrad

FloFrad commented Mar 30, 2026

Copy link
Copy Markdown
Member

Shouldn't we depend on php-cs-fixer ^3.88 then?

@ColonelMoutarde Could you take this comment into account, and I think everything should be ok after that 👍

Comment thread src/BedrockStreaming.php Outdated
Replace 'visibility_required' with 'modifier_keywords'
This rule is deprecated and will be removed in the next major version
You should use modifier_keywords instead.
https://cs.symfony.com/doc/rules/class_notation/visibility_required.html
@ColonelMoutarde

Copy link
Copy Markdown
Author

up

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 this pull request may close these issues.

4 participants