rspec/rules/S107/php/rule.adoc

37 lines
576 B
Plaintext
Raw Normal View History

2020-06-30 10:16:44 +02:00
include::../description.adoc[]
== Noncompliant Code Example
With a maximum number of 4 parameters:
2020-06-30 10:16:44 +02:00
----
function doSomething($param1, $param2, $param3, $param4, $param5) {
...
}
----
== Compliant Solution
----
function doSomething($param1, $param2, $param3, $param4) {
...
}
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
include::../parameters.adoc[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]