rspec/rules/S2007/compliant.adoc

16 lines
211 B
Plaintext
Raw Normal View History

2020-06-30 12:48:07 +02:00
== Compliant Solution
2022-02-04 17:28:24 +01:00
[source,text]
2020-06-30 12:48:07 +02:00
----
<?php
class MyClass {
public static $name = "Bob"; // Compliant
public static function doSomething($arg) { // Compliant
//...
}
//...
}
2022-02-04 17:28:24 +01:00
----