Skip to content

Conversation

@paulbalandan
Copy link
Member

Description
Import them in use statements.

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@paulbalandan paulbalandan added the refactor Pull requests that refactor code label Apr 13, 2025
@paulbalandan paulbalandan merged commit 50b3f57 into codeigniter4:develop Apr 13, 2025
49 checks passed
@paulbalandan paulbalandan deleted the import-symbols branch April 13, 2025 17:21
@neznaika0
Copy link
Contributor

The import is regulated by the cs rules. It seems they intentionally allow FQCN in the code.

@paulbalandan
Copy link
Member Author

This is caused by the import_symbols option of fully_qualified_strict_types rule to be set to false. That was a new option though so that's why is not reflected here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Pull requests that refactor code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants