1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 13:51:54 +01:00

Rule: Requires only one namespace in a file.

This commit is contained in:
rarila 2021-12-15 04:46:39 +01:00
parent 7df7c1f070
commit 5785a1e4fa

View File

@ -88,6 +88,12 @@
<exclude name="SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing"/> <exclude name="SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing"/>
</rule> </rule>
<!--
Requires only one namespace in a file.
https://github.com/slevomat/coding-standard#slevomatcodingstandardnamespacesrequireonenamespaceinfile
-->
<rule ref="SlevomatCodingStandard.Namespaces.RequireOneNamespaceInFile"/>
<!-- <!--
Handle imports from namespaces. Handle imports from namespaces.
https://github.com/slevomat/coding-standard#slevomatcodingstandardnamespacesreferenceusednamesonly- https://github.com/slevomat/coding-standard#slevomatcodingstandardnamespacesreferenceusednamesonly-