You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The php_unit_method_casing is renaming private methods.
Unless this rule is going to refactor the calls to the methods it renames, it should only apply to public methods (actual test cases in PHPUnit). Any other method visibility should not have it's name changed.
Steps To Reproduce
Create a private method using camelCase in your test cases
Run pint
The text was updated successfully, but these errors were encountered:
Pint Version
1.21.0
PHP Version
8.2.4
Description
The
php_unit_method_casing
is renamingprivate
methods.Unless this rule is going to refactor the calls to the methods it renames, it should only apply to
public
methods (actual test cases in PHPUnit). Any other method visibility should not have it's name changed.Steps To Reproduce
private
method using camelCase in your test casespint
The text was updated successfully, but these errors were encountered: