Page MenuHomePhorge

class-name-literal.lint-test
No OneTemporary

class-name-literal.lint-test

<?php
class MyClass {
public function someMethod() {
return 'MyClass';
}
public function someOtherMethod() {
$x = 'MyClass is awesome';
$y = 'MyClassIsAwesome';
return __CLASS__;
}
}
~~~~~~~~~~
error:2:7
advice:4:12
advice:8:10
~~~~~~~~~~
<?php
class MyClass {
public function someMethod() {
return __CLASS__;
}
public function someOtherMethod() {
$x = 'MyClass is awesome';
$y = 'MyClassIsAwesome';
return __CLASS__;
}
}

File Metadata

Mime Type
text/x-php
Expires
Thu, Mar 27, 01:40 (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1204246
Default Alt Text
class-name-literal.lint-test (472 B)

Event Timeline