-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
[Php81] NullToStrictStringFuncCallArgRector - Register more function #2543
Conversation
Thanks for the feature. Could you keep just one? |
If keep just one, i think we can remove all fixture What is the added value of per-function fixture files? rector-src/rules/Php81/Rector/FuncCall/NullToStrictStringFuncCallArgRector.php Lines 42 to 49 in 992d1ef
In the future if somebody add `1) Rector\Tests\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector\NullToStrictStringFuncCallArgRectorTest::test with data set #165 (Symplify\SmartFileSystem\SmartFileInfo Object (...)) phar:///Users/trinhhung/Projects/rector-src/vendor/phpstan/phpstan/phpstan.phar/src/Reflection/ParametersAcceptorSelector.php:45 |
Please go for it 👍 The reason is tests should cover edge cases, e.g. one with position of 1, other with 0. Every other is just duplicate that makes them harder to read. |
…e 'non_string_param_type_2_*'
Thank you 👍 |
No description provided.