Page MenuHomeSealhub

decl-parens-hug-closing.lint-test
No OneTemporary

Authored By
Unknown
Size
898 B
Referenced Files
None
Subscribers
None

decl-parens-hug-closing.lint-test

<?php
function f($x) {}
function g($x ) {}
function &h($x) {}
function &i($x ) {}
final class X {
public function a($x) {}
public function b($x ) {}
final public static function &c($x) {}
final public static function &d($x ) {}
abstract private function e($x);
abstract private function f($x );
}
f(function($x) {});
f(function($x ) {});
f(function($x ) use ($z) {});
~~~~~~~~~~
warning:4:14
warning:7:15
error:9:13
warning:12:23
warning:15:37
warning:18:33
warning:23:14
warning:24:14
~~~~~~~~~~
<?php
function f($x) {}
function g($x) {}
function &h($x) {}
function &i($x) {}
final class X {
public function a($x) {}
public function b($x) {}
final public static function &c($x) {}
final public static function &d($x) {}
abstract private function e($x);
abstract private function f($x);
}
f(function($x) {});
f(function($x) {});
f(function($x) use ($z) {});

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 28, 02:15 (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1218444
Default Alt Text
decl-parens-hug-closing.lint-test (898 B)

Event Timeline