Preview: OpeningBraceSpaceUnitTest.inc.fixed
Size: 423 B
/opt/cpanel/ea-wappspector/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Classes/OpeningBraceSpaceUnitTest.inc.fixed
<?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
{
}
Directory Contents
Dirs: 0 × Files: 11