File "ImportStatementUnitTest.inc.fixed"

Full Path: /home/warrior1/public_html/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/ImportStatementUnitTest.inc.fixed
File size: 570 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
use Vendor\Package\{ClassA as A, ClassB, ClassC as C};
use Vendor\Package\SomeNamespace\ClassD as D;
use /*comment*/ Vendor\Package\AnotherNamespace\ClassE as E;

use function Vendor\Package\{functionA, functionB, functionC};
use FUNCTION Another\Vendor\functionD;

use CONST Vendor\Package\{CONSTANT_A, CONSTANT_B, CONSTANT_C};
use const Another\Vendor\CONSTANT_D;

class ClassName3
{
    use \FirstTrait;
    use SecondTrait;
    use ThirdTrait;
}

$foo = function() use($bar) {};

enum SomeEnum
{
    use \FirstTrait;
    use SecondTrait;
    use ThirdTrait;
}