-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
With configuration ['import_classes' => false, 'import_constants' => false, 'import_functions' => false]: https://cs.symfony.com/doc/rules/import/global_namespace_import.html#example-3
Main benefit for me would be exceptions, as it is a directly clear that a docblock like
/**
* @throws Exception
*/refers to \OCP\DB\Exception and not \Exception.
It would also safe some lines in the imports making them a bit more readable.
We could also switch it around, but I think we should settle on some configuration for this rule to have it the same everywhere.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request