diff --git a/src/Standards/PSR12/Docs/Files/FileHeaderStandard.xml b/src/Standards/PSR12/Docs/Files/FileHeaderStandard.xml new file mode 100644 index 0000000000..6caecb0c8d --- /dev/null +++ b/src/Standards/PSR12/Docs/Files/FileHeaderStandard.xml @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + +declare(strict_types=1); + +namespace Vendor\Package; +use Vendor\Package\{ClassA as A, ClassB}; + + +use function Vendor\Package\funcA; +// Blank line between the function imports. + +use function Another\Vendor\funcD; + +// Remainder of the code in the file. + ]]> + + + + + + + + use const Vendor\Package\{CONST_A, CONST_B}; +use const Another\Vendor\CONST_D; + +use function Vendor\Package\{funcA, funcB}; +use function Another\Vendor\funcD; + +// Remainder of the code in the file. + ]]> + + +