Sid Gifari From Gifari Industries - BD Cyber Security Team
Home
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
tests
/
Core
/
Tokenizers
/
PHP
/
✏️
Editing: AnonClassParenthesisOwnerTest.inc
<?php /* testNoParentheses */ $anonClass = new class { function __construct() {} }; /* testReadonlyNoParentheses */ $anonClass = new readonly class { function __construct() {} }; /* testNoParenthesesAndEmptyTokens */ $anonClass = new class // phpcs:ignore Standard.Cat { function __construct() {} }; /* testWithParentheses */ $anonClass = new class() {}; /* testReadonlyWithParentheses */ $anonClass = new readonly class() { function __construct() {} }; /* testWithParenthesesAndEmptyTokens */ $anonClass = new class /*comment */ () {};
💾 Save
❌ Cancel