-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
CS: fully_qualified_strict_types - import_symbols #53244
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
failures look related to me
this PR serves a purpose to demonstrate "how the codebase would look alike if we would incorporate another Fixer rule", as one of members suggested to get it enabled. Before investing any time into failure of this PR, I would like to get confirmation we want to go this path and enable the rule. Diff is massive and I do not want to invest time into investigation, if final conclusion would be that "we do not want this rule to be enabled". What's your take on the rule itself? |
importing the classes looks indeed like what we want to have in the codebase |
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
Outdated
Show resolved
Hide resolved
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
Outdated
Show resolved
Hide resolved
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
Outdated
Show resolved
Hide resolved
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
Outdated
Show resolved
Hide resolved
I take the eagerness to use the rule. I will covert PR to draft as it is not in merge-ready state. |
Related to PHP-CS-Fixer/PHP-CS-Fixer#7629 - this PR probably could prepare a Symfony codebase for that. |
@@ -132,7 +133,7 @@ public function __construct(array $options, \Redis|Relay|\RedisCluster|null $red | |||
if ($address = $sentinel->getMasterAddrByName($sentinelMaster)) { | |||
[$host, $port] = $address; | |||
} | |||
} catch (\RedisException|\Relay\Exception $redisException) { | |||
} catch (\RedisException|RelayException $redisException) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like Psalm cannot handle this, should I bother by that and stop the PR or continue with it?
cc @xabbuh
also, reported here: vimeo/psalm#10840
Please let me close this one. |
suggested in https://github.com/symfony/symfony/pull/53233/files#r1437244439