File "OpeningBraceSpaceUnitTest.inc"

Full Path: /home/warrior1/public_html/wp-content/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Classes/OpeningBraceSpaceUnitTest.inc
File size: 432 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
class Foo
{}

class Foo1
{
}

class Foo2
{

    public function foo()
    {
    }
}

interface Foo3
{


}

trait Foo4
{

}

class Foo5
{
    // Comment here
}

class Foo6
{



    public const X = 1;
}

$instance = new class extends \Foo implements \HandleableInterface {

    // Class content
};

$instance = new class extends \Foo implements \HandleableInterface {
    // Class content
};

enum Valid
{
}

enum Invalid
{

}