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
{{ message }}
Repository navigation
Commit 7e13bfb
Browse filesBrowse the repository at this point in the historyBrowse files
[CodeQuality] Flip void-method with(callback) to willReturnCallback, rename rule (#724)
* [CodeQuality] Rename and refocus rule to flip void-method with(callback) to willReturnCallback
* Type flipped callback as void, matching the mocked void method
* Also handle plain willReturnCallback closures on void methods, not only with(callback)
* Handle only with(callback) form; leave plain willReturnCallback untouched
Copy file name to clipboardExpand all lines: rules-tests/CodeQuality/Rector/Class_/RemoveReturnFromVoidMethodMockCallbackRector/Fixture/return_throw_and_null.php.inc
Copy file name to clipboardExpand all lines: rules-tests/CodeQuality/Rector/Class_/RemoveReturnFromVoidMethodMockCallbackRector/Fixture/will_return_callback_void.php.inc
Copy file name to clipboardExpand all lines: rules-tests/CodeQuality/Rector/Class_/RemoveReturnFromVoidMethodMockCallbackRector/config/configured_rule.php
Copy file name to clipboardExpand all lines: rules-tests/CodeQuality/Rector/Class_/VoidMethodWithCallbackToWillReturnCallbackRector/Fixture/skip_already_void.php.inc
Copy file name to clipboardExpand all lines: rules-tests/CodeQuality/Rector/Class_/VoidMethodWithCallbackToWillReturnCallbackRector/Fixture/skip_non_void_method.php.inc
Copy file name to clipboardExpand all lines: rules-tests/CodeQuality/Rector/Class_/VoidMethodWithCallbackToWillReturnCallbackRector/Fixture/with_callback_void_setup.php.inc
Copy file name to clipboardExpand all lines: rules-tests/CodeQuality/Rector/Class_/VoidMethodWithCallbackToWillReturnCallbackRector/Source/SomeEntityManager.php
0 commit comments