PATH:
opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
PSR12
/
Tests
/
Classes
<?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 { }
[-] AnonClassDeclarationUnitTest.php
[edit]
[-] ClassInstantiationUnitTest.inc.fixed
[edit]
[-] AnonClassDeclarationUnitTest.inc
[edit]
[+]
..
[-] OpeningBraceSpaceUnitTest.php
[edit]
[-] ClassInstantiationUnitTest.php
[edit]
[-] AnonClassDeclarationUnitTest.inc.fixed
[edit]
[-] ClosingBraceUnitTest.php
[edit]
[-] OpeningBraceSpaceUnitTest.inc
[edit]
[-] ClassInstantiationUnitTest.inc
[edit]
[-] ClosingBraceUnitTest.inc
[edit]
[-] OpeningBraceSpaceUnitTest.inc.fixed
[edit]